summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-09-17 04:07:41 +0200
committerMichał Górny <mgorny@gentoo.org>2025-09-17 05:30:50 +0200
commitb4eb0bb9ab0b7b97a207a7cd4c9d4967c6eb6f4e (patch)
tree4cb5e08419ed4c1d31549507f20e26f09c291346 /dev-python
parent66742708b04ed82baa739983f3eb21a86f664dea (diff)
downloadgentoo-b4eb0bb9ab0b7b97a207a7cd4c9d4967c6eb6f4e.tar.gz
gentoo-b4eb0bb9ab0b7b97a207a7cd4c9d4967c6eb6f4e.tar.bz2
gentoo-b4eb0bb9ab0b7b97a207a7cd4c9d4967c6eb6f4e.zip
dev-python/botocore: Bump to 1.40.32
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.40.32.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 28d94333e9ab..6451debb0a54 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.40.21.gh.tar.gz 15110941 BLAKE2B 93927041ef8b5b3a6349a766a5f15af
DIST botocore-1.40.25.gh.tar.gz 15123642 BLAKE2B 71ba5fa27fa51782f213b1b818f15f3e162d8ef17c161494d58917806ed713157e12cfdccd998fe8df747eb66cda74330cbe0e7b665babfa7b71fc2fab569d08 SHA512 ea4ee30500317b84536d4bb7d694d110bdd2d5e202f267514d8e85678656e73f356b640809f56e21e030ce4e69b49431a51ee9cb14218529ac8b67b8cf406bfb
DIST botocore-1.40.30.gh.tar.gz 15142090 BLAKE2B 9293ad264156c749fbbc4b1a0a59c7a6616137ca67ff165d432fe915dab2c146213cc52d1bb1751d1ff63726a8e7253f32fb24b388d62fdbeda22751331dfe36 SHA512 32a8ef2cc393ee6509483388f1d31a0c27f96e1105fc42929abc37b21bd065875a035cda6de6e041acb3bdca04a7f9b1e4b88be7dfc88e8fe55d3843cdba20c8
DIST botocore-1.40.31.gh.tar.gz 15136672 BLAKE2B 9a7864ddb0939bdf84927f34369fff00e54ad52fa1ccb5923410d62c210dde6ad46bf781447af2b8e575bb94be3d24f856769f5a29c822e0380cb39164f12d01 SHA512 03cd332c33515f4b0354ce22a82287893dddda37a93ae0e1c51c7eef9bfacfeb45acd32ffbfe902fbe1c2a66621100a8cf6e6b82ce580f90cb13e3ef261ff36f
+DIST botocore-1.40.32.gh.tar.gz 15140179 BLAKE2B be42af94bbff38d7bfadcf5e08e3b05e904ce5483704c7ce77b64e606c9ed6f30330c170d16e1b1ce4b4321bd0fe8fc2f0edf48c11b289ca44a280d274c3335a SHA512 efd31a12e0b1daef7fe8942b9f036cf92534bdbb5333020b85d543d7c4e45aaaa76bb5bebf500d3eb6d60d93c45c70098adcf51466d2645c0ec677579d10dfe5
diff --git a/dev-python/botocore/botocore-1.40.32.ebuild b/dev-python/botocore/botocore-1.40.32.ebuild
new file mode 100644
index 000000000000..a931fcaefec4
--- /dev/null
+++ b/dev-python/botocore/botocore-1.40.32.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..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 ~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_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}
+}