summaryrefslogtreecommitdiff
path: root/dev-python/botocore
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-08-09 06:46:00 +0200
committerMichał Górny <mgorny@gentoo.org>2025-08-09 06:46:00 +0200
commit01f3a8db6446b2295891ad8b6966353bef2c20d3 (patch)
treea20f6ea57b212386c17dcdc4f4f9abc6468b68b1 /dev-python/botocore
parente47e7a303d6b4b6d0cdca9d0d6b352a35fdaf7eb (diff)
downloadgentoo-01f3a8db6446b2295891ad8b6966353bef2c20d3.tar.gz
gentoo-01f3a8db6446b2295891ad8b6966353bef2c20d3.tar.bz2
gentoo-01f3a8db6446b2295891ad8b6966353bef2c20d3.zip
dev-python/botocore: Bump to 1.40.6
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.40.6.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 6235e923b009..aecb92a099a9 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.40.2.gh.tar.gz 15059931 BLAKE2B f05f8d9dc04e8a7c04010711dd3864ad
DIST botocore-1.40.3.gh.tar.gz 15089274 BLAKE2B ec281c7a1fd99d904666d42bc2a357a97ded61808967af2d89bc97d47f14efba077f39011f7a5125ded3b498fb924c2909d68e6035d9ec4394e2f0da409788f2 SHA512 4fc67b660527bf0a83ade85db963f3f744130ca8e4e84a33c75e9b9acbb5190ec0d4e14f0cd50d4646a2035b67ef0e7bd030563cb796ed2ba89783a3743c072f
DIST botocore-1.40.4.gh.tar.gz 15090499 BLAKE2B 6afbc6ee43a90f3364db408cecdb91aa924edde4147cf47f5b332a56136282f802717a54384055e98fdfa60cac23aad90e804b5b9dce4a164ddf526b6353f499 SHA512 01ef86358796f77db76aa8034b4f3d1b52a34b400e1012c73a113ae18af644f6afba2c4caf1f4fc9d6f1725d3b56c58a7c08f263d5f1fd75bcf5214c8ffe85cb
DIST botocore-1.40.5.gh.tar.gz 15091481 BLAKE2B c0ab4c295227805ee84e72e30318b6672970f0ef886b619303d52b87a16f85526d6dc78161b0335b1ec62a1778a73cc35e7b9f1d19a2c468bbcde1715b3610c6 SHA512 d2e1aaf62a34b36174aa80bb281e991e0e1f0dbe61240cc0fb89221756fefae3aa9d4dec1c2e1768d1a4263f56e8a2cc0e0526cde4545fea9562c5b132667bf8
+DIST botocore-1.40.6.gh.tar.gz 15096678 BLAKE2B fb76ace4058c814bb8ef17bb216f5f7355eec401e4108d8a6569e07f97b14becb9e99652364dacb7e46e62f3ffaea2e5e1cd241ae832fe0a359ed58bbcfe3500 SHA512 faa311f29da484083f49a9ae7beda844b8878750c7474916ff7200b4a5fdc01e26295923c7a0f0bc4e4b1c22e5381f69546b8685fdeb2112f1c61810d3c9b58d
diff --git a/dev-python/botocore/botocore-1.40.6.ebuild b/dev-python/botocore/botocore-1.40.6.ebuild
new file mode 100644
index 000000000000..a931fcaefec4
--- /dev/null
+++ b/dev-python/botocore/botocore-1.40.6.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}
+}