commit:     e80237e7bcc30a8d5a914009a4ab896febad545f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 17 02:08:07 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 17 03:30:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80237e7

dev-python/boto3: Bump to 1.40.32

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/boto3/Manifest             |  1 +
 dev-python/boto3/boto3-1.40.32.ebuild | 53 +++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 8119e54827b6..5d8839abfbb5 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ 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.30.gh.tar.gz 997925 BLAKE2B 
4467751d6248dd25b046c23680d966d3222d60200ac32c5616a90ec67db375b289e0baabcd663b8cdf099d656bb89d1645e9852d7898c430ed10f6ebf27a2b94
 SHA512 
5956487cc48e6c6e7b970dc39f6f1f7e6861af5f8c44e448b9ca7eb15890be1ea43c7d8418ee9be876e73c40191701db0342a55f0c90117ab5457b054d998610
 DIST boto3-1.40.31.gh.tar.gz 998446 BLAKE2B 
3664713984fb2ec75f80036851754e8df79005f0a27508d98a12682e3acf88ff31aa3e5b3155bec8fb6397cc0b487875ccadc14ce640ab8bf1995aeade92f917
 SHA512 
485d2f8294e6fd2cebd6d4bf0ef2227a3306e2678868f3fc912009f04471fe0714cc73c102526769904054b792344804e65371390eda2b4f1f5911d79c467734
+DIST boto3-1.40.32.gh.tar.gz 999127 BLAKE2B 
c892ba23e846c2bf7886bcd5a929462c014fd650b8e2483b5d1f85c8a9a0f16b090d46e79000095db984960e2eae5b16e62b561772808e14831ceb4df6fc9901
 SHA512 
4d971a385d2b51634279d80bed56e3a72a96f93629f7dc6247d1637ac590e692d0e40177f21f05f285285a588480647bde78739c167e6973c8bd1a48a1764144

diff --git a/dev-python/boto3/boto3-1.40.32.ebuild 
b/dev-python/boto3/boto3-1.40.32.ebuild
new file mode 100644
index 000000000000..90fb2a42e6e5
--- /dev/null
+++ b/dev-python/boto3/boto3-1.40.32.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}
+}

Reply via email to