commit:     35df27472298b16490fab184c1e482b518db7f16
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  5 03:46:53 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar  5 04:46:45 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35df2747

dev-python/botocore: Bump to 1.42.61

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index d79a75241d3d..88c86b135316 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -17,3 +17,4 @@ DIST botocore-1.42.57.gh.tar.gz 15831429 BLAKE2B 
894a693b9d4b769011f493fba546fa4
 DIST botocore-1.42.58.gh.tar.gz 15832682 BLAKE2B 
66fc32d1a251fe4cdfd5c09a5f5ccc6131bc3b2b0e95e3e977a75aec65b02262b00bdb390f32fcbebd167967a9ba0879ff765ee922fcacef1786322dfe676599
 SHA512 
9aea418130e44d199a5c4406914034b38b4d0a4e4bd6d2a0d1745f3d934f4cfc55de92a4698fd1f957050648d49a53584168d73ca63a76fc150a9371d740bc5f
 DIST botocore-1.42.59.gh.tar.gz 15839997 BLAKE2B 
6adafebe89e98b9a609d93cba72dcde9bdaababb7ccec6199917b3b59e898c3fdf88b9ebc54d42bd59f74a596a1eddabc1846054453400c820f31de0724048e7
 SHA512 
fc26447e76b8cbc8520563a469c5047a2fa872449c277a21799396bf5c0b7f61f61dcae9403f9cc3e523bfe549cb45a105b7eff153aced7aa0ca7a7cc49664fb
 DIST botocore-1.42.60.gh.tar.gz 15840569 BLAKE2B 
d7fc6631be4348e6d9a7153a7da63fc975082157f3a3dad8ed9668b18f3f18801f7cead6bd3c7bb9f43416672cb987d04f60a8258c0cdbb0c9ceca8a7c0680a6
 SHA512 
9f1ee9651615d986dd7066586853e51bf1ffb052e7e1a517834788fbfd86c8d608a348387977508cab055dbd37eb61f41959c427e7c60c14f6a9d02b8d9c1c99
+DIST botocore-1.42.61.gh.tar.gz 15849256 BLAKE2B 
12813db9207aa595f4dbfeb30e33a4d8e441f5892f65e45e2d85452afd54db388f4433f6f8fb9e7c0ce541915736e80fedcd942626b2f08589c58a4761e6b021
 SHA512 
38d2253c5b50cf3cf6233b343df0d26bc126ae80261794415b84e80faaa828f4af5a5edf6e95541212269eb84df3bb9735daa8abae2ed95906ba8e0bf7df0e1a

diff --git a/dev-python/botocore/botocore-1.42.61.ebuild 
b/dev-python/botocore/botocore-1.42.61.ebuild
new file mode 100644
index 000000000000..d43f8b5c5f23
--- /dev/null
+++ b/dev-python/botocore/botocore-1.42.61.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2026 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"
+
+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}
+}

Reply via email to