commit:     66a62471acbc5554c8e7c35ea8f35637fe3692d9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 26 05:28:32 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 26 06:34:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a62471

dev-python/botocore: Bump to 1.37.20

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/botocore/Manifest                |  1 +
 dev-python/botocore/botocore-1.37.20.ebuild | 67 +++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 64168b74e89e..9bb1e5db8323 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -1,4 +1,5 @@
 DIST botocore-1.37.13.gh.tar.gz 14365580 BLAKE2B 
5dac1351dde66b7a2591faedd6ff9f0a05b02d7fa5f2d9f212a25e979f8b6f2a177c23843ee9d5949e83ce9cb44cdb1c9b75a9ee3e9e21ad69fa99458d733fcf
 SHA512 
6635b42a6c29e6fc8293535f939463a77bcfb9abd7211a3043d9da60ecf291fc7bd8704902bfca0667be37448b1d5230393afaf1d32ef5be821d8d60a8578144
 DIST botocore-1.37.18.gh.tar.gz 14386605 BLAKE2B 
541cfccf5251a7534751a48de2e1c4d652b6ec65c94311de23ed7cffc582f9ae7ea13e62714e41e6eb49c6135bcd054bce5985e4fb06b30babfba7f9791ce2cc
 SHA512 
3eeb4cdd098a7a2867ff44f189087c4b331ce32a81dea989ce78ece936f9b087cb995779d81a6cd730c8fca528243b327f7d4a0dd58122dad21f3a5536a4f577
 DIST botocore-1.37.19.gh.tar.gz 14389031 BLAKE2B 
6ba7ae5ad3effdb74b08d7fdf6b25b12f8bf93fd2aa61aa6f1b1bd45aa102018e53b8e45681282e04c00d22165e48358d4dee7d91d7eebba2b5b48590abc3015
 SHA512 
34a74dfc0df915416d045a659b54f4f1d67f1164aea86e62170606e07de2febf447b4d9ff605c9eb14dcd31af4e7cf9dbc88b4fd931ba7bbee8c530785cb6aa9
+DIST botocore-1.37.20.gh.tar.gz 14391159 BLAKE2B 
918d42d3809d64d0d428334b2a6bd5d66ec710c3f03d67d453112fb961d2097cc7066c1f9a26bb0123af753db180693708ea04872694b37e2ce11314beb3845f
 SHA512 
b6503a276881c86c17653130b4183c2baeeb0861e74d5621e8f3d0b6faa240e2e7c33e7b3209141d8fb4b6666fded16c09e233935983a12bf3f86619cebb6574
 DIST botocore-1.37.9.gh.tar.gz 14346488 BLAKE2B 
29ac550ad462ab7c83bad7989588ec62fb57959586a8ec91be9756d90712ad86e3dfd813a347e619b7cac3fd7afb56affcd81926e15d91b8d0ceae2cd4436a8d
 SHA512 
e191c9485e95188049c02020fcb32c4429de6cfd78f237a2026200b7240890d5759f5cdd96166cd2aec035dac82d32db155fe00d9ec6be482c655cfdb44265f9

diff --git a/dev-python/botocore/botocore-1.37.20.ebuild 
b/dev-python/botocore/botocore-1.37.20.ebuild
new file mode 100644
index 000000000000..9e1580d45581
--- /dev/null
+++ b/dev-python/botocore/botocore-1.37.20.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}
+}

Reply via email to