commit:     1357c0b90312689f7d9a105556778c93c7e2d26a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 13 02:25:33 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 13 03:37:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1357c0b9

dev-python/boto3: Bump to 1.40.72

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 956657c23dbb..6fa399e72ae3 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -6,3 +6,4 @@ DIST boto3-1.40.64.gh.tar.gz 1023920 BLAKE2B 
ca8af519caa4d3d4a20c808b3b9d263ad4d
 DIST boto3-1.40.69.gh.tar.gz 1027290 BLAKE2B 
5e68da89d063ee063dc79d3fee9958ea6a8d408184f28931f9b21aaaa52c2f1a2ac5ddf293ff7d5dccccd0097ec94e0688fa0cd206f11f19bf0c774ece3c164b
 SHA512 
509b32070e09ebb965d392ced9c064ef97b44f8c530cca807177261eecc3cf522df8d4c0822f7aa3521d7cff81935891e33fcc0570462ba73740ae85f6514d0c
 DIST boto3-1.40.70.gh.tar.gz 1028782 BLAKE2B 
70f8b57c9a515a011d599e7f193d96acd311178f858640f5361cb1ff6d59dc6bd3d6992cf0247e3764ccf4ec55737f0f578f92884b5c4970270c917d6ab816c0
 SHA512 
c69edcdbb8c748d42c93aaf5e43567e060ad2d323865668345ac0d3dfbbe75eb487d64582b1f5decc898a2a7454f667905224641fa583f99f91474b1ed229e20
 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

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