commit: 0bf27c168231b83041bd329bc6a2105d6bc03ddb
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 19 02:18:13 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 19 03:03:43 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf27c16
dev-python/boto3: Bump to 1.38.39
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.38.39.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index ed0245a4ed92..246b2368bc96 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,3 +3,4 @@ DIST boto3-1.38.32.gh.tar.gz 952265 BLAKE2B
a753ca5547a44cb8e163bb90b8446ebf535d
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
+DIST boto3-1.38.39.gh.tar.gz 958398 BLAKE2B
dbbfc1635cc30103daa1dd7de197176bda4d35d9a27d12bfff33202fdf94dc8118b6a3dc8e250ef951bb0b047f0c28eb6c04ea1bde876c445621a9258d30a409
SHA512
d84ebcd930e233645400b49ca0fdf48c391d85aa33cc25fad8c970bc5add77b49365ed61041fdb58ea66cda4f2118c1edd606209120986544fc796d5f0d6dca3
diff --git a/dev-python/boto3/boto3-1.38.39.ebuild
b/dev-python/boto3/boto3-1.38.39.ebuild
new file mode 100644
index 000000000000..0e521ede0704
--- /dev/null
+++ b/dev-python/boto3/boto3-1.38.39.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}
+}