commit: 86a7810104144b665b0638f286544b6db6bec25e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 15 06:05:25 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 15 06:55:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86a78101
dev-python/boto3: Bump to 1.40.74
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.40.74.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 4e8d0b80265d..66bf500a15e4 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -8,3 +8,4 @@ DIST boto3-1.40.70.gh.tar.gz 1028782 BLAKE2B
70f8b57c9a515a011d599e7f193d96acd31
DIST boto3-1.40.71.gh.tar.gz 1029360 BLAKE2B
6b8b244c797eedc1d42411dc0ab552da47f7a78528d17cfed4e7b218119126a0d189c785d077c0a42d59561a994f3af77393be940d6ab89b5363dbf1a7678d27
SHA512
f6a5086b1fbd4c15f39c7e5d10e51dc767615f8238a874115c74151d18701fa2141b32d9c53d368bc99ddd9ff6f9bbae493b98a245a832d615e8558a60f3a8b8
DIST boto3-1.40.72.gh.tar.gz 1030063 BLAKE2B
acd7fae35c6f45db64e3302703265a66cc81e6f568aa65d2b93f31c4946f5ae1a184738afe8d07aefe68ddee8dba1686040e6261d3f89b5ee979f36d5acfd03d
SHA512
ec4fe7455ba00e2b25bfa8f6a575af3927e4b5579f18ee9b65c7fb6dcf26fb97883cde7093f2293b001ca1d5bf7a6516d151f61807f3957ba7298fb467777305
DIST boto3-1.40.73.gh.tar.gz 1031338 BLAKE2B
48d21acdb04222c75120cda56b3fc14766c6fd3146a985267ce34f665644cefef6ee38501272e2ec60f0101acd1dc039e26df924080abc839a992ccd62504e42
SHA512
d36fa237969d83ba0e80a0c6a618cea75b49336775f452464c478aba1ec9aeaa8ea1ac66d4e72959da530ad155164a881a23f5f1910d1eb18485368d712c8440
+DIST boto3-1.40.74.gh.tar.gz 1032058 BLAKE2B
c24653bac3279f688d240390f53a9070d51d7d13bae6d7179c849c189fe70ddcbf35892ad8ddf6dd77e508ea597901db60ecccc083666aa9178b07d2388ffff7
SHA512
0ab155ccf97335ad29f7d62f4fed3979fffa1b45d2ffa4bf5e949c90c864298179e5c3854ec157a7dfdf2dd9efd91df83307a04060e95b77aa38cfcfe8137033
diff --git a/dev-python/boto3/boto3-1.40.74.ebuild
b/dev-python/boto3/boto3-1.40.74.ebuild
new file mode 100644
index 000000000000..90fb2a42e6e5
--- /dev/null
+++ b/dev-python/boto3/boto3-1.40.74.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}
+}