diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 61a340f79eb5a..850bab21b6453 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -8,3 +8,4 @@ DIST botocore-1.43.61.gh.tar.gz 16803304 BLAKE2B 9a94cc40be6143a578b4bfe27609928 DIST botocore-1.43.62.gh.tar.gz 16820420 BLAKE2B f25361a48491104b819ab09b799e7e12428a8636941625eb515e8447d24a5cd747db07f14367a19376c5ab93c3521a0b63ee0db19c6f605f9d901c4e90fa0427 SHA512 6a9f7843146f09cd1ed07181028f3a2f14b26722d2618cb6916fbecd609f7daafb7cce931da09350af2e69afd42f22048cb51bbb8a1a60cbf8e502085f2a69af DIST botocore-1.43.63.gh.tar.gz 16828484 BLAKE2B 30b3a8ab2bbe38fd21386302b02bd6459f974202ce2554f3c69306b71817d66490847306d203ef3d9efa67519fb2fecb2b9b045b86f96d415bc268f81e8acc92 SHA512 0456763ec549c2189591a7b6ba55a615ed266ec2568242311e4766ff48aa5a4541002072be748c8b55a85802524e6155d2e0fc9ead44840ed05b55f424ab0a4a DIST botocore-1.43.64.gh.tar.gz 16850545 BLAKE2B f68420ac2186f84eff4cf061d42e245cabee5a71c52d4db2db8508b538c91ec9132853eda5902591629792835bc916bab0de681b18bb60f2b8a845976b6d6db2 SHA512 9d6fe4406e550e17eeb996b7d98c3682aab7bc1ee5ad35185f89ee877aa3a472cfdebd05b0e827efcf2a30ead49f3dba7a3d5216a100121512b514f46ddd5b27 +DIST botocore-1.43.65.gh.tar.gz 16853127 BLAKE2B a5d77b68d00009e62e2b2d6bc94e1da27cebcd37e3e568d8038b6580b69de507356fc19191ec7e664fa9e5a5ca83cc3747b7caba8ec20379bc732546d8ad9d26 SHA512 d0fea090db943f189e0306e49766b6c634a5d2717e7e3ecd35b68b2055a0fa4d92e2dc64285fd8e5c8c032b41c98712063a5868f1e9892371dece596aef2575c diff --git a/dev-python/botocore/botocore-1.43.65.ebuild b/dev-python/botocore/botocore-1.43.65.ebuild new file mode 100644 index 0000000000000..1714d2dfdc7fa --- /dev/null +++ b/dev-python/botocore/botocore-1.43.65.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} +}