diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/botocore/botocore-1.42.43.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 906d77215d33..ef1a840902d0 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -7,3 +7,4 @@ DIST botocore-1.42.39.gh.tar.gz 15795159 BLAKE2B 3485a55d4fabb1b7431035d9d22e5e1 DIST botocore-1.42.40.gh.tar.gz 15796244 BLAKE2B 9ccfe4e71b26d6f8696ec6a27bc7dcc668e5c4bc232d42cf72c814edba1076d88f46b16fcc1735b6784343cd598d920d88bfd4f68b9fa97d7366364f8b1bb77e SHA512 c90ef78777d9ca610340e24af6e56a5f1d1660707a4fc80c9ca557df39613942c3ef548d4477f5f4e4d3c5f7b9f68efdbce7d73cfe667bbe705fa7b5a64cab25 DIST botocore-1.42.41.gh.tar.gz 15803963 BLAKE2B 3b34f515acaf1bb1445f975a6f71c7c482b784cf801abecfcb8c621d65fa2ad2f88d2a10cfdb07d3a032e539e5e349d9dbea72fb087cdc07fe8beffe33725350 SHA512 9f9b7a68b2bee537652fe026a5903e67fed40b5ecaf9038bfca2d8fbb5d5359e8c962eeddab4a9c5fd9f3361342751b63cabb7b56e9013ca054691d689ce8bbc DIST botocore-1.42.42.gh.tar.gz 15806216 BLAKE2B 4cd696276acb5e2d340ab9b8c6c3bc8b7c620fe0e6c3a6c1198bf39b2e57b285ffd2ecb39559b47bf7922e4a8a3f6bd308f64606adfb341172d941ee06864aa1 SHA512 c8201c4eb4559adccf4863449c032cc9a882c9464fbbd68121bcdf555ba84cff6396cfae4422a3f4584fa0d7de465c704707be871b3359c8b370c21a9ebc90fc +DIST botocore-1.42.43.gh.tar.gz 15818434 BLAKE2B 386b4bdff2a7b7595dfa71dad6cef183ce0628df8e82af28d1b307b4f07ec1820d5aca46974d51dd4c440a74d26902e7ea473ea8fa6e66a8c641e322ccc654aa SHA512 dd4ba485047d751cc55c1e446805e63b997c217f96e7111c3c98f40979625665d21a70947357b7bf215a8c8e957971f55fccd8cb2359e96504fd3655561b469d diff --git a/dev-python/botocore/botocore-1.42.43.ebuild b/dev-python/botocore/botocore-1.42.43.ebuild new file mode 100644 index 000000000000..d43f8b5c5f23 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.43.ebuild @@ -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} +} |
