summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/boto3/Manifest1
-rw-r--r--dev-python/boto3/boto3-1.40.67.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 07e91421981e..52a87fa73987 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -6,3 +6,4 @@ DIST boto3-1.40.59.gh.tar.gz 1017517 BLAKE2B 31511c062e6991ba14b7bc7227f4b4a214d
DIST boto3-1.40.64.gh.tar.gz 1023920 BLAKE2B ca8af519caa4d3d4a20c808b3b9d263ad4d684327c29513d9fd37fc820f2d38c6a6450d6450d9a5355bdf4182e875a01939d69546821b00594b51b985fec31b5 SHA512 58010e4fbca89978aee5703e6e39ffe6116b31c1afb409335937de07e447e9027eea9523ac04e059c12cbf46b84ce88583b49356457978dc8d8491688fc2034d
DIST boto3-1.40.65.gh.tar.gz 1024259 BLAKE2B c8226b3da53619822865158c103035319143fd9da6598609e89009f17da333d44d88ea87a6a0d470595f20d2fde92e7c6004582a11dd3fe119f328a7da2d7e1d SHA512 4fe5b707987734c4a7b8b9a8cbf44daeda777d0398c9ec7958d0f798560d74e33556a2a6b23e914ce4874e005ec703c9e0688e287956cf506c438606e53e80fc
DIST boto3-1.40.66.gh.tar.gz 1024233 BLAKE2B da1ea6d102490204676e98eaa13ab7e91c550d1b249b2aca5f6c13aaf1e4fb6a19fe18b58e447ac231aaa0a188a1e76e8044697e082679f68541d4cae1a2f504 SHA512 137a6aa2d6e42d6ea777c44ea48e941f0327f071bede2a719e6af8d9e6eb34163c97669bcd4521429fd2e8031866f7d32646002b67221969e04804a3a2882548
+DIST boto3-1.40.67.gh.tar.gz 1025020 BLAKE2B 906e1d8264a4dbcbf6e46a5fa87f311ae8d574e300cca6a7cf9ca4c24da382ab6f04c8f70f08908395530289861b68c12578948b652c13dbca55d59b901868d7 SHA512 c2738fac9a71b6af3bfae56f996f6854bc7dbe976a635e98af9680f06cc556585156435a77bfe6298222b9b370587cfdad958df8275cabe47386e842a73f930a
diff --git a/dev-python/boto3/boto3-1.40.67.ebuild b/dev-python/boto3/boto3-1.40.67.ebuild
new file mode 100644
index 000000000000..90fb2a42e6e5
--- /dev/null
+++ b/dev-python/boto3/boto3-1.40.67.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.14.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}
+}