commit:     969fb98734041d25ea405d4c4005c15cc41f4382
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 29 03:05:48 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 03:47:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=969fb987

dev-python/boto3: Bump to 1.34.52

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 1799d0db5a4d..d88441c485c4 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,3 +3,4 @@ DIST boto3-1.34.44.gh.tar.gz 775883 BLAKE2B 
97648819e48af3bbdec76ca47f5532cf9f0a
 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
+DIST boto3-1.34.52.gh.tar.gz 778263 BLAKE2B 
70f022c094f6a8ed8e69bb00db2754d694e2b1433aa72391058d3a8f44f3b8f58a2b05d8bf211f6e64412e8dfab0d9a874b1dd2129851b768201c48a1157f4f8
 SHA512 
5cbb26c6f4e410ce5d491b6898e3263f7b3038d1bf3327cdcbdc0f0325f1699d2a5c82bc92326538c83a79c678d7f870a3fecf53edb38be121eb8c8be933a1e0

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