commit: 7ec63123f74bb5fec17060ded03fcfa798c1c2f5
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 7 03:29:04 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 7 04:39:52 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ec63123
dev-python/botocore: Bump to 1.37.8
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.37.8.ebuild | 67 ++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index f829fadfb025..751a6ad270a8 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.37.4.gh.tar.gz 14291786 BLAKE2B
ab55a62f2291e623e61a0ec671224181
DIST botocore-1.37.5.gh.tar.gz 14298752 BLAKE2B
99aade487be0277f66f0df5c4631e36c3972c4b14e7579bebd643044d9d2fb5264764053d5f0cd63b1d72d97c801e2ec185a07b8cea4551eed4978830ba791d6
SHA512
b7fbc9861aefe159ac0023d17fd72d9b2483b219244689a68c8f821debd8ba9420d85b296ef7a0a3ed881f286497722e78e78a43084efd5ddd48650d0d8433f0
DIST botocore-1.37.6.gh.tar.gz 14320730 BLAKE2B
04d3c9efe73b815740550da2e3a447b52abd43e73e97b6186aaeb0433da75141fab145f2a10b59902ff50da7040297af93f4217329e4a4bb424681d7c55e5e2f
SHA512
7435609ef6de25d470d2f7dca1f8e06adad10ad534eebe0c780982a715dec038e7b7ed1cdac4ff0d9beac46e22d304ffd7a3ae4bbf13f74299de1215f9458bf7
DIST botocore-1.37.7.gh.tar.gz 14341717 BLAKE2B
c22abfbbedbbe1861d3eea6c341312390a731347e3be4df2116144e1a2d7a7e527dad360feeedcf59375e93f8055eff5d1eb1a87ace1961c34f5acc030dd317c
SHA512
9773d6e47d38d5a4eea7a5e790ed5f9c6af48c973d5987508bb48da2646a3f51733041678133b1f506810b492142cf2d261101f3ec5a16c095ccce661eb2fba7
+DIST botocore-1.37.8.gh.tar.gz 14344380 BLAKE2B
4024bdd2469b2a75a86888a536d5fe9e93b1be8abb05b7af3eb0bfe76348bfe904c22bb0c19d6960495a191070aa3b22459f7b16b52302554b9036138b2ec6a9
SHA512
96c44877f1d7d0a2bba94f0a5fe3b293f3ffa9c6cab5add9873d486b4c51010ddbf8d3d86fb13e6c1791a183edddea6f3fa383f2716b7148e209cb1db31f875d
diff --git a/dev-python/botocore/botocore-1.37.8.ebuild
b/dev-python/botocore/botocore-1.37.8.ebuild
new file mode 100644
index 000000000000..9e1580d45581
--- /dev/null
+++ b/dev-python/botocore/botocore-1.37.8.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}
+}