commit: 4d56abe4e22c12959937892bdada65dee1df6942
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 19 05:14:49 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 19 06:24:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d56abe4
dev-python/boto3: Bump to 1.37.37
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.37.37.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index ef51f837ab83..fbd3293686b2 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.37.33.gh.tar.gz 927758 BLAKE2B
ed246a9e8966bfb51a3ef567461a5ec6103c
DIST boto3-1.37.34.gh.tar.gz 928447 BLAKE2B
6ade9d543c59afba13a523cab308ce655b97862011f73e2b19f71a1a877cb0e5fd67427b95bc22714283595048796dc782df2b2071bee4c5f0c40f0dac35d31b
SHA512
36da2ef1bbebfe08e2c9f9dc8ed994e1d7194186aae25c72e676b040f93e56dfad0f1719b90ff6b9fa2ca1176ec9bfdad805b04bd1753cf36335e279f5ab598f
DIST boto3-1.37.35.gh.tar.gz 929188 BLAKE2B
2c52cb547eb800f445a152e0a3bc870456b127f11701bcb3f9b06b353c644cfa79253652a836e35db5553adbb44b52410c480f3a150283ef8684630a20691a67
SHA512
471519fb2aed853231fea863c48357125e7606b67bb9c796fc551bed0288f04c848e1b906ba90ff1b64bcfe469868f737aa542d44acf83fbf4159b60b3c43184
DIST boto3-1.37.36.gh.tar.gz 929841 BLAKE2B
8e027aefc8be5deae08c83d99b78ea2569c4fc666349231ce440a78e357eafb43c1e866d109d5d6f4e14c3e5f52d4c9c3083c3e158dd84dd95955772fead608e
SHA512
31d36e7bec19e1e79490fa42a8629eea6b870cb92f8522d051fb0a8ecba1a88c20f463ccc15e6621f881afdbdf4e65bf4725e35c5c9348e732d76ab21cb7e73a
+DIST boto3-1.37.37.gh.tar.gz 930327 BLAKE2B
93ed4e903189a9620f13e71fe64557ebcfa5c696688b4a21fc4de0f9d21f51fd3b9c9dafa4a5dc91fc88165c14207b17b3f121e9eebdf1c1ab7e55472573d2ec
SHA512
e19700633ccf6be76ab1baa0811c24d36aba7e0b8f1933fc10d1dc67d73ec0cd66a4c45ace1f2bdf815c3b35ffafaff2ce7ce9a4678e7f57984039f96d0f9fa0
diff --git a/dev-python/boto3/boto3-1.37.37.ebuild
b/dev-python/boto3/boto3-1.37.37.ebuild
new file mode 100644
index 000000000000..b087a88814e8
--- /dev/null
+++ b/dev-python/boto3/boto3-1.37.37.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.11.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}
+}