summaryrefslogtreecommitdiff
path: root/dev-python/botocore
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/botocore')
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.43.51.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 4eef8411136a..461197fe5c14 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -6,3 +6,4 @@ DIST botocore-1.43.47.gh.tar.gz 16683434 BLAKE2B ff7b769b782fd8c94e3faeaffa095f0
DIST botocore-1.43.48.gh.tar.gz 16688909 BLAKE2B 18765fa54b970c5792bed052d910faa1179b8813000da14da41c72735c1a91f86286222b1614fd6b70d6793216e4f35017d42007b9c3a18c92ae03803c5854ed SHA512 560bcbb47f8de85de29bbcd359a01f314eaea8a38298e31f6efdc43b17fb307c10aabe7dfd19866a9fb37b4df42aff1e77f173c105d1c3a46e0117d1b40b5d40
DIST botocore-1.43.49.gh.tar.gz 16696979 BLAKE2B 2a3257c70719fa6f8b6e55f55a0adedb2f3af261a7faae2a7469eacdaba62f3361984be172e611d445f2dfc13ad392142532a879775fb670ee46d187891acb59 SHA512 bf9e9d1141fa83f7153fd9bec3a05d4d7f295a9947080c19358c29b86868687dc4cd1371e34149a9af13236c9043efe1fea356dc3266bb1cc34603e5e41165e4
DIST botocore-1.43.50.gh.tar.gz 16700459 BLAKE2B bb521f40fce6272e1bba2330e07c4524bb811b9c4abc2b1d5c30f179061a9d97f1821c05963e5f12457765229a0de1b1c6441deab811078c23f0786a2cde42d3 SHA512 605a52e05bba219faa6a54ab3aa20e511ebddaf572c98d8be1ff899dfd9cc15c72bb9e6a23c6d634b5f6c994ff6e3215133f43b215be4664c968c8e005944748
+DIST botocore-1.43.51.gh.tar.gz 16704426 BLAKE2B 0c293805968a448b093654c57df15d83f400ecfabc965c7449194fd8fa62f6d547da5baa705eb52d4fa26e00943db81af7908a366d210bb6dbd56bccbc79a868 SHA512 709fee1bed2e3e25ad6da78d42974683c5d03507beadff4e4ea4f554f8fdbaf9ef665ef6d99defd170eba003a6750379a299a64187a31d23cc0dc5a18c904349
diff --git a/dev-python/botocore/botocore-1.43.51.ebuild b/dev-python/botocore/botocore-1.43.51.ebuild
new file mode 100644
index 000000000000..a3a161f78545
--- /dev/null
+++ b/dev-python/botocore/botocore-1.43.51.ebuild
@@ -0,0 +1,67 @@
+# 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="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"
+
+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_PLUGINS=()
+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
+ )
+
+ epytest tests/{functional,unit}
+}