commit:     786fc50452754864e65ee09735c9e09c9f3d62a6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 19 04:57:51 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 19 05:41:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786fc504

dev-python/botocore: Bump to 1.39.9

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index cc7e061ec056..d6ff2ebb5e24 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.39.4.gh.tar.gz 14901512 BLAKE2B 
08fc52957828be9ccee26f61c4c00667
 DIST botocore-1.39.5.gh.tar.gz 14926605 BLAKE2B 
5027250eaeb74e8aa55f8f4dbef6ac8095a9588bbd7692fc78bfe337d614fdbd90ac0a687f4e94d921c3273faef888b9c255b75a9c8ec7972c4996b6b104e1fe
 SHA512 
d13df9ecf7036bc88bedc05e82d69273209b1bfdc3691109b37444430659e90784b682b75abe795a0fda9f039a26157e7fbcd9c5b24cca3ac58cde21ba1ce4fc
 DIST botocore-1.39.7.gh.tar.gz 14972187 BLAKE2B 
27b3d7e403b1c4cf7b2a73cb1fda69ea1d14cf22a327190216278c7b37570ec26886ff7a3a6be30e6da41689b571e4feff006a221f9cd8c6ade20d2f87b82a00
 SHA512 
29f65849130a1d981b2a8be10bf7ed70f00c0c2f593bc0b0ee5ea749311fe3d9f5299320c96ccfcbb9d187308502d4e3eb8eca78f006cf8dfabb2ad49e802e04
 DIST botocore-1.39.8.gh.tar.gz 14974843 BLAKE2B 
c6ca3cd66c76f2f8a1b93d7d48152d0bfb7f5aac91153afd327a7df48cb37aa95950ed1b7c4ed276f8c41cbf8d81072cb281cc63e78121ad987f392b06deb0d3
 SHA512 
becbc0d5a4efc700e42cf0a43a0aebf77f501c210a2f1a867efe19fe6dfb06002aeaec49ae53a6a548d6ae6a600a6516ee43896afd9897f4b64a3834e1669b5e
+DIST botocore-1.39.9.gh.tar.gz 14983953 BLAKE2B 
929c2456d8efc4256326c255888ebca82edd837df2dc0beeb37119af5f397b74c8e1d1349c66adc79361fe0cbdcb74d268b04ca563fa0047b27cd8f70f755290
 SHA512 
421421a9ac2845e18ccc6904b443d2d53883c5f85df1b34245541546ef5369cd29fc7af8751507e7513d06c818ff195bc59d6ea4e773b8975d4de874ba79116d

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