commit:     11f55c0cdf3db1b8274eb770c0a3d45b1617655f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 15 05:41:36 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 15 07:14:15 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11f55c0c

dev-python/botocore: Bump to 1.42.28

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 93e32696f29a..ff069f28c08c 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,4 +4,5 @@ DIST botocore-1.42.21.gh.tar.gz 15742994 BLAKE2B 
65de15224f2c720267d0ccd3c42001a
 DIST botocore-1.42.25.gh.tar.gz 15746961 BLAKE2B 
ba4474223e49f36be485d147d54fa5ed1b848022ef4d1fca9169c1cb2c29adafb487834e3bf99154cd658c9c3d47da9cdd6f42ed626c868e258b58aaeb0ce1c6
 SHA512 
3ab0747b0778d0d0172c12edc76cc7ee647e063c6b86f69998d02bee848cf1fb400c4e6e43ba6acad00846b18ce7de7acf7bab1daf6c1e864bfa8771baa17a6d
 DIST botocore-1.42.26.gh.tar.gz 15749490 BLAKE2B 
9a5d9116dd1e8c22d4a623f5bd23763134516827d39ad66ca6f286c2708a54f290100c4beb0c8a03de4eec87a4b4e671fc74ff89d73877020830ac1fa02701d6
 SHA512 
442dcf4bb6fd418d9ff2233c3eae7a46d205c6dda0a016599c79686d3053fe600c26589e175280c23a7b6a9331eb5e8a680d8d472fdc7c7d374e091ee66b9706
 DIST botocore-1.42.27.gh.tar.gz 15750229 BLAKE2B 
3f3d46b1f63bc430cc30e2e6018bf4a4f586ba8e2c0a67530ece4aed4f8feeef5193290179b448cc3ac7c8d410352c34abdcba5b015f5cd371712191aa14cf0b
 SHA512 
3b5453b57a15bf4ba4bfe98479cff71cfa61e5fe8fcbaf5ddf935bda40a02d4b609f28cf5db62af1d7393d602b0e2a1194c3ceaff47b34a67c4e0fa14345febb
+DIST botocore-1.42.28.gh.tar.gz 15755357 BLAKE2B 
9e8099c4e0629ca9558039b13a8cafc535cc2b8e7562c632e053ad8ab84dc23d0479790087152a4eea3323203e2a726e03ab71408cb525fd9a3ac397fb1fd60b
 SHA512 
2359cc8e6f7b0fd532e9c67b1f5ea3887a9963e274f9580a3060d54f4565c8b05c8c0ca1db941a9ad37ab03e7bfd7e81d020c7f9a7e640cd9311df2188ba46f0
 DIST botocore-1.42.9.gh.tar.gz 15723096 BLAKE2B 
2cb1489fa48546abe3306935367744f918d053e02af58d6b85ed84a50bbfc659ec20763055e9783d492f6f248af81e571b8452487bf8ca3267e15d12ce8773bb
 SHA512 
54cc19ca34474e8bfd7eda403452af24b6f73e611442ba4b7ed5f4f223ae279bdf95a3bc4945d16eba6ccca53d2dbefee6d2157ecb6b4ef23a1e960d5469dcc9

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