commit: 12510585ffafa940e8fb708e244f0301829c0b84
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 13 03:26:43 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 13 03:26:43 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12510585
dev-python/boto3: Bump to 1.38.36
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.38.36.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 490f033edd98..02a95f9cdd6d 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.38.32.gh.tar.gz 952265 BLAKE2B
a753ca5547a44cb8e163bb90b8446ebf535d
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
DIST boto3-1.38.35.gh.tar.gz 953837 BLAKE2B
f6c5dead06fcc0a1d2acd3e076d88767f25238c87a5145d36c2608e51ec95aaf13f12397df1820c933ce2b15c36062a2daa04b1f492a9b07231239a667bd086f
SHA512
2b2a87187850540541ec5c0a5f8c20c2e3555d3560966d064421cccb07aebf640cb3c833c1ce569b5a856ddf0fa8c7373e8c94db7693c3dbb55a88a11e52544b
+DIST boto3-1.38.36.gh.tar.gz 954319 BLAKE2B
9c0f54169c7cd186922c7d2f0dcab9219b5b9c8e983ca59a086cfcdc91bb0308a5c4f97cf191499820820c5e80f0a81faa97b5f57034244a04c4966455e9de55
SHA512
158200e740644d3804328c4892b37ce0de477cd80bea5bef4e1875cd97c6949f07595fda94f1c1f0b3428d909d83f9cca1478801cbcd6f6ea991d7715683437f
diff --git a/dev-python/boto3/boto3-1.38.36.ebuild
b/dev-python/boto3/boto3-1.38.36.ebuild
new file mode 100644
index 000000000000..0e521ede0704
--- /dev/null
+++ b/dev-python/boto3/boto3-1.38.36.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}
+}