commit:     1d631c0c67db09f7cb6af500eebc7a66a2607f84
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 26 05:28:47 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 26 06:34:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d631c0c

dev-python/boto3: Bump to 1.37.20

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index de03f10babac..fe1e36cf33f1 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -1,4 +1,5 @@
 DIST boto3-1.37.13.gh.tar.gz 913692 BLAKE2B 
cc8b3dbe1f30d5969b8d0abb64b0ff6b7b6c72596c23dee90ad3ca08a0ac09b0b509dfb038ca4434461dd7375f155e5afaf541ed4224610f14793d5cf9a15ed6
 SHA512 
25fc69799cbabf7e834ddfda5e1a1dadaab42731721a64a09020a58b2c12ddae489eef5a28c687a7f04d39a3fb3ef007739acb3c59882f7d1cc04d64f6211e67
 DIST boto3-1.37.18.gh.tar.gz 916523 BLAKE2B 
ddce395151b08982cd62156dcb994a496691d37182a375d4b2fbaf6cd9a51044a03a6eb7861d30d405e20318cbbcd9ce449a56302b7184bdf883208bd5e9c6f6
 SHA512 
d10106d061282b0f7a4de0d95a14ff8ebf93e21a99d85dd828c1396a5ed657e9b6f80101c9e762e755679059b9d8b9b3d7f1fa4c6159df4cac35e2b5076835b9
 DIST boto3-1.37.19.gh.tar.gz 917195 BLAKE2B 
e927a0742f4b73a35749f2fc6e7eb4e96b61da20660000c6e83bf30fe1f47a417934ee0c3ff3bb3b90cf4f2d93cbc0dc56fb0258162f205b13b024e7d4aa1507
 SHA512 
acefcda7093d30aedf6b58d2091fb82f4c67f0f229d2242627c7c853457e6639e1be568d3858e06d0e5167a042052307c79940f3a9b25b07d0466f1ec96c49c0
+DIST boto3-1.37.20.gh.tar.gz 917858 BLAKE2B 
3325088a4689fe764bc7dd4eb68afccf7e05a1b29152c5dc28224ad132e2eadfbd5af2545fb9e456e26e5396aff40ec9ee00e35382618b3fdf14da5fa91f2273
 SHA512 
4b271e2caa15effe0e3f17161b601fdfa0e29e89d219c21fe3116c35ef485344eff4a944374d4aed2ee557ca3e5d55e0317c2a013205cfa095fb46b19adfc976
 DIST boto3-1.37.9.gh.tar.gz 911836 BLAKE2B 
d190525b9c5e39b445042aba6d8e57da5e49165775901ceebe44b76fd2780ec85a2f5a8a08d3a9a5e451d42bbae19b679e565a7a9acc663258ea0b7909a9a798
 SHA512 
12cba48d5f2c158b372eaf4e44903e22ca963e5712c3c463fbfd20626a771efe30530852b6c9ab70132a26472ff1b4656095675a5de37524f6b489c25175f8fe

diff --git a/dev-python/boto3/boto3-1.37.20.ebuild 
b/dev-python/boto3/boto3-1.37.20.ebuild
new file mode 100644
index 000000000000..b087a88814e8
--- /dev/null
+++ b/dev-python/boto3/boto3-1.37.20.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 ~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.11.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