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.42.97.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 2b0d442a0624..03df048bb494 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -5,3 +5,4 @@ DIST boto3-1.42.83.gh.tar.gz 1114541 BLAKE2B 8f43a35b343b6d028a7e864a9aa78b4215d
DIST boto3-1.42.88.gh.tar.gz 1120718 BLAKE2B f45f5c0ee3a6b262f4e49a5fe670a225c1a3ea429072ad7a6318ac21802016aa8cf69a34c9a1d7dee710d6f8b5a2ba604825bb10efa6bc9f5b6a5c627f76a5ca SHA512 121dfb7ea610fb8689e53aa8a5e8bb203458b141cc48e725dd2df756d70b6d1de251e202544dfda07ce006958e96876ade58eeeac32053badd15d3ee4d090b73
DIST boto3-1.42.91.gh.tar.gz 1124704 BLAKE2B b6916ead939d892467698a93b7fa9257f094cf3095465a38010ddbd0125e8ad042a28b10c4ee260e12e2819504855ab11ce18ab4100405c95ceec5272a894e71 SHA512 f6c8fc30f6846dbf9dce51177306cea7794bd74438322566ad7f5d6bdc60ca419b23dd08c5f92ba9a73fca8c8bc017555167a68c8966a0a0d04851e81c9a7990
DIST boto3-1.42.96.gh.tar.gz 1129293 BLAKE2B 186684ffe3d8e776e6f7462b4c7fdd996febcfc84ef87b3fe7399bc44bf00578177dab353d758231d0b2437fdbbef9204fc58b2eeda8f5be95b1d74e967c0d1d SHA512 c265a94e7fb4e7ed19e2f5aa152410c83d8e171373eb95c3572e8cc03fae6371c2ee7145722adffdab4e680b8f2abd0f3c3f4ff52bbd20fdfccd932f30cb9a20
+DIST boto3-1.42.97.gh.tar.gz 1131087 BLAKE2B 34f150787ba8d312ac69b627a3db4d7ed0067beac56c18e2c5660448aeb389bed270fdac8c98b009f94191338741998ed482deffd4cb2e4ec2a987a719acb5a5 SHA512 cab47d3383b780e772b88afb1ce49d54050be711c4dd203765f9780607dcf409be4b2871014884684aaf8dcdaf1a2178baa8ca1188bbf31aceb64d8a0ed800ab
diff --git a/dev-python/boto3/boto3-1.42.97.ebuild b/dev-python/boto3/boto3-1.42.97.ebuild
new file mode 100644
index 000000000000..6e5f06a012ad
--- /dev/null
+++ b/dev-python/boto3/boto3-1.42.97.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_{10..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.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}
+}