commit: 7d7550dbea75daec32a31e8de888935b1d71aa39
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 31 03:59:15 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 31 03:59:15 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d7550db
dev-python/botocore: Bump to 1.38.27
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.38.27.ebuild | 75 +++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 501812c1f655..d0eec63f2502 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.38.23.gh.tar.gz 14649388 BLAKE2B
d60b5e5d7fb445f332eed57f3317d3a
DIST botocore-1.38.24.gh.tar.gz 14651552 BLAKE2B
e4011257f1f1409446ad89d7ec332927c41d0d427d60ca7f9317ad57ba8cbd54448a3e4ee028533af7c2551dbcfe188f3c50e9a6fd33c18388671e5e969674f4
SHA512
5284444300ec18450ca2100b60f49877757ee0ca5fa3f4eeb865c02cf08a328113e5fa8491119afc65b86342f32e59215b75cf052c008650d8003b90ea6e3ca1
DIST botocore-1.38.25.gh.tar.gz 14659871 BLAKE2B
1450fac6d5dd5757f3ecfc2d4c564202b5da262d6001afdd412f48583b03a42a7acd70903fd8fc7543b7cd0caba382049964fb566628ea67022cbe7b03aa1599
SHA512
c32a9b2a9c693e8ff365ed3070952ffbcbe038b159942d879924fc22f8c81a9e268cde5e60c77f4188e4aaf4439a7fcd486c7b645c2c1a882827052689594781
DIST botocore-1.38.26.gh.tar.gz 14664354 BLAKE2B
c65c32f19cae3002130199e55ace2d5780c9f3fbea352ce361380595f7d9241bf5e9977b91431e33c27326b95d1bee51d8b1c902f10351170926a294c8fceb81
SHA512
c5fe100e0d59f16d389be081829e9c01d6a674d447d2fe3803e1a68f52bfe5683454a7f466703599f03bd805875332db22df4733b3cac3871ff9e15bf22b3701
+DIST botocore-1.38.27.gh.tar.gz 14666017 BLAKE2B
7527044c1b9586ac39b7cdaf1c51e6e263d3021015023e370a2ef30c600f33efd8e37697982148a99d56ec2e817b564f8c66cb75c1e8bd807858aad38fd6dab5
SHA512
2bc66dc805c610f96f52a8fbd716767dc0084f3d35517cc6c54d45a85330cb74c77becef234b323a72b9a9273211febb2604975fc2dbfaff3a51449123e6ad64
diff --git a/dev-python/botocore/botocore-1.38.27.ebuild
b/dev-python/botocore/botocore-1.38.27.ebuild
new file mode 100644
index 000000000000..535354aa3035
--- /dev/null
+++ b/dev-python/botocore/botocore-1.38.27.ebuild
@@ -0,0 +1,75 @@
+# 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_{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
~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
+ )
+
+ case ${EPYTHON} in
+ python3.14)
+ EPYTEST_DESELECT+=(
+ tests/unit/test_utils.py::test_lru_cache_weakref
+ )
+ ;;
+ esac
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests/{functional,unit}
+}