commit: 7ab37c7682f38e68ad141999d9a0713fd87b547c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 24 00:56:18 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 00:56:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab37c76
dev-python/boto3: Bump to 1.38.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.38.1.ebuild | 53 ++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 98245ff3a460..35b99c1b0cc3 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,3 +3,4 @@ DIST boto3-1.37.33.gh.tar.gz 927758 BLAKE2B
ed246a9e8966bfb51a3ef567461a5ec6103c
DIST boto3-1.37.37.gh.tar.gz 930327 BLAKE2B
93ed4e903189a9620f13e71fe64557ebcfa5c696688b4a21fc4de0f9d21f51fd3b9c9dafa4a5dc91fc88165c14207b17b3f121e9eebdf1c1ab7e55472573d2ec
SHA512
e19700633ccf6be76ab1baa0811c24d36aba7e0b8f1933fc10d1dc67d73ec0cd66a4c45ace1f2bdf815c3b35ffafaff2ce7ce9a4678e7f57984039f96d0f9fa0
DIST boto3-1.37.38.gh.tar.gz 930949 BLAKE2B
387213d4d7bf3eeec902f0720d8a5be87004a9a45f92243636a9ad8e4157cf5ab1b2673387959ae31fc6605078654a7f571bfbaa5cc421b27bb7912c91a93121
SHA512
1723f0b2239c5837759b5f0a5bdedb19decb4d179a5e9e1ef8412bf5f927eda89670578dfec9cefffa694ece5397e2a5a601380252ab125bfe99a968619d360a
DIST boto3-1.38.0.gh.tar.gz 932603 BLAKE2B
40fe6f942b15d86a248edf65ffc5dbad72069f929015363470d4df9ba6ee0970915ec536a285b29cb92fe46e323dfbc755195b5901d0c841eb1def32019fde9b
SHA512
9c4b9b478b0c4832a5b43f0efe5204988e7a8d644280a1e78cb7cfe12034453cf022d052271bfb133691a7a9def72bdb5cdadadd27b4bcf29beaf05f1654e351
+DIST boto3-1.38.1.gh.tar.gz 932855 BLAKE2B
d7625eec98e3637e633df3f63d6a7c57b92975525ac9cc02d7da5c88eaa2f92dd82c487ab2dcc76ea089658b0a7d87cedaa0b78119e8f0dae92404bafcee879e
SHA512
5965c775ae92236ebe20a72ba9a234435d73b16da832a366aa3ce506d165361aa68a5136083521f96ceb160b156b00a989f1ef4a756cb294182b9d6a1d626d63
diff --git a/dev-python/boto3/boto3-1.38.1.ebuild
b/dev-python/boto3/boto3-1.38.1.ebuild
new file mode 100644
index 000000000000..bc7a61d4d13f
--- /dev/null
+++ b/dev-python/boto3/boto3-1.38.1.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_{10..13} )
+
+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.12.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}
+}