commit: 3b538586310333f8cb959fde76c8b9ffe8b163fb
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May 2 03:44:16 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 2 03:44:16 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b538586
dev-python/boto3: Bump to 1.38.7
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.38.7.ebuild | 53 ++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 8ba609f0bb5b..5426f9977004 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.38.3.gh.tar.gz 934010 BLAKE2B
f5008a63aec620385e06c15e97ea37335bba1
DIST boto3-1.38.4.gh.tar.gz 934346 BLAKE2B
e8c1a924d565208839ff3ad069bd19f022b2caf09b19b0b045324233a4020e92579845b8c94b589e530db2f599b3ab8aaae301ddc68a49bcf20a850238d2e191
SHA512
652d9a9bf476632dbe2a227d46cb9ae216a41cce812b0bf703b69c89bb7573a00ac43134955c70cac5234f0866b38ab411dd4205ddefb29d284fc1da40ee06f6
DIST boto3-1.38.5.gh.tar.gz 935622 BLAKE2B
57b3d454340298ae91904c7d343c3a663f782d773f98175d90b6e3ff39bee97a9f55a42193298e7690bcaf43af42241043eadc0c60b8549c104db2cd2df6dbf8
SHA512
d2cb67eea9cd06602ff25e791ecf66ef59901725f95af9b8d3a87099d862bdf5430dcf2866f024ebd13d41934eb0dd12c162e30d64c81d7b8e96850a40ce76e8
DIST boto3-1.38.6.gh.tar.gz 936598 BLAKE2B
592503453cf4ebe08005337e20d5f7f24926e660bc85c64d44f0503b9030ad3b2df4743998843335b6a3fcbe14f12c98f89cc14c153a1f55cda76c98d35af3c6
SHA512
570c51448dab236ff091f582ecbfb3e1fdcce7c9d0ebcc77ae3a0586a1917ca6c8569aa1c335d00b9714bcf2f6d4f4d43a6b54adcf0e439647b93a469d04bd66
+DIST boto3-1.38.7.gh.tar.gz 936940 BLAKE2B
b6a3a4b14d6f76571f0cd0e58f2faa734febf12423f1f642637e05998241f92d53073d8235fa7aaad1dec5d3a6985f1f09bbfc82ea9b69cdd610c6e104ac534a
SHA512
33a3cbc5943fa383b8183f0f0334172b73b3ae2c12911b244e9063fe0fafb949160db4c1231f22aa0a13eefdfe42fb54c41d987187f12e04447cd4279c60695b
diff --git a/dev-python/boto3/boto3-1.38.7.ebuild
b/dev-python/boto3/boto3-1.38.7.ebuild
new file mode 100644
index 000000000000..719cd03bd71d
--- /dev/null
+++ b/dev-python/boto3/boto3-1.38.7.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..13} )
+
+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.12.0[${PYTHON_USEDEP}]
+"
+
+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() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests/{functional,unit}
+}