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.38.8.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 5426f9977004..509fc517e3b6 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -5,3 +5,4 @@ DIST boto3-1.38.4.gh.tar.gz 934346 BLAKE2B e8c1a924d565208839ff3ad069bd19f022b2c
DIST boto3-1.38.5.gh.tar.gz 935622 BLAKE2B 57b3d454340298ae91904c7d343c3a663f782d773f98175d90b6e3ff39bee97a9f55a42193298e7690bcaf43af42241043eadc0c60b8549c104db2cd2df6dbf8 SHA512 d2cb67eea9cd06602ff25e791ecf66ef59901725f95af9b8d3a87099d862bdf5430dcf2866f024ebd13d41934eb0dd12c162e30d64c81d7b8e96850a40ce76e8
DIST boto3-1.38.6.gh.tar.gz 936598 BLAKE2B 592503453cf4ebe08005337e20d5f7f24926e660bc85c64d44f0503b9030ad3b2df4743998843335b6a3fcbe14f12c98f89cc14c153a1f55cda76c98d35af3c6 SHA512 570c51448dab236ff091f582ecbfb3e1fdcce7c9d0ebcc77ae3a0586a1917ca6c8569aa1c335d00b9714bcf2f6d4f4d43a6b54adcf0e439647b93a469d04bd66
DIST boto3-1.38.7.gh.tar.gz 936940 BLAKE2B b6a3a4b14d6f76571f0cd0e58f2faa734febf12423f1f642637e05998241f92d53073d8235fa7aaad1dec5d3a6985f1f09bbfc82ea9b69cdd610c6e104ac534a SHA512 33a3cbc5943fa383b8183f0f0334172b73b3ae2c12911b244e9063fe0fafb949160db4c1231f22aa0a13eefdfe42fb54c41d987187f12e04447cd4279c60695b
+DIST boto3-1.38.8.gh.tar.gz 937130 BLAKE2B 4158573a032957c33f62c6406937a45956f4ccf972be4a223e16a327b0b476402a1e7bf7d9b6a5b83005fc324f6c0062ed73008972cabed9247790225c4d4e5a SHA512 3c3854ed132ad4c81cd868848a370cdc73101ac3c578f8ae70bc53c9a98b1d85dcd364258027adef976b3c6d220aa45f865928c055c9320d3a268e0e29d5af63
diff --git a/dev-python/boto3/boto3-1.38.8.ebuild b/dev-python/boto3/boto3-1.38.8.ebuild
new file mode 100644
index 000000000000..719cd03bd71d
--- /dev/null
+++ b/dev-python/boto3/boto3-1.38.8.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..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.12.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}
+}