summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-11-14 02:57:32 +0100
committerMichał Górny <mgorny@gentoo.org>2025-11-14 02:57:32 +0100
commit864bd5a7f8e0554a6f5fe3243ef3dea3aa6eb1c7 (patch)
tree742ddce613fa65f760e4d40e3f06ab22a3c2bd42
parent63e05ab0cdbeaf55e144b38bde9a33eaba3e6188 (diff)
downloadgentoo-864bd5a7f8e0554a6f5fe3243ef3dea3aa6eb1c7.tar.gz
gentoo-864bd5a7f8e0554a6f5fe3243ef3dea3aa6eb1c7.tar.bz2
gentoo-864bd5a7f8e0554a6f5fe3243ef3dea3aa6eb1c7.zip
dev-python/botocore: Bump to 1.40.73
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.40.73.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 74f9e15b66f4..6e3e2c0b88ba 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -7,3 +7,4 @@ DIST botocore-1.40.69.gh.tar.gz 15265787 BLAKE2B c567c9d2cd25d98e7055b829ca33765
DIST botocore-1.40.70.gh.tar.gz 15269974 BLAKE2B 8027b9c8439796ae28768ca127c7ea239afe70dda0f048715b933fb35552f00fbcd5c87599cf673cd9ebb260a9254bb18fe59cb4787e3e0b4198660140580c35 SHA512 e36fa0f865f119723a5fc2a3884035af5a2be7a499e4cc442fc060bab6bd8fc4382fef7144fbbc1fe2d5a9b6bad29fe1baf65c89e98f21eb58f5154809748db6
DIST botocore-1.40.71.gh.tar.gz 15272822 BLAKE2B 0637e4bea27fdf3236f174b2873c477bdd173da65c3d24b09d70ed98359b213494bb940ef26cede57009443a00987199dc05dd99109416c3cbeee402bf62ded6 SHA512 7d717f5655004de89f3c3e9415ff64d68315f33598f8b89441c8e3e0e4a59512b2a23e16ce0c5200268aee5b7c67e43688a483cad852d5cb0b497e8abee36bd7
DIST botocore-1.40.72.gh.tar.gz 15277307 BLAKE2B 60e4046543cdfae7c949baac55e9df1ae341f4df5612b870c300126e7ad67c9c64898128660258994094944258bfafef3a10dc15f1ed7edec08c5278345dfb39 SHA512 8851041c3b622a0492f945f0e202b16e118efc872c7b6adaf3cb07e3d46b202eba2b234d5dea2d0649a821a93efc11f48cc351cb124cb34bb4e151eb6cbd22d6
+DIST botocore-1.40.73.gh.tar.gz 15284146 BLAKE2B 7ffa02e27a33f83af128c2b8e0cdbc584bbc1ed6f727258f68001339280b5e59ec123398e70be0d15974c757766e5db8d2129d22ce276cf8b78010e7206e20f1 SHA512 89899fbcbb1a0e0bcb62dce67ed468bbc284c024aa315d947df917cda16f93a13a961509bcdb3adf238cb37cf64a17e49c04af1d96aa47984dc3ff98de768464
diff --git a/dev-python/botocore/botocore-1.40.73.ebuild b/dev-python/botocore/botocore-1.40.73.ebuild
new file mode 100644
index 000000000000..a931fcaefec4
--- /dev/null
+++ b/dev-python/botocore/botocore-1.40.73.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}
+}