commit:     d35fe4d95f9f6ba2dcdd78a76015576775a6addd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 03:00:41 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 04:02:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d35fe4d9

dev-python/boto3: Bump to 1.34.51

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index a1e1ee890b1d..1799d0db5a4d 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -2,3 +2,4 @@ DIST boto3-1.34.39.gh.tar.gz 773491 BLAKE2B 
69256649eb3bc5a856adffe4fb1e0e3f1e14
 DIST boto3-1.34.44.gh.tar.gz 775883 BLAKE2B 
97648819e48af3bbdec76ca47f5532cf9f0a99845f90515cbc7bec02bd5cc04ed5cc842b55cd589a8fb1cd8852edf4d12d3e8a23320e23fd4c5920854ef588d3
 SHA512 
310689dd7fc3a08c3a8ed6e223381870f028ee07354f74654abafc893f8230fee82bcd136c9e04a675a06bad496458f6778e6d571e75f6541130b3e06cdf324a
 DIST boto3-1.34.49.gh.tar.gz 777028 BLAKE2B 
3f78be7cffeca8dec5c7e1b8fcb2e4081e8d5b6f85becea5deeebd8de3d8c038db5c5e827831c829e3943860a10144e7dd565136c6dfad4f39540a7eaa2bacda
 SHA512 
dbd9fdb33f0d29d8ba4ef8b6bdb5bf5b9585306e6a0e1fffeea42d38fad503555763361c5b14991d58303f7e1edc481e026ba195638044efc476a25bd467675e
 DIST boto3-1.34.50.gh.tar.gz 777341 BLAKE2B 
58649a5dd449f6c4c8151c1943bafd701afa78acfb93f85d69dae523034b4a60c446ef6d7425b867c637adac187e0eb076e9ead64c3141cdf6266fd17c4d7052
 SHA512 
6ee238a91ea9fb691f1ec8593c892f3285738cbce71430f913fd3659944bdafbd9c6efac419efe43136bb1e415351cb9239a8758972161d22aabe428fc3662d6
+DIST boto3-1.34.51.gh.tar.gz 777437 BLAKE2B 
f39d180cda6958307524ff26b8015fe50a5c41d6c0ef6858363b60c086a48b18263024d2801afa5ffa8838915de7789cd1d5d949892acc3b018e8191eeb06e8b
 SHA512 
f524c9e0d7d91eb6dd40cc017b04cbc46593ef2c16eae3da7018e5bbaab0213d7defde5d3958c83122cf5e6895a896f74e1401f0d0227d0240066f52cfbbe64d

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