commit: d8a0326ca7a9282f4f138b618411d0a189c74d1e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 15 03:22:01 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 15 03:22:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8a0326c
dev-python/boto3: Bump to 1.34.127
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.34.127.ebuild | 53 ++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index c765fe817a2d..a347733ed787 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -5,3 +5,4 @@ DIST boto3-1.34.123.gh.tar.gz 817520 BLAKE2B
264464edc80ec43c6759b542629bfbaa1a7
DIST boto3-1.34.124.gh.tar.gz 818934 BLAKE2B
ab1ae5af51340c1782af93c7bbcd88960331449e1372cd614b8905fd8e04d3d2f10a3b92c49938dc101e543525fc85a95dba8ec774d0eb91fbb832ac54288979
SHA512
c49aaf78e1f539e5af32252d645de28f1126e35f4d3603107a3b1329c1cb1d5578c005d678d05e3d0c907c3ef098485113982292bce5168cd4679727797f210d
DIST boto3-1.34.125.gh.tar.gz 819606 BLAKE2B
c1213b7da4c5c249f4c886e4adf56466242ca0cc73c0ee3e484983f8c18627ecc7414c8465a6e61c5f135169cbd01386f62d5f386e021ab70cf62b8d603bba6c
SHA512
5a8ad7e9d7e6daa311f450b1c49894858dffcdef7504deeb8aad871dc171522776dfa9ae1097365e5ffa039d5987a30de481d748a57f6f2d949ac268774325ec
DIST boto3-1.34.126.gh.tar.gz 820173 BLAKE2B
405e34ef71bac1c7f2087721710476cb83c1bc627466ec4eab4aa29693e9af96f7b68953c7492f1a5ac15c0b0ac6d5adc13e186c6a5f8900b3badc075aea8e53
SHA512
aa3a96889662fd85b7091844bf83cbd3fc9017a4a7180756f3f39289fabd71faa5167555bb8e2473bf448e56549015513bf2ae0b83ca795701e5390394747a4f
+DIST boto3-1.34.127.gh.tar.gz 820740 BLAKE2B
ddfb7802440a01af27059daed4bc7cd3797eb192004a0e7b78e1e56a8ff479206b4835a79bcac1db273c2936fb8dfde0ba16bebe8cbe1befeb188070bf46b2c7
SHA512
b139ad68a4ce29e84e0fa1618b97c4aea13b668521921712df74256ad61c21d2077ea216dfb4102d8f9910a8119b24509aa10a504d746bdb410fee1cecc0461c
diff --git a/dev-python/boto3/boto3-1.34.127.ebuild
b/dev-python/boto3/boto3-1.34.127.ebuild
new file mode 100644
index 000000000000..2c733040b7a3
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.127.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..12} )
+
+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}
+}