commit: 4314de431ef552639fc39285c6bf3bf0b4d50fbc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 6 03:44:14 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 6 04:40:25 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4314de43
dev-python/botocore: Bump to 1.40.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.40.3.ebuild | 67 ++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 4b4bbb110418..36cd613511b7 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -2,3 +2,4 @@ DIST botocore-1.39.14.gh.tar.gz 15002421 BLAKE2B
a054f85ee0076f1445e122e497683b3
DIST botocore-1.39.9.gh.tar.gz 14983953 BLAKE2B
929c2456d8efc4256326c255888ebca82edd837df2dc0beeb37119af5f397b74c8e1d1349c66adc79361fe0cbdcb74d268b04ca563fa0047b27cd8f70f755290
SHA512
421421a9ac2845e18ccc6904b443d2d53883c5f85df1b34245541546ef5369cd29fc7af8751507e7513d06c818ff195bc59d6ea4e773b8975d4de874ba79116d
DIST botocore-1.40.1.gh.tar.gz 15055179 BLAKE2B
0fd7e4f74e51fe45284fe550bb853964e3f6039c2d5904996bc3f40e3912b75af4eab4c378edbc85b61fb6b3f5d1583493ad71540c7170c5a0ffb7ffefc5d99f
SHA512
4a0b5d075f8335c5b9c08bad1088c31ded92deced98a7f606cf07853657f41d8f3ab224b13172d007c8de6d2127edce662c4deadcb8d4ed8693432d77b8e38e6
DIST botocore-1.40.2.gh.tar.gz 15059931 BLAKE2B
f05f8d9dc04e8a7c04010711dd3864addccf1369ed44b40c35f6b814639ae9c6d7dcb55944f6df29dacd7f15949276d08f499ad079cf63506388d22edbbe4c9d
SHA512
e7c816c47e240e208e90d7e7a4523d32c2db97a60c7412e8a07b02b35eea5a4fe102e584ba45b10b39d277728cecaec5ce2bb19b4cfdb880b396aeb2d81e1e34
+DIST botocore-1.40.3.gh.tar.gz 15089274 BLAKE2B
ec281c7a1fd99d904666d42bc2a357a97ded61808967af2d89bc97d47f14efba077f39011f7a5125ded3b498fb924c2909d68e6035d9ec4394e2f0da409788f2
SHA512
4fc67b660527bf0a83ade85db963f3f744130ca8e4e84a33c75e9b9acbb5190ec0d4e14f0cd50d4646a2035b67ef0e7bd030563cb796ed2ba89783a3743c072f
diff --git a/dev-python/botocore/botocore-1.40.3.ebuild
b/dev-python/botocore/botocore-1.40.3.ebuild
new file mode 100644
index 000000000000..a931fcaefec4
--- /dev/null
+++ b/dev-python/botocore/botocore-1.40.3.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_{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_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}
+}