commit: 2c505c812816bf20ff47bd5d6e99418e7ece8b43
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 12 04:10:26 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 12 04:10:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c505c81
dev-python/botocore: Bump to 1.37.33
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.37.33.ebuild | 67 +++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index c4444634d1bc..5dbfab686785 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.37.29.gh.tar.gz 14534398 BLAKE2B
22916213e7dcba5c6e17105a6abf275
DIST botocore-1.37.30.gh.tar.gz 14539545 BLAKE2B
73b3c393d5da95b89d798695ba1fb656017c9d3754371d2d6debbcac8e33795d27bad0fd18258b0381148cd2fd45cabadc59a17745bf1908f23342bbfae3b60f
SHA512
8f6d8b963e06b94fd373ab54a84c4083c9a55637d88cb75d2844e094dc1a6ca7a954b215f71515841a6a2776526f1807c2a50983f6417b08057bc2ca843ac390
DIST botocore-1.37.31.gh.tar.gz 14540600 BLAKE2B
872049187a44ff5d7099902c10cf68a83983421798eecee50b02d8b5bd646a04f22ed2b41ec84374499c9d97ed6a2a4fd4e39b5de77e0c8e56fa94c31c2c94aa
SHA512
0fffb63321c4ff58533c121e18a6a3cb4cf1587ce0a6fb8ddacc02d52e50de91f278e928dfaad8801b7f081761e0c7ae311a6acab386bdea6de917ddae13cced
DIST botocore-1.37.32.gh.tar.gz 14545157 BLAKE2B
19f5ce89320d0c9d63dffbb40b510309be89e183b49ab6aa5f35b264bb64c6940f527dee7696c334265042c79b5c2d79250f8941db7293c4d464262a8baa8626
SHA512
f90c90a9985e8a36c5c75a072517da4ec762edd08091c19db8fe3821f294e7f8eb09d28359606c0b8a946f36be415bca6e4085c2296ce0d1280407b9fe757ad1
+DIST botocore-1.37.33.gh.tar.gz 14547041 BLAKE2B
65fc9cd205b582dd5b046670dec5708d16e638789edfa3c3c6126f404b83a150210d92bb108156540523b0ed30ad06b5ecaa832ed8c751b99ba49b8cc975e4cd
SHA512
e07480e100aa3b58831fb76f58d69e1ccea85c629ce9048909d51072d1b2a66ce10b65f97bfc0b82ba5235257035e85442b31b09a3fe4bbb2dfed7bcbeebfc37
diff --git a/dev-python/botocore/botocore-1.37.33.ebuild
b/dev-python/botocore/botocore-1.37.33.ebuild
new file mode 100644
index 000000000000..9e1580d45581
--- /dev/null
+++ b/dev-python/botocore/botocore-1.37.33.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_{10..13} )
+
+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_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
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests/{functional,unit}
+}