summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.38.8.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 435862b36418..9bb6ae51f7fa 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.38.4.gh.tar.gz 14586930 BLAKE2B 0af73a09979542d92656ecd0f4ad8bdc
DIST botocore-1.38.5.gh.tar.gz 14593808 BLAKE2B 2b9d177cc2da31dfffa76004ded8d1c71bdd8fc89006aa18218d0b5450b23ee953f3afd813e940197b6eadc84a9e46482b013ebdf512a3026d3e3694c822da65 SHA512 cd66fc5e71739c4880af2db7a08f11693e6ce89f97edd1af57f30b517ea28d75bfbede0d2188c197682d06012f8762e8018dca792ecc0e0b561631c076bb6eb0
DIST botocore-1.38.6.gh.tar.gz 14601398 BLAKE2B 9d997eb7b9a8bbf85406b3a71c6888186b0642298f14233944e403772155a7bbce4ce6d84582646d95ca262a15e734c1b5d1d4ea06a60c342e67f7d0b535d0d8 SHA512 22bdaf20838a77add2cdf1d91e3fdc30bc3b00bc5675d70d02e5201736321e1548e46a0b5f1b95c809bf9bdf88a96b55b56d4af5c4e18ff453aa82d54db6e024
DIST botocore-1.38.7.gh.tar.gz 14606158 BLAKE2B 626cb48312e5b32ba6d382eb2c385f460284518edef61170133cf1d73e781ff53be5dc19b8ddec6d8bd85ce80d59eb2c6682fda5e437cecc50283996f6b08981 SHA512 6a4e028b9cf88e427a9da361951f8372da487dbe4b9532ba3fc29c4da46945ac0690b4551c1dd124353da70675911818027cb5f2f6c22f3eff8fb9e632d98e10
+DIST botocore-1.38.8.gh.tar.gz 14606167 BLAKE2B cb92f6014349f5188d62ddeb043e7532c50c7edc984cabae918825cdace981694c37ba656afcbbb64e65e275da4980d5f256a945bbcc63f9609272b08690c3d5 SHA512 bc9096051fde740a908ef0912a0c205595e7df653a349c167f616a788423578ba6b3aed6fe6213f528faa32b1c946abf0ac66dd81afdc05d41d12a4af4f7e818
diff --git a/dev-python/botocore/botocore-1.38.8.ebuild b/dev-python/botocore/botocore-1.38.8.ebuild
new file mode 100644
index 000000000000..b75511187ff5
--- /dev/null
+++ b/dev-python/botocore/botocore-1.38.8.ebuild
@@ -0,0 +1,67 @@
+# 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="Low-level, data-driven core of boto 3"
+HOMEPAGE="
+ https://github.com/boto/botocore/
+ https://pypi.org/project/botocore/
+"
+SRC_URI="
+ https://github.com/boto/botocore/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/jmespath-2[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
+"
+# unbundled packages
+RDEPEND+="
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_prepare() {
+ # unpin deps
+ sed -i -e "s:>=.*':':" setup.py || die
+
+ # unbundle deps
+ rm -r botocore/vendored || die
+ find -name '*.py' -exec sed -i \
+ -e 's:from botocore[.]vendored import:import:' \
+ -e 's:from botocore[.]vendored[.]:from :' \
+ {} + || die
+
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # rely on bundled six
+ tests/functional/test_six_imports.py::test_no_bare_six_imports
+ tests/functional/test_six_threading.py::test_six_thread_safety
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests/{functional,unit}
+}