summaryrefslogtreecommitdiff
path: root/dev-python/boto3
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/boto3')
-rw-r--r--dev-python/boto3/Manifest1
-rw-r--r--dev-python/boto3/boto3-1.43.70.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 879c1a207efb..a4cbbe7ff88c 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -8,3 +8,4 @@ DIST boto3-1.43.62.gh.tar.gz 1197144 BLAKE2B 574fe26ea4042f0a7bb0d1c408f7de26a3f
DIST boto3-1.43.67.gh.tar.gz 1203616 BLAKE2B cd97365972909b29f61a3b37fd3c8e945cca04f2bdc06598af6bff5360cc4bfdecc71a6bb818541cecdf0ec3594893604c447c99387079e56c64d7c8c974baf3 SHA512 d027d200a77751a953401ddec5aa6cf1df169179c1e9f3205a407397b79356f5c6ba2cfb49976a5ec0fff3c3674e87acde01b4f69f58e0eafa812a813dda64ca
DIST boto3-1.43.68.gh.tar.gz 1204417 BLAKE2B a5ebf09f16998b20af104641dd202603ca7a907be1433016ce55597f0902e0af2672fb9696b8634e936ec811b89baf166fbb1cf845150143cbfca919329267a1 SHA512 513fde56e4b596db1cd107cbc48e1b3efc78bc23135fe3b46b876f7c149ad372e979532e1310e34a217a283ad2559597db39bdcf01dac3c1e669735e0874bb15
DIST boto3-1.43.69.gh.tar.gz 1205736 BLAKE2B 0be12e789f8c617aebaec0480d45779746869500a5f6995b518796a7a3757225c47eafd691d83d17255a951d404f71102f5a1a4681acdff57439bacfacebaa7b SHA512 1dd8b17ac991e57f42ccf8eec646011911934cb67f61ef204d8a8892296b9b633789e2b26ba24f74b010113db2166b0161dd85201772c57ef243bdeb7707e6c9
+DIST boto3-1.43.70.gh.tar.gz 1206705 BLAKE2B 8f0a199765745454dfbe6304252d823d7ae6f1722ad4d25ae3249ae389ddc3785ee544285ee02e641288c464e028da8f0e4d479fbad108553970fa6faf464826 SHA512 89dd9a823ae109a3812cc1b7238c6d43fca7f772cfbad05988b91715ae1f92e8b92636cf5f3aa74634005d368629c2026bb5e4c83ceec6ee1c7d7f6c7c73bcbd
diff --git a/dev-python/boto3/boto3-1.43.70.ebuild b/dev-python/boto3/boto3-1.43.70.ebuild
new file mode 100644
index 000000000000..93fbbe6dd59b
--- /dev/null
+++ b/dev-python/boto3/boto3-1.43.70.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..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"
+
+RDEPEND="
+ >=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+ >=dev-python/s3transfer-0.19.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}
+}