commit:     52c1a27deb057e020ccfa25fdca49551b8f4aa2f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  3 04:31:48 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct  3 05:37:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52c1a27d

dev-python/botocore: Bump to 1.40.44

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index bd913388019f..5c138a50c94c 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -16,3 +16,4 @@ DIST botocore-1.40.40.gh.tar.gz 15161555 BLAKE2B 
099fc06007aedcb65b73de369b00d79
 DIST botocore-1.40.41.gh.tar.gz 15164168 BLAKE2B 
6e566392943e927d3b22f6dd44462d55b88867caf10c53054bd080f640a7b31f6d750a58c85bb599dc2cfe7a5e97ace98060d3740d4ba57566db709f49cafe05
 SHA512 
295e7b0fb305aadf67e0729fd0bd0af954d7a53c2c7735939ffd49c4f47d5239e55f29f0d669e6a0be32a404e20164c5fc0b29f36113e2a6a1c60cae6267064c
 DIST botocore-1.40.42.gh.tar.gz 15185422 BLAKE2B 
a9f080f72a1476b09a2874241cddaaf2c287e717bb870716bea813417ab578d0458ac5d920214fd7fb7a2a8d428a7e6469aecaa1f78f6eebd4824328f1e7063a
 SHA512 
b39b60bddc61aa8b4f4e461122c961dba5447a429f8a95640db4356817f060feb088f4c1523315ffa156969aff61c55f25fbe53257c20f4f1c990cd138c0c380
 DIST botocore-1.40.43.gh.tar.gz 15190445 BLAKE2B 
c152b13c7e0c877c891d699b77ab48015a402641a18ed03181da06860cf64a7b37144d3933e7d9593ca18d1715c2fba6873c528a0db6e6576f54e1b0cee4e834
 SHA512 
ea3867266399644c8bf3d718992142943bd676a7f53f4b906e7d58f5368831f53acc52bc3473d26f626eb85916aaaaea1755f13675f414cfe77d4a1de2feeb15
+DIST botocore-1.40.44.gh.tar.gz 15193025 BLAKE2B 
ff2a2a82adffb1595b5932141657b6fa98159fce393fd6310d14108d78ac785a0fa8a52ab99ee8dd2311bde8df5fed867bb0bfb331ac4af968bd661cedb00c55
 SHA512 
7282f2277f92797776515fa53aaf3f52e441e7bc88a3d1d35d11f9e9c1182fc677f9e7c0b4440b12c80fff8d22a6db80e3fb03ac2e470c243898a23d8590dbc9

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