commit:     0bde4c75b205cd1d18602c14d9b0e24c63c38fbb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 20 02:31:22 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 20 02:31:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bde4c75

dev-python/boto3: Bump to 1.41.0

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index f3490eebd3b3..77e22e7c6582 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -6,3 +6,4 @@ DIST boto3-1.40.69.gh.tar.gz 1027290 BLAKE2B 
5e68da89d063ee063dc79d3fee9958ea6a8
 DIST boto3-1.40.74.gh.tar.gz 1032058 BLAKE2B 
c24653bac3279f688d240390f53a9070d51d7d13bae6d7179c849c189fe70ddcbf35892ad8ddf6dd77e508ea597901db60ecccc083666aa9178b07d2388ffff7
 SHA512 
0ab155ccf97335ad29f7d62f4fed3979fffa1b45d2ffa4bf5e949c90c864298179e5c3854ec157a7dfdf2dd9efd91df83307a04060e95b77aa38cfcfe8137033
 DIST boto3-1.40.75.gh.tar.gz 1034002 BLAKE2B 
3e2e2c88bd0a8972b044a66cf84be171cca77832d0513623172c0ed1039bcc5293de457d69361977ff1fd80ffee6df132d4c5a0a4681f1f9d57b7f65dc1eb6b2
 SHA512 
cb158f99ba97ecc48ab663a57215cf2fa8e512de84a74b3a7e830f135b6814fd9947685ef3210893922ed0f246da25d6b2c83a8e308897a0d328d90c11bd731a
 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

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