commit:     5b62b5dabf66c319e8f1f28a15a83fab435e97d8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  8 04:40:05 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug  8 05:15:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b62b5da

dev-python/botocore: Bump to 1.40.5

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 4a48271ca2e3..6235e923b009 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.40.1.gh.tar.gz 15055179 BLAKE2B 
0fd7e4f74e51fe45284fe550bb853964
 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
 DIST botocore-1.40.4.gh.tar.gz 15090499 BLAKE2B 
6afbc6ee43a90f3364db408cecdb91aa924edde4147cf47f5b332a56136282f802717a54384055e98fdfa60cac23aad90e804b5b9dce4a164ddf526b6353f499
 SHA512 
01ef86358796f77db76aa8034b4f3d1b52a34b400e1012c73a113ae18af644f6afba2c4caf1f4fc9d6f1725d3b56c58a7c08f263d5f1fd75bcf5214c8ffe85cb
+DIST botocore-1.40.5.gh.tar.gz 15091481 BLAKE2B 
c0ab4c295227805ee84e72e30318b6672970f0ef886b619303d52b87a16f85526d6dc78161b0335b1ec62a1778a73cc35e7b9f1d19a2c468bbcde1715b3610c6
 SHA512 
d2e1aaf62a34b36174aa80bb281e991e0e1f0dbe61240cc0fb89221756fefae3aa9d4dec1c2e1768d1a4263f56e8a2cc0e0526cde4545fea9562c5b132667bf8

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

Reply via email to