commit:     97efef01ec7fe7a2662ef35137b35a8b72f8c530
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 02:31:25 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 02:31:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97efef01

dev-python/boto3: Bump to 1.34.48

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

 dev-python/boto3/Manifest             |  1 +
 dev-python/boto3/boto3-1.34.48.ebuild | 58 +++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index c9d1beb33167..56aefe999a6f 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.34.44.gh.tar.gz 775883 BLAKE2B 
97648819e48af3bbdec76ca47f5532cf9f0a
 DIST boto3-1.34.45.gh.tar.gz 776142 BLAKE2B 
0fc27d192ab356e4dad6faaf6ed33d32b728efdbfdb4b662db1269de8eaac7b8f966b45167eb29c4f94abacfe01173f71eb792df2dea9f03d10df6e7d7753406
 SHA512 
ddfdd97643dbdf139783c03625b8d4d652a4d83c485a1c1cdba9b09fc214f8ff5ed75f51b5498449ec3c69f69c92127ad6ca79a8db8e951e528d6cabe3d57ada
 DIST boto3-1.34.46.gh.tar.gz 776383 BLAKE2B 
94fcc2899d6d8a02acdf4e293dd9ad7f29b03be88ad40714e295eae9c0d34fe9d063b7ad186787755d87e127ef4f693a7c02a3f6c0cd31f45cad1cd0ffea216e
 SHA512 
24882634ea2b5c8ee5d7b50b5ea8543fc74dd853524fd70c3897feebe45c99f26f6244de512b5a857ac07062db1d3ea4249198778dfb13799fdf4ef223793aca
 DIST boto3-1.34.47.gh.tar.gz 776642 BLAKE2B 
c9c315b43e09f0fcdff3e50ea7c4b1f7d501ca6855d3e7f581a4fa2ad49f78237e98f9696d174a4163c94105a09c83a29021a9ce294e1a9a2eeb33f150d6711a
 SHA512 
3c84d2f26567389f76cdf7802a310991ddbce71d5a17bef41d85cdbf254ab95ba921472b573cfb8cf087af401ec0b9c8a51b52065adea174926df01ea7fe116d
+DIST boto3-1.34.48.gh.tar.gz 776800 BLAKE2B 
ba82805f7e011488ffb70440bf5c3ff48a4817b2a18c079436ec673cdabf81cdba52ce8c4419f0198c9e3d31401dc8ff17d6ec76fa856d74f20ba75e6db0cc29
 SHA512 
5ab69df0399270e5d11af5cc59f70e5e47f5e1db785f00206e3d2d713e243204df84285facbfdb12f04efb9719a7aba95a3ae33f1a44fb5ec2f72a561e47120b

diff --git a/dev-python/boto3/boto3-1.34.48.ebuild 
b/dev-python/boto3/boto3-1.34.48.ebuild
new file mode 100644
index 000000000000..b64e7191fd19
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.48.ebuild
@@ -0,0 +1,58 @@
+# 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}]
+"
+BDEPEND="
+       test? (
+               dev-python/mock[${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