mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
dev-python/botocore: Bump to 1.42.63
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -7,3 +7,4 @@ DIST botocore-1.42.59.gh.tar.gz 15839997 BLAKE2B 6adafebe89e98b9a609d93cba72dcde
|
||||
DIST botocore-1.42.60.gh.tar.gz 15840569 BLAKE2B d7fc6631be4348e6d9a7153a7da63fc975082157f3a3dad8ed9668b18f3f18801f7cead6bd3c7bb9f43416672cb987d04f60a8258c0cdbb0c9ceca8a7c0680a6 SHA512 9f1ee9651615d986dd7066586853e51bf1ffb052e7e1a517834788fbfd86c8d608a348387977508cab055dbd37eb61f41959c427e7c60c14f6a9d02b8d9c1c99
|
||||
DIST botocore-1.42.61.gh.tar.gz 15849256 BLAKE2B 12813db9207aa595f4dbfeb30e33a4d8e441f5892f65e45e2d85452afd54db388f4433f6f8fb9e7c0ce541915736e80fedcd942626b2f08589c58a4761e6b021 SHA512 38d2253c5b50cf3cf6233b343df0d26bc126ae80261794415b84e80faaa828f4af5a5edf6e95541212269eb84df3bb9735daa8abae2ed95906ba8e0bf7df0e1a
|
||||
DIST botocore-1.42.62.gh.tar.gz 15859923 BLAKE2B 60c9807e446b3c15459b867d6e9f7833bed06dcf1f28a6907ec9be0743c05a6c705a42a47958b5d3cd6bd828c4606b754b8f4f2d93e94bd1303766e4d343439b SHA512 9cb9d26757845f48522cbed503ad0b65dc105857dbab06d01bca920bed118dc702b73a27c32a59345a1ee7bec8c18b04605bbb4dbc776aa90ddb64800e0142f2
|
||||
DIST botocore-1.42.63.gh.tar.gz 15861570 BLAKE2B 92bc6efde4e08c3c5f4ce1d910e2e2daeaa7e7e8403518c54e9cde3de5f5ce62a2836dc78c448da93098f900f97f8ebf5940a6df62be9cfee79c2747b3b07b5d SHA512 3e713bd24a6d752f8af7486bd235099f0313a6b6511123e8f111253742c60e6ac75a1bd0b525c898e0998e501536536dddeae04621425181a042771f0205ac2a
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="
|
||||
https://github.com/boto/botocore/
|
||||
https://pypi.org/project/botocore/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/boto/botocore/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
# unbundled packages
|
||||
RDEPEND+="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
|
||||
# unbundle deps
|
||||
rm -r botocore/vendored || die
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# rely on bundled six
|
||||
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||
)
|
||||
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
Reference in New Issue
Block a user