commit: b20427b1d5652fe0b397a3c7c5b77b948830f939
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 26 04:35:07 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 26 04:35:07 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b20427b1
dev-python/boto3: Bump to 1.40.39
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.40.39.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 1dbb29188961..09742f2c2d39 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -11,3 +11,4 @@ DIST boto3-1.40.35.gh.tar.gz 1001174 BLAKE2B
afef89c4d20770e9d7a8fbff39c2783f253
DIST boto3-1.40.36.gh.tar.gz 1002110 BLAKE2B
2e6e4a3d0d0c5a835f2f0ac8189c696e7dfce0d23fb5249eeb4e25fd50185e05229b1ee5208abce65865ef922c62b2816f6af98a32fcc1071fde824a5d518f7d
SHA512
ad6240e80ecba5fe93c9cc9edad39abc8be43d1dd8835ce2b2dc7e0674b6ad86e3f956daa5d4328df46fb9c95ff15b43822435922a2b91aeaae05e08e016a3f6
DIST boto3-1.40.37.gh.tar.gz 1002433 BLAKE2B
1455b91f685be5a50daa48de432998ad77e2d810106e55f9bc216506f85321220ec2882221ad1b41eb54d71675e0513ba1689c3ef83ba068fc361d063643ccbf
SHA512
fe8fe11752acf1ca3d9814ac4512f3516890996036d825de3c248bbe72873e1509181fa4e7ab2e16f2d22bf0ba02f90409835aa111cdd37bf882abe4b2a00624
DIST boto3-1.40.38.gh.tar.gz 1002682 BLAKE2B
079377e6d6d5fb0f4622b9a8023fecce859cb4ee6fa4d971e32b4f41113ac0d170a4a511c781e8361d5be7ef677db207914620f228eff571a090fcb26e46092d
SHA512
b63d594175a2d68a6d9e86bb59094360827ff312e9b31b88d64fc385fa4571dcff03de35ec725280881862e9a53637de6fb2c80450e8831da464b73de9206a67
+DIST boto3-1.40.39.gh.tar.gz 1002988 BLAKE2B
944ac6019c461af48526851d526cc397bd300b8e396d5935828564ed2be483971a132b29325d171d82f3bf89c22347dc1ac5ec0f0fb7ba5d4057ccc22a523990
SHA512
ca48b1e4115b55a3309636fc7d3dcea8e59a5705775455513ea74acfb958dc7d770f908d0c7c2bbbc04f6661085cfd15dbf9ef9c4d94c4ad7dc690ed5d680ac5
diff --git a/dev-python/boto3/boto3-1.40.39.ebuild
b/dev-python/boto3/boto3-1.40.39.ebuild
new file mode 100644
index 000000000000..90fb2a42e6e5
--- /dev/null
+++ b/dev-python/boto3/boto3-1.40.39.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}
+}