commit:     01aabe4cdd00ee3a2df0065056f56b0c254e378c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 28 05:27:52 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 28 06:43:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01aabe4c

dev-python/boto3: Bump to 1.35.71

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 5d1b416b8941..67e2307b67b7 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,3 +3,4 @@ DIST boto3-1.35.63.gh.tar.gz 891481 BLAKE2B 
092f4380aa31e57b3c8f6ef41ea8f0a4272e
 DIST boto3-1.35.68.gh.tar.gz 901189 BLAKE2B 
f7449998af169c873319d7b8748035db72c3af7be6499453c9fe61f40cbfd724dce7cf003fe700f6046f43c887768f4c26dd52e491f5734a5ec55c5b54e360c0
 SHA512 
24582ed20764870e2491a2dc48869089ebc4371a279eff68827ce3a6a962568fc1738e52285fa89a3a846385b498bb233460c1d0ae3177d735ad20b2cef7fea2
 DIST boto3-1.35.69.gh.tar.gz 901747 BLAKE2B 
d05189e0fc1e22e34931275c9df0512cd622997b4dc0615d0566cd00c87e3501f94df36b2355017a6c585c5e9aae7cd8896d2222f4102da64b2d012ab868c48c
 SHA512 
f0aa6885b414ae6e26f70c7b3ec2d28975f926d6c3525ce02fb2e1e3246cfaa1c4ad03d98a9b1d65b98db536b7cc88b5bb845892c8125316416336b16df96b95
 DIST boto3-1.35.70.gh.tar.gz 902264 BLAKE2B 
530cb1e971c00021203e26aad14e05fee4ae81a5702a2cab7dc45bf7352e771d2aaccf05dbebae4a4d49afd7f88c6d3b9bd1e2953b5e968a2857f04354352b97
 SHA512 
09a8f4db6f411fc4efca2cb532696357742d67d19529027790ae5fdf18b5b52d082db1d020ad7147de94c1bc798dbd7dcc902fd1701283ec04408ceebe9e3b06
+DIST boto3-1.35.71.gh.tar.gz 903019 BLAKE2B 
48bf56c54a8eaa52c1850078a92cef7e5acb06f2d9d551414d640c6f5c5f381f2edc4ae6f582d9c1578f68d78a272142033bd41caba95577af917a492e995edb
 SHA512 
56df8d30c0d3efc71caa6d629354e1311d944c71b5568b4154fc93c315558d600e4411ccc80abca98cb4a3adf3a3ab4f4dbce22ca06184e11d720f36f33b58d2

diff --git a/dev-python/boto3/boto3-1.35.71.ebuild 
b/dev-python/boto3/boto3-1.35.71.ebuild
new file mode 100644
index 000000000000..8cba6d95740e
--- /dev/null
+++ b/dev-python/boto3/boto3-1.35.71.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 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