commit:     04520d2dfbb517b70edf59b62c4052e75a6da68d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 11 04:59:00 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 11 06:51:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04520d2d

dev-python/boto3: Bump to 1.35.97

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index b98717751fec..89cd13f914e9 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -5,3 +5,4 @@ DIST boto3-1.35.93.gh.tar.gz 919950 BLAKE2B 
a16e9d7cd6d7d6ba4718705d94a1474cbe96
 DIST boto3-1.35.94.gh.tar.gz 920278 BLAKE2B 
350f891df6d587178060622314158abf96f5e27975fd99e81d1b3542575b204fe5c721dda7a2d071a0127ba857c07abd0618a5b3deeb1e4e89af964fb0e17fef
 SHA512 
efe9e30fd78d233f5a81c46ad87085c1c1c73b2682d5d52433e12dfb8ef203451c769cd75dce4e7203873c1cb18e293b8053dfa0fb42236ba015ca9db3d31392
 DIST boto3-1.35.95.gh.tar.gz 920559 BLAKE2B 
951fe0de20176c370cce203e3949955af9279a5fb5ebf6681ad4609434e8285843cab703de958cf03a0209cd3dcb67ec7471ad64a833bb838f946b4b39837a7f
 SHA512 
a92a2fad918e5b19ec19cb528ab44a7c542ead475d8a1467bee65152ad3b5314dbc542bdd3e2d213878f053e751f0736e0fef1b7c99297a83125675fc2c00740
 DIST boto3-1.35.96.gh.tar.gz 920795 BLAKE2B 
037b17e60234d4e65d00d98709db2ed714fe18aa049078fbc66dd577b976d7479f5077037abae68b9cb9d4a1350e3094005b4e19863a1621db3e6debfb272e0f
 SHA512 
0aafd51f234ea4cf1c7a666e3fc310e27c9b58425276ff7b5347d32110e161b85053d7ac4813d7949557ffcf9f4df448fecb3bd745568e27e3618bc7c441cdac
+DIST boto3-1.35.97.gh.tar.gz 920994 BLAKE2B 
e333a53118122ddd70e77e3f158171507e6430d9f85d58fc8d9300801c68703834965016004826628bb20f9908034939d3f11598156e2bc93ea3412fccdfb33e
 SHA512 
a22193cf6992cc6d30049d47d53048ba416ff21cb4b45bed9a8524ae2446800cb6843838f347484d0b4d5ff898dbdf5b15b598e7d079c1ee0273da25f71bea0e

diff --git a/dev-python/boto3/boto3-1.35.97.ebuild 
b/dev-python/boto3/boto3-1.35.97.ebuild
new file mode 100644
index 000000000000..f770025655ec
--- /dev/null
+++ b/dev-python/boto3/boto3-1.35.97.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_{10..13} )
+
+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 ~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.10.0[${PYTHON_USEDEP}]
+"
+
+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() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest tests/{functional,unit}
+}

Reply via email to