commit: 151e9898c9ce351cbd0da663d099f068c0616e1e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 11 04:43:14 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 11 06:22:00 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151e9898
dev-python/boto3: Bump to 1.38.34
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.38.34.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 18f1df2ec7b8..654a6ac245cd 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -2,3 +2,4 @@ DIST boto3-1.38.23.gh.tar.gz 946184 BLAKE2B
cf405adb1f47bcaba2185f2c120b8642f8fe
DIST boto3-1.38.27.gh.tar.gz 948453 BLAKE2B
4f775c14a439b4ca204d6728a7b077ed901e9b92f395871b05e9de29e5ce82ac2ab179f4c1914b3d52627b77a5fae136ad003bbeb2d1460597f9fb7b4a1ab93d
SHA512
27ab3c3453b16649d58d6ee11ef62abd6e302889b0dc46067e4370af1e9fb4d75292886471f7c7fb530707c226ae78c42d0268d8cd9730fd27ad72ef1fb69d45
DIST boto3-1.38.32.gh.tar.gz 952265 BLAKE2B
a753ca5547a44cb8e163bb90b8446ebf535de5cdba95de5034aa6b196c3db8292afe6fe90e01fd1831fb3599b555779abddfd6ea7f07e406864dc70459dc9653
SHA512
6f81b22588e7de521c47b5621f85f69d50516c2b1f741f1dcc0641f3d57f2c7cf4cd40e833a911639b25ce08506eb1def013b0acd8ad50f5c196b894411e5dc0
DIST boto3-1.38.33.gh.tar.gz 952926 BLAKE2B
c273983f46a87d043adff81c98247b1f2f03af71550ea4e10777e26b28ae22ae2474189c5e8cf2ac68ad448430ccc38fe9cecb1e6122f771178c4306a85abd5f
SHA512
4c9a8bc7652c94dd72d0233da016993cd339497f64ce1f90f63e29844ff7c5937ff186b4656a40646e4333b10e17902b3cf5b77d9a5ff5a1616a9e0f1be22e9a
+DIST boto3-1.38.34.gh.tar.gz 953076 BLAKE2B
de42b8fd319754cca45805b86211431a0f879cabb1e243afdfd7cdc6e2408e960432aeff25007be4868940f72e2f6fe9834ec853bb18969a6b70ee6e39979ee8
SHA512
2d0f833709afc8b9aaf503a09414096bd996229aa2d0aba492c52f45b8702aa485896719ac3eb93a4f8668dc7f677d1b0ac796977a82bb0c179b63489a4e4b65
diff --git a/dev-python/boto3/boto3-1.38.34.ebuild
b/dev-python/boto3/boto3-1.38.34.ebuild
new file mode 100644
index 000000000000..0e521ede0704
--- /dev/null
+++ b/dev-python/boto3/boto3-1.38.34.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+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 ~loong ~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.13.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}
+}