summaryrefslogtreecommitdiff
path: root/dev-python/botocore
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-02-28 06:36:08 +0100
committerMichał Górny <mgorny@gentoo.org>2026-02-28 07:38:11 +0100
commit7eca22a767e24d8a40e60bc9566c7cfb8cd780e4 (patch)
treecc4c3f31f8b889d5fdb5d05e16c5791b2eea4f5f /dev-python/botocore
parentd88be6fd74f3e4224b8d9d03562755641a5199f1 (diff)
downloadgentoo-7eca22a767e24d8a40e60bc9566c7cfb8cd780e4.tar.gz
gentoo-7eca22a767e24d8a40e60bc9566c7cfb8cd780e4.tar.bz2
gentoo-7eca22a767e24d8a40e60bc9566c7cfb8cd780e4.zip
dev-python/botocore: Bump to 1.42.59
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/botocore')
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.42.59.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 41bb702c90c4..2fc1a7ebf33f 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -15,3 +15,4 @@ DIST botocore-1.42.55.gh.tar.gz 15814283 BLAKE2B b97e4be1a5e14706670742fb706e3d8
DIST botocore-1.42.56.gh.tar.gz 15829334 BLAKE2B 534b02792685089ede7ce7c9514a4225d1fc78161847bda26b0772ed9aa3a9bedfd9ce20067b1d207af70eb4e028c5ced23146262bfa313af3d4e184db253a0c SHA512 dd0e7bc7703ebe846562a357fb581654c0c678df882399ec8b6d783b01bbac01f638cbd51a891ced08d97f087a240c7f02adc635dc6974d8a3f1392da19e00df
DIST botocore-1.42.57.gh.tar.gz 15831429 BLAKE2B 894a693b9d4b769011f493fba546fa473ab570dfe3cc31ea4ce4699378295df343f158a9beaadb1724a1b88dce8dd262c29b0dc40f8d0644fd60e98d20a362b6 SHA512 76ebd7f3e442e2b9cde912deeedc15a0d6729413724040b6ef5b490e4dfab4aab9188eb49d5fa84a3535afab67330a827f6f0d51d9c6eac1798c6a6326eeebdd
DIST botocore-1.42.58.gh.tar.gz 15832682 BLAKE2B 66fc32d1a251fe4cdfd5c09a5f5ccc6131bc3b2b0e95e3e977a75aec65b02262b00bdb390f32fcbebd167967a9ba0879ff765ee922fcacef1786322dfe676599 SHA512 9aea418130e44d199a5c4406914034b38b4d0a4e4bd6d2a0d1745f3d934f4cfc55de92a4698fd1f957050648d49a53584168d73ca63a76fc150a9371d740bc5f
+DIST botocore-1.42.59.gh.tar.gz 15839997 BLAKE2B 6adafebe89e98b9a609d93cba72dcde9bdaababb7ccec6199917b3b59e898c3fdf88b9ebc54d42bd59f74a596a1eddabc1846054453400c820f31de0724048e7 SHA512 fc26447e76b8cbc8520563a469c5047a2fa872449c277a21799396bf5c0b7f61f61dcae9403f9cc3e523bfe549cb45a105b7eff153aced7aa0ca7a7cc49664fb
diff --git a/dev-python/botocore/botocore-1.42.59.ebuild b/dev-python/botocore/botocore-1.42.59.ebuild
new file mode 100644
index 000000000000..d43f8b5c5f23
--- /dev/null
+++ b/dev-python/botocore/botocore-1.42.59.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_{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"
+
+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}
+}