commit:     840cc926c6586ee91f46203bfa92a38902e16fe7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 03:39:36 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 22 04:48:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=840cc926

dev-python/boto3: Bump to 1.34.110

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 11ccf39c75b2..f56402a4943e 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -2,4 +2,5 @@ DIST boto3-1.34.103.gh.tar.gz 807394 BLAKE2B 
da291c86a8b20bcaac5f93779899bfa5c6c
 DIST boto3-1.34.107.gh.tar.gz 809164 BLAKE2B 
ab11e6bd87ee2fa473e95fc1a135b90769fbde948ca7c9b4c5f1679a10036778ff37b1473e57dc957b5bfaa3a36bd05cd968bbd585f0ab92772aaec0bc3ae868
 SHA512 
388e1748480a7176b74ffe0142e2a9cd5e95c9badf054053f076ef4c5bd77f40d7052c457a5a671607d551473c0d82f26ea3f88e505127d642429bd4651c69db
 DIST boto3-1.34.108.gh.tar.gz 809808 BLAKE2B 
56d21fdc35917426ea94f27ee4c7a59bc9eb8b265bdd6366216df090e25e834a7045cc26559b4773a12771a825054462552a44a701acabf2ba662aae9aee1f90
 SHA512 
d286bb99b838469b8f467f54fcebba4f3712fd1247cda227ba42dab2690ddc937368edcf54452b1ea555d19c9e0f8852c7ac01f0a3612b0592b16e97abbb6697
 DIST boto3-1.34.109.gh.tar.gz 810229 BLAKE2B 
7d0af8783283715d281df2e68284aa98ead02c764892ec53bdff5212b470c561da4a52b94c62936a20d36a1bd32dac560a38e59577b34d9f82bbee197491e94b
 SHA512 
f35cfb8cbab03c0c6856c01f095cf593c188ab81c8f9bd9c7f9d4e3ca654204795d19810ed701d31ee48f0a34ae1d47437b64ea5f7090708976e7d883677440f
+DIST boto3-1.34.110.gh.tar.gz 811067 BLAKE2B 
5c030d0a52081a2e931c85611b510558c79a3079d3aa445b82bf2421424c00076f6f0d415dbec838cd437e680470652245595ec8a83e835eba3480f147f12a45
 SHA512 
e0780b1cca01503d730f01423cbab369cc0c4de8fd2e59033e64779d41c3d648aa54a8b80b6997d1ad9f2bab2673e426a3c1b5bf6536fb0f4248b0c7eade8512
 DIST boto3-1.34.98.gh.tar.gz 805719 BLAKE2B 
5cf7f0cc415e25c8b41aa464b636b1683f4e71198569f5eac3e6e43cef7050e20e92c3fd988517fc1463601073b41b0b9c668a58bb866d03b83973c9b9cd976a
 SHA512 
06cab81bbf73a9c37b68e0312a7c587bace700b8032e283b6782c1275804ea7c93065c4282837957b5cf3523d50fe57319a54af494262e2666f65440da9771fd

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

Reply via email to