commit:     ad0171e3517f1520e5160ebbecb7b1eceaceb89b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  8 03:57:06 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr  8 04:44:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad0171e3

dev-python/boto3: Bump to 1.37.29

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 7561a7e1b3cd..59bce25f793d 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -1,3 +1,4 @@
 DIST boto3-1.37.18.gh.tar.gz 916523 BLAKE2B 
ddce395151b08982cd62156dcb994a496691d37182a375d4b2fbaf6cd9a51044a03a6eb7861d30d405e20318cbbcd9ce449a56302b7184bdf883208bd5e9c6f6
 SHA512 
d10106d061282b0f7a4de0d95a14ff8ebf93e21a99d85dd828c1396a5ed657e9b6f80101c9e762e755679059b9d8b9b3d7f1fa4c6159df4cac35e2b5076835b9
 DIST boto3-1.37.23.gh.tar.gz 920294 BLAKE2B 
c1bfcb5dd8c883c122b530ac2756c77884d74a43caeaeaded4e7f26bf9fbe829c7b4d70968b19e2561b4ed495c8e05e141ae365fcff7fa10159ff0c04dcc1f3e
 SHA512 
b2fb0b4730e32ec881e933eeb6e57ce5dcffe9cfe5f586a15e5a9abea5d3a515d5db0c66058af3c0c8c206472fdfef80b74b750bd024718078ec9a5a94b01e29
 DIST boto3-1.37.28.gh.tar.gz 922848 BLAKE2B 
134a4054d1142de5f63198f6fd97eef3dc5fe38523e688ccda56960200f2b1cd2ee862d95a275a13744844006e78584d1510850b2873da74d3ebdf53ceecd0a1
 SHA512 
f794769b083f52dd7e546758fec9a42dbf6fa8e09eef82a631b8d3b9dcb3b449aa85b7e72cb9a1f33c6bcaf89ef2bede4f771110e723efd98b47c9ab5c31c51f
+DIST boto3-1.37.29.gh.tar.gz 923479 BLAKE2B 
ab940851062f611e3a3011e908c28c7cd3129020cec11272b85613b0c135af1a9df6e171b4a1c3ed4f0c4015512da8b00a3f8430bff38ba89c6030dcddd6adff
 SHA512 
d2dbb36e0e375084a1022ae1dc8fb89601c625edd4f780ab01a1d137377752ea28f691a1e774077ad2585b0df119f4e29c9f74ea43c9e63ca4bebc95387f0b7b

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