diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index f8841361c6271..8bd0e7982f792 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,3 +5,4 @@ DIST botocore-1.43.2.gh.tar.gz 16233880 BLAKE2B f35f27344dd853b1c6e7c1049d501f03 DIST botocore-1.43.6.gh.tar.gz 16273836 BLAKE2B 42049eda3d77066f53733fb4a7df1cbc4e0c7b5e7b2f6398ded8917935935ec7fcae1dd029156eba1eaaf16a73bea6ffe2983b39036552a34b17934985f8a002 SHA512 771d17792bf1c8e75028dcd0fb618ee52fb7c0a57fe2560f564d136cfe17ecdcb1f7185486a10ef60ce80ceb0d446c518e3b2e93facf52e736030b764e8c254b DIST botocore-1.43.7.gh.tar.gz 16290338 BLAKE2B 0d002496b33db47ddfde7ddaf11dca94dbb6f448d0be1a1cb71af1adeaa91e9a9d21fb8e74cfe9f3810174bc9daab01fa7ade8581dd19317bb6d65189e5f6f75 SHA512 f76a811a8f0f3e1390e20350296589c8cc27850a26a647339e1125c259bca9c737862e0f113be671515cf0f0412999d75a8c7c257f65364ad61ed18d56d9f4bb DIST botocore-1.43.8.gh.tar.gz 16298702 BLAKE2B 034272f776c1c74b137cb437378d627390688c55f1ac2ba24922c91ce827b03323cfdaf73a612a7cbf0c0bec165305ce88d798bc54e22986b9dd9262274b3dca SHA512 1c35c1c325bef414ab2ae999c0d9c4a9d504ac300ee2cd16df95377acd7a7447ca3845bef844fabd29f35d85964d1dd7865a14df0ad811ba2b51e9994bf878d1 +DIST botocore-1.43.9.gh.tar.gz 16299354 BLAKE2B fcb35ec47d892c36c319a14e62ffedec51fe48ad68beeb2e527c3f282647a5f980a182c8d66ff12a69a45e4c137f1f486b0056345cfeb2c1e52b03b76df5015c SHA512 20033802430564aa77607a0c042511c7831c75f92240da388aaf036d90969f5560b9cb5dbb01f590b95cc9a2039557fd3f540fd6c4170104d732d033e142c08a diff --git a/dev-python/botocore/botocore-1.43.9.ebuild b/dev-python/botocore/botocore-1.43.9.ebuild new file mode 100644 index 0000000000000..d43f8b5c5f238 --- /dev/null +++ b/dev-python/botocore/botocore-1.43.9.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/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} +}