diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-12-13 08:04:00 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-12-13 08:04:00 +0100 |
| commit | b6df2fc8a1098c26b847bb5c59846766740bdf54 (patch) | |
| tree | 5897a71a072457ee3d15380aae28bc74151b91aa /dev-python | |
| parent | f1078bc0535a8d11d7a016be2836ad66413e287d (diff) | |
| download | gentoo-b6df2fc8a1098c26b847bb5c59846766740bdf54.tar.gz gentoo-b6df2fc8a1098c26b847bb5c59846766740bdf54.tar.bz2 gentoo-b6df2fc8a1098c26b847bb5c59846766740bdf54.zip | |
dev-python/boto3: Bump to 1.42.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/boto3/boto3-1.42.9.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 207359969d42..5c436e7e7001 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -12,3 +12,4 @@ DIST boto3-1.42.5.gh.tar.gz 1057615 BLAKE2B 1d2cb3efd01c9608830cf9e5f4fb7b426a9e DIST boto3-1.42.6.gh.tar.gz 1058037 BLAKE2B 9ad44a815de09f8b557d976d1d17af6545ae4096556481f27ad00c420574ca81fe9f2ec92e0e09e9ee1d73716eb9e70e288adce3e52f874f9572c93e822c8e1a SHA512 881213ca70e26f342f5cda51cf02efae371b862bb639d25be6de45326f87c1fe5caebeb65ec2cb3ed86a50af3432a811d67a728ccc31b9f75ce9da9f93e76702 DIST boto3-1.42.7.gh.tar.gz 1058806 BLAKE2B 82db9d5dbf74d1780399470661439bfd48253c1e869169e4a1f8024ddb1a6623089491a5a2eba2932c69dcf67003c0f2df8873940cc5e517b72428a398ec7113 SHA512 4d89d946660f7262bf81a2743fe328dd13867eca356fbb1d260bdef6f30a1286ce40b126bfbc0e4600ad9db901688b7b4a2430a79459dfb8a60126aeea4ee7e1 DIST boto3-1.42.8.gh.tar.gz 1059203 BLAKE2B 76a2823f16b1200c16a9090b7760b844a0a00ed32b970985ab9b691f8c69730240b22ec1ca94adf7378e039b7479dd19a13b88988982e8ffe735e7f8ef645012 SHA512 846cbc8eecd5561ac5b204fdd59656fd3860b50534c2a5ab7f0268e6bd0591b463dbd582aa86d402ac49e2bb5a09613e67d15fab25fe8a21406f92efee467d6f +DIST boto3-1.42.9.gh.tar.gz 1059745 BLAKE2B 78fba4fe807a3ea8eea22cd81cff67c90cd36e281665545bc9d7dc9bfaa1089d668e1994ba6e950eedfe2cfa1495f192b43f8fdae2b9b8b6bd74b62e0ab699d8 SHA512 92ecb0d609ba2f7df6a444b9d840e2a070b22ec38f8ae3bd376e9473e5b4efbefc9bc924046cc6d79576967e33eed270633396171e6102331b58519021435fe8 diff --git a/dev-python/boto3/boto3-1.42.9.ebuild b/dev-python/boto3/boto3-1.42.9.ebuild new file mode 100644 index 000000000000..56b1da52789f --- /dev/null +++ b/dev-python/boto3/boto3-1.42.9.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.16.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} +} |
