summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-01-30 07:11:42 +0100
committerMichał Górny <mgorny@gentoo.org>2026-01-30 07:11:42 +0100
commit0fa95320801a67167989e2daf6eb212125f71237 (patch)
treebd1d2528d072bb430e0cc30841fc9671ee8a9b5c /dev-python
parent0de0447d34c9591af73c7f7fc094f1ac8ffceae1 (diff)
downloadgentoo-0fa95320801a67167989e2daf6eb212125f71237.tar.gz
gentoo-0fa95320801a67167989e2daf6eb212125f71237.tar.bz2
gentoo-0fa95320801a67167989e2daf6eb212125f71237.zip
dev-python/botocore: Bump to 1.42.38
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.42.38.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 40abb00c4467..d56312b91f23 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.42.30.gh.tar.gz 15764580 BLAKE2B 001377314a8c2231b838b48192498c4
DIST botocore-1.42.34.gh.tar.gz 15781471 BLAKE2B 694d24a74d14db50f6532c92032e3f0e213b777f701938ce3a8eb0f2120d43f41e5e1197c3d6ce6e1578ca731d6f56d39423b838f49cb28cd04924e268f0d986 SHA512 9f9d9f07badaec82c33c3d0d90cee0a54d8ace7bc54e4ca32716ca21498c600d8f0a321f9aaebb2fe4d4721819b62fca4e47daa1b35d09f8496f30055e66f257
DIST botocore-1.42.36.gh.tar.gz 15785362 BLAKE2B 2671eb300bc99285ffe42c07179df5324a824a306179c6c9d136791deecbebb2b9905b8c2c3c4bc8b0460c4f76d6824df7e3c82d672207210432828754138652 SHA512 7563c3346a6ee337984873602d303d84b4bd9ca5f707b86dba80898d50020ecbe0e6a8ffacb1d29505492ddff403daf63dd91e3c3018b5b180d464753b101b1f
DIST botocore-1.42.37.gh.tar.gz 15791303 BLAKE2B 03061062ead9b8c2170c897a0d17c96c1186d12783754ce4610d32578179b6ec773960f7b2f1b68bec83807219fee86fea6c3a9f8ecf47daf7ebf9cd89bdb962 SHA512 3b5fd451daeb6537efd10340c2edb35319cb7c5970c21dc7d6231fc726ec168a2aad2776e0fec9f21440498955e34aca2d2d022b3e5e98e94f7f49a8a95a33aa
+DIST botocore-1.42.38.gh.tar.gz 15793710 BLAKE2B a7c4be9316fb190097d39c3276343fd8c01b6dc88ef1bfd6b7db06648988e50edf33ec4b0b528c5513450af93763bc2372e66c531b96045855db01017facabd4 SHA512 a84d8d7470aecfd782ec355b1f36dfaf906832aaba8b545c4ea15026cf41bb2361fe01cb72fa10e370f4a5d1afa9a141f032a3d529ea541707d960bbd6b319b9
diff --git a/dev-python/botocore/botocore-1.42.38.ebuild b/dev-python/botocore/botocore-1.42.38.ebuild
new file mode 100644
index 000000000000..d43f8b5c5f23
--- /dev/null
+++ b/dev-python/botocore/botocore-1.42.38.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}
+}