commit: 009da55240448f95c1098b284e2c9999afbb8fe5
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 18 06:01:14 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 07:11:30 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=009da552
dev-python/boto3: Bump to 1.38.38
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.38.38.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 1ca08835c025..ed0245a4ed92 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -2,3 +2,4 @@ DIST boto3-1.38.27.gh.tar.gz 948453 BLAKE2B
4f775c14a439b4ca204d6728a7b077ed901e
DIST boto3-1.38.32.gh.tar.gz 952265 BLAKE2B
a753ca5547a44cb8e163bb90b8446ebf535de5cdba95de5034aa6b196c3db8292afe6fe90e01fd1831fb3599b555779abddfd6ea7f07e406864dc70459dc9653
SHA512
6f81b22588e7de521c47b5621f85f69d50516c2b1f741f1dcc0641f3d57f2c7cf4cd40e833a911639b25ce08506eb1def013b0acd8ad50f5c196b894411e5dc0
DIST boto3-1.38.36.gh.tar.gz 954319 BLAKE2B
9c0f54169c7cd186922c7d2f0dcab9219b5b9c8e983ca59a086cfcdc91bb0308a5c4f97cf191499820820c5e80f0a81faa97b5f57034244a04c4966455e9de55
SHA512
158200e740644d3804328c4892b37ce0de477cd80bea5bef4e1875cd97c6949f07595fda94f1c1f0b3428d909d83f9cca1478801cbcd6f6ea991d7715683437f
DIST boto3-1.38.37.gh.tar.gz 955163 BLAKE2B
9d7c7ca80492a55336647b4b882820f6798a457fbdad4e68447855ba76c710dbdcc6a0653b46dfdee58c6ac9241e4ac47bcc1b28d8777cc0c172cffedfb26c14
SHA512
8ff2c7238e51fcb979a5411208e4202efeb285caa96be97970a3dbac954475bc9867572bf3592f63e5bba1c49db3c452aa5fb07f063d7e3b9beb6414f5be5656
+DIST boto3-1.38.38.gh.tar.gz 956172 BLAKE2B
806880f39b8ef3a92859340beb1d31a3e2cec9cec00283ea10a9dc5fce8b79ca18f965ed47b6e07c4223dae90aee142f749f559650cff310ad40447dcc97a904
SHA512
3afe7fd3ec74c62be8befa8ed17f62986d223da0a94132513331b74224ad8a879e5835caef577676c2dc210fe40367bed896af0c45e9b190253267daf832faab
diff --git a/dev-python/boto3/boto3-1.38.38.ebuild
b/dev-python/boto3/boto3-1.38.38.ebuild
new file mode 100644
index 000000000000..0e521ede0704
--- /dev/null
+++ b/dev-python/boto3/boto3-1.38.38.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}
+}