summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-12-02 07:51:43 +0100
committerMichał Górny <mgorny@gentoo.org>2025-12-02 09:22:42 +0100
commitef59e7c8a0e00887e912bb098f6d721c98fe44f9 (patch)
tree398cbeb96b0e8549e2309ca651d6f0c4f44feffb /dev-python
parent1c71682b9c9fb7b47b5a8c14165bddbd16688bc0 (diff)
downloadgentoo-ef59e7c8a0e00887e912bb098f6d721c98fe44f9.tar.gz
gentoo-ef59e7c8a0e00887e912bb098f6d721c98fe44f9.tar.bz2
gentoo-ef59e7c8a0e00887e912bb098f6d721c98fe44f9.zip
dev-python/boto3: Bump to 1.42.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/boto3/Manifest1
-rw-r--r--dev-python/boto3/boto3-1.42.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index a7249284e66e..665a7f1da5ed 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -8,3 +8,4 @@ DIST boto3-1.41.2.gh.tar.gz 1047105 BLAKE2B ac62862f9430604d6056e9ee9c0c6747bc8a
DIST boto3-1.41.3.gh.tar.gz 1047349 BLAKE2B dbabb10e58a122f654e1b545d966a0f2de31b8fc88ba9b29b71c296fdee6f9e2aefd5061c6c0a05ee52240455af9c9c7ddb374b76400fa4d69fc712f9957fa55 SHA512 2e228ad6a7ee514ed7b588599121719088bb7a5751e713e0971cef9dd44baab3cbd6bc452e39dc66209e3137bbd84605b7c1dfafcf8c88abab1fc655f66a7ff7
DIST boto3-1.41.4.gh.tar.gz 1047635 BLAKE2B 75e55f4ec2dfb460c1782faf01b896091667ba176c0a31b75e8cfca52f4fc0de3201214ebad798be793936d540e2042f177faf1a35abd4782b3dadfb96b40eb2 SHA512 a391726e7016d314b52e79ae7847929e36e856ae0dfb6be2d552d8a8b29c5e8ef2c9ab7fc603dae348918a055ae6dbb68b83d1899b5375fec45b9244623cf77c
DIST boto3-1.41.5.gh.tar.gz 1047828 BLAKE2B c4ff68f8851f56539998186d6dab74d015e5752aa3e1f29226ff67b7457618f48d04637a6532e73016203970be82ca3fe9f295dbf6fb68c6a126058bfe452999 SHA512 c41c80a42513ae9aa09789aed69798b8946042d9cbf9de67c8541cce254cacc06ee965d53d61b0bd773762e4bf49e533d6c9ca11c5bce390544be317b60a601b
+DIST boto3-1.42.0.gh.tar.gz 1051896 BLAKE2B 5bc423d834f4baba83b1e332b67fbfbe76b7dc1dc61e12750ebf3d25bde987d76815039980d3b30b5a0c8904c9fd4045900e03a7d593f99f5ec446e83e491279 SHA512 cd204476d704732077f12fa4be1ffb6ed6c535f5997ffdaae188d9b632604d613b60f0644768ccc4454255afefd2fe762f3590a1bbeada1ab53a2eee98421cb1
diff --git a/dev-python/boto3/boto3-1.42.0.ebuild b/dev-python/boto3/boto3-1.42.0.ebuild
new file mode 100644
index 000000000000..cd31cb2b5720
--- /dev/null
+++ b/dev-python/boto3/boto3-1.42.0.ebuild
@@ -0,0 +1,55 @@
+# 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"
+
+# major.(minor - 1).(patch + 6), sigh
+BOTOCORE_PV=$(ver_cut 1).$(( $(ver_cut 2) - 1 )).$(( $(ver_cut 3) + 6 ))
+RDEPEND="
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+ >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+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() {
+ epytest tests/{functional,unit}
+}