diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index aa5ac27665e74..1ce1f2cca36cd 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -7,3 +7,4 @@ DIST botocore-1.43.41.gh.tar.gz 16629580 BLAKE2B d8e01dbfbf2e3e890b44b9197e19595 DIST botocore-1.43.42.gh.tar.gz 16663349 BLAKE2B b215c60797e01bb32523b075d1aa15f5ceab48791eb6271092583b206c4a59451b6cdc4a214c97b564010090688f2c8032766fcbb97b5380e32b1d41ba3cc962 SHA512 18d159d62999946ef957ece6f44e44108296efe933f25e3295b9f9a2be8b8891e740ddb8fbac21a9a2808777d3a71426b48977e85e45e53c30c116b64eced49c DIST botocore-1.43.44.gh.tar.gz 16672858 BLAKE2B de2dc295be6016486eb2afece5708e5e7b5cbde68f89bc6d24de4f129406d029852c3864ec215a69a7c279c676f3624835ebbada59ccb048d4d27ab850242c8e SHA512 ed0a90b23ba6de8ea209e81fcfa8f230f94ac606d92f6832a4a0c3c318b8f470703dcdd89cf6c7437ea481dc6cb25120b4b7db143f3a0622b9b4f6df6fc6cecc DIST botocore-1.43.45.gh.tar.gz 16675335 BLAKE2B 397f1f2e3c604c4eab0de2116e81a94905664e79d06accde77aed84b377b1895a200a5686017fff48d56c7e2f3f3f85a5a2b99e54e7ef5799c7e0291efa0e6a6 SHA512 1186b00138f4d0b9f07bc615da7e6f4cdd2ab35f707176523ba3fcd5d08ca010dd662b6631ddcad711916182a2f2b306185a5fe519e08474a84dd4137e0b23d6 +DIST botocore-1.43.46.gh.tar.gz 16680698 BLAKE2B cbb2a15145d8fd7d4021538774b21bdb3adfc95c0e9f91a5970b1cb1fc03f5453ab0b6315d27c70b846ea12a2fc8442eccebd04e357d22589cddf5e39fa251dd SHA512 a37e10b54383ad6a7fc1a764c8f565c127eac81e989197335b5bc3ca57b736cbcb36635c070d6d2cc48a06fafdb7c88319630d2c22b3b4349efb406438ba2a50 diff --git a/dev-python/botocore/botocore-1.43.46.ebuild b/dev-python/botocore/botocore-1.43.46.ebuild new file mode 100644 index 0000000000000..1714d2dfdc7fa --- /dev/null +++ b/dev-python/botocore/botocore-1.43.46.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_{12..15} ) + +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/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} +}