diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 6e3316843fb2b..fee7f668480bc 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,4 +4,5 @@ DIST boto3-1.40.21.gh.tar.gz 992637 BLAKE2B 5c5b716506fef7223c4f49d6d966d43b59d5 DIST boto3-1.40.25.gh.tar.gz 995333 BLAKE2B c7e6934040c8a97f0fbc3a4db2ff5bf3ad70040c73283238a6fdd296ee2843bde7dbe19efd88aac0d12f45ece69b75f6072ad3c71718ef9fe615f1132630ccea SHA512 fcbf48f1630f7322009e36e63a8f13a5a08b67c4762fb3d954da56da072e888298a64d6603aa7e810732dfde21d096e732937ff6a0d48ef331f7425196be91c9 DIST boto3-1.40.27.gh.tar.gz 996173 BLAKE2B 2f1353dd4e11c1598efb4f5865987d9f323400bcef9a58b8565e5270c68e94caa061ab4271a58d37b381f30bbd5fd312789113d30934a672a1c5bb07003b2d4a SHA512 7e41cc35b0cd849b66ebfe1eed2768d9700b398a1c38a7dbcd33ad76cc46e449a181261534ca4528552589acbb5b3c5a8da3d1a86cc9ee2a2a79215bdc00f1f5 DIST boto3-1.40.28.gh.tar.gz 996775 BLAKE2B d3107f7a52ec1f3f473ce8dd82c782c87a5e89863dbad71f3119e408c1858b504a1fdacc41d1e05d6322060374db1ff7805a5c748acbe41521d512fc585a537b SHA512 639d2821212817209dc7673be0bd7638776b076dd4869c56d44ddd79fdbc2b3253229cf0eaed27d04fc0ffa88b788ed826a594b2c295b6fe9e2eef73bdaebb41 +DIST boto3-1.40.29.gh.tar.gz 997723 BLAKE2B 37b54cb8aa1174095ac843f7339875ef510b65bd1d33a75733324ec9a308217370d238d6ee2ac2c0d4ded1d5c650a4a8854a8a6cefea7b24cb92d21b664d24f7 SHA512 19bb07e1a5309717bb1ee8fe653dc11dbb0dc6c077cdc97ad8e0ad895bff6c7e84465829c85ee0e1da01151465954336b328275a20f30cda28dfb9148cf856ad DIST boto3-1.40.6.gh.tar.gz 981330 BLAKE2B 929b4326d8d48e46750128e6236776b86fd5e59f0aab113e3ec797f18f138c7f52b30a79724f97de8083fd8e8baa04169e68e219ef5acf592561dabb838b4374 SHA512 65431a0d084298f51e0eee1753119f811261e9e57fdc5fa0491c9ce8d4fc745e705aed22527c8c06e003227c5c0bccc1a659e04bcc96a68fafb61bc53ec70a84 diff --git a/dev-python/boto3/boto3-1.40.29.ebuild b/dev-python/boto3/boto3-1.40.29.ebuild new file mode 100644 index 0000000000000..90fb2a42e6e59 --- /dev/null +++ b/dev-python/boto3/boto3-1.40.29.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 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="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.14.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +}