summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-02-20 05:11:27 +0100
committerMichał Górny <mgorny@gentoo.org>2025-02-20 05:11:27 +0100
commita17183d07a0d7d81cfe5073264d534fc9e0cfc8c (patch)
tree02e40e35742dbc0d3e974a48eb203c305999e2e8 /dev-python
parent7990324ea2205285351639201fe7178da717da07 (diff)
downloadgentoo-a17183d07a0d7d81cfe5073264d534fc9e0cfc8c.tar.gz
gentoo-a17183d07a0d7d81cfe5073264d534fc9e0cfc8c.tar.bz2
gentoo-a17183d07a0d7d81cfe5073264d534fc9e0cfc8c.zip
dev-python/botocore: Bump to 1.36.24
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.36.24.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index efc23a5bb4e6..6ca00875eaa4 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -3,3 +3,4 @@ DIST botocore-1.36.16.gh.tar.gz 14211411 BLAKE2B 88ea5860e628985d7643acc430b62ed
DIST botocore-1.36.21.gh.tar.gz 14227102 BLAKE2B 66948337c21be8024c64ad5daf35dd5f04493c2f83b4873f6040faf1231d4b491ca6714f96756527b4b0b3ab8d2047cfc5a24188c78d5540b8a9ac8c22a009ee SHA512 3f370bcf80faefc54cfa4fb2e342c58a48bcc529247128571892b5c7c4c0ba74b5a184539a7fb2e85faf9e542698846f991120cc47f40e9aa61f2785b7aa7290
DIST botocore-1.36.22.gh.tar.gz 14276406 BLAKE2B 62385ded7bd21fd4d4d29446ddbb4eb977303a0aa07da1002d4c5a502929e325aac0b2a6ab0f45750ba47aaeb11c14eac7a816631968cad96aee15bb8ce2bb61 SHA512 a08dcbdcefe144f1f22dc58f906ca3600ceba13af697a7b3c1eab69ecf4da9b1b2b6458f70b144680026f0e7f1e0ffbd05f586acba97066ad82b2a735b4ac7a3
DIST botocore-1.36.23.gh.tar.gz 14276380 BLAKE2B dd3c8fc76e1b94c462c528965c53b6709c58ea20eee636794a88a78176f601150073de58eed668fc8a55a516fed7d903f1d629ca9266ecc50d76ca6c36543f2f SHA512 f4c56dfa09eafe2882b4d8d7356cc191e5268cd8661aeb57029f49cf046ad8a40375b7cf98f3390a7ba0ef1aca270444b5343d9320622a115bd6fc076d46f380
+DIST botocore-1.36.24.gh.tar.gz 14280552 BLAKE2B 33e689485e3f8812856dc51087f92e270a51ef199399c9ea3fde8a10203c5b3952f9f6f63c354c46b7ba3dbe98d9e2abd879ab1194dd046eeec3fc18ab0e3fc7 SHA512 fe713d5a9cbb95c52984672d0ddf26915e7c08642aa5c8eb7ba745d540fb29bfff53e212596313b922716db129090802f0ab14a22529e0bdb4239ed6996ac5c7
diff --git a/dev-python/botocore/botocore-1.36.24.ebuild b/dev-python/botocore/botocore-1.36.24.ebuild
new file mode 100644
index 000000000000..9e1580d45581
--- /dev/null
+++ b/dev-python/botocore/botocore-1.36.24.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}
+}