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.36.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 1b97414be6e6..714148f1dcca 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -8,3 +8,4 @@ DIST boto3-1.40.32.gh.tar.gz 999127 BLAKE2B c892ba23e846c2bf7886bcd5a929462c014f
DIST boto3-1.40.33.gh.tar.gz 999591 BLAKE2B 783649704144d025df7206952167e66377e22d97694cb78f46bb39e458e75a747cca532016e8f3cb8305bdd0c9d0ebd1a04f56770f2a2e80fa1a970bc4e6989f SHA512 ba2a99784770e65a0b5abb8a65771d0f3577f656e5b9ccf06c2dcf2278901fc831ae09a37d2302fdce8940867af1e6b3b2209ce24d060a5bc2ec8f3c386fc91b
DIST boto3-1.40.34.gh.tar.gz 1000166 BLAKE2B 83554207499fad1452610e7cbcac1cf484fc348749e418798ff1b835318f03c21d84b45245fc25b392d7bb22231f8a9d208ea8f6df5bc1f582ef209f04bc0990 SHA512 417405f8099772525fded763542f11c6bfa9d8cc3aee444cc49a3a1b27eeffd6a28d624d2087318951c4b5d1745bc109c47af13e0b6ae5ada134b851160deebf
DIST boto3-1.40.35.gh.tar.gz 1001174 BLAKE2B afef89c4d20770e9d7a8fbff39c2783f25331dc89ec9a025b40afd93a5e5175d1dc041ff3f6e866cc122bb81348c455e1740e6d793ed0ac8c5bc885f1eeb6085 SHA512 fdc723da40b22d6d46cf8c39e5ffbf80918d1398bd8e639bebbcfa4c5bda0b405fa2ada4ea22aa207fa0bf41bfe2242469e870c9f61f20a40a2e90630acce7b2
+DIST boto3-1.40.36.gh.tar.gz 1002110 BLAKE2B 2e6e4a3d0d0c5a835f2f0ac8189c696e7dfce0d23fb5249eeb4e25fd50185e05229b1ee5208abce65865ef922c62b2816f6af98a32fcc1071fde824a5d518f7d SHA512 ad6240e80ecba5fe93c9cc9edad39abc8be43d1dd8835ce2b2dc7e0674b6ad86e3f956daa5d4328df46fb9c95ff15b43822435922a2b91aeaae05e08e016a3f6
diff --git a/dev-python/boto3/boto3-1.40.36.ebuild b/dev-python/boto3/boto3-1.40.36.ebuild
new file mode 100644
index 000000000000..90fb2a42e6e5
--- /dev/null
+++ b/dev-python/boto3/boto3-1.40.36.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}
+}