commit: 055d4cae15250c0af27ae8f0a38aaec49efd25ca
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 22 05:58:55 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 22 05:58:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=055d4cae
dev-python/boto3: Bump to 1.41.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.41.2.ebuild | 53 ++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 100223e8dea8..3ea53b400fef 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -8,3 +8,4 @@ DIST boto3-1.40.75.gh.tar.gz 1034002 BLAKE2B
3e2e2c88bd0a8972b044a66cf84be171cca
DIST boto3-1.40.76.gh.tar.gz 1035550 BLAKE2B
0534ec5d892cd74f1a33479f19ade40575bd1ffdca0f05cf383a2fdb04f8c00820ae661de740e927a7913f986b7b85d7a47f707438f6b7fe0e403a480586bea4
SHA512
d3cdf982774d4d1b501658a12ab8708afc34efa975090dbefd6289477b7bfb23e7d1ac0371289fa0511931b9859c29de48c537d5a3bd4217355253bdc00621b3
DIST boto3-1.41.0.gh.tar.gz 1040235 BLAKE2B
115aa019a2e5b8728c4ebb7110238db9e3010ee82b7c21aefb79a4546de745cf27e2572e8124e191e986ab971937c37251cbe443a4d493dcd5f767aa19b10f76
SHA512
6496aa6ff112ec6d8ab4832efe04d57223c70c463e20630cec7136040195d253685b1bc0335565426261e7751727e23edfd0e3f81b10ce0b3706ff63208c1978
DIST boto3-1.41.1.gh.tar.gz 1044057 BLAKE2B
0fe15939087d77ca66a6adf5f4f512eea7dc0f9d276c0f4d9ed43b42b5b79163dc80c306ac1422067bb475aed8a1936a021e033948fea28fbec3c60461938a7b
SHA512
ac7ca7fb562ae5b72e17130c3290abb61137ffe8c64b73e2e491c855ed532e5d2c802fb70a92e75cf5a95c258c42e0640e70375dbba4860dccf8342fe6f82d94
+DIST boto3-1.41.2.gh.tar.gz 1047105 BLAKE2B
ac62862f9430604d6056e9ee9c0c6747bc8abd000957365e569d20c96f0672c771c628ce0bd1d644aee6149b22792f455b43f58fce987d5ba00acbfbf56bd7f2
SHA512
98209ea6ded6c1018b98106c89b53d2115fad3de26524f7b9efa0c91f1e4435c9ea2d954c21d8666cb427777ade60bb12a36544d9844dc1d79f925c3206a578f
diff --git a/dev-python/boto3/boto3-1.41.2.ebuild
b/dev-python/boto3/boto3-1.41.2.ebuild
new file mode 100644
index 000000000000..89a3e32e4861
--- /dev/null
+++ b/dev-python/boto3/boto3-1.41.2.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.15.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}
+}