commit:     a4c1251ed01471f5ea3e3958969d61656bb42476
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 21 04:17:28 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 21 04:17:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4c1251e

dev-python/botocore: Bump to 1.40.14

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 43a65f3b833d..d90d923ed29c 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,6 +4,7 @@ DIST botocore-1.40.10.gh.tar.gz 15122814 BLAKE2B 
bf89d87f5e5f550bf45dee6bf827b99
 DIST botocore-1.40.11.gh.tar.gz 15124864 BLAKE2B 
3a9657b4d0d5c0f86f68f1e7c9fd2fa7145b807e015abb64c20c0ad80ce337b660cf617de3e0b1d5524eb7d766afa75aa253b1388383fdfe8509599b8d9bb200
 SHA512 
853bec0829b5fc17d373c3f9d617be671abb145dbffd0a672f3a9fe48a0b7c8099310bce43ca84f45a72aca1fbabbfb6acf74aefa5bf11fc1baf751959d098b7
 DIST botocore-1.40.12.gh.tar.gz 15136147 BLAKE2B 
bcf52602e06b58a6576f93b6877bd5c9a1d506afaebcd4d7fbe1116e4da088504278ea4bbd00e9714f5ffab1901e086a4690cd0d7c18055e3dfbc9141b802695
 SHA512 
cad0e44af507be66a0f9b256544fdbf4b6f60d4aa9c5c3318a3761087aa88b8b056b550a02c55346bd3bd07362548871c4a13be02d93dec44cbc8428ca1d8224
 DIST botocore-1.40.13.gh.tar.gz 15137401 BLAKE2B 
3fb4a7f7a5b39ceb090599616838eecdb5dfae0a87553c2e2f30ae78d037c8043434e5755c915bc2991b403455a6dfdd3d576a9e72ef4de588a4b560d9157b97
 SHA512 
1ae9b73fc4f522d6c099c2483ec871156297a1f974e24c56299037690a28ee2b5a5b9f28c4fa5b6ca150febcd37630aec3ee1e5744aa7f7c5d53afa660a49753
+DIST botocore-1.40.14.gh.tar.gz 15144900 BLAKE2B 
37e990a8f10e4c40499b10511e076da2dd8b376a89aa610c8926180b27630f95fb20b8440b44cdddbf1ca0d7e512e55170d74bf60c6770ccf6ee77e8bbe716f9
 SHA512 
e00c1c19268cc7b6e87991867af8fdbe440bddb9dd72218305ceaff8d48d88d4c605851c0123a680aca0b507ebe2e6d0421f4a483757adcba71168e0893831c9
 DIST botocore-1.40.6.gh.tar.gz 15096678 BLAKE2B 
fb76ace4058c814bb8ef17bb216f5f7355eec401e4108d8a6569e07f97b14becb9e99652364dacb7e46e62f3ffaea2e5e1cd241ae832fe0a359ed58bbcfe3500
 SHA512 
faa311f29da484083f49a9ae7beda844b8878750c7474916ff7200b4a5fdc01e26295923c7a0f0bc4e4b1c22e5381f69546b8685fdeb2112f1c61810d3c9b58d
 DIST botocore-1.40.7.gh.tar.gz 15098734 BLAKE2B 
d1ac4800e3cdce6a47f4c9da23b30768df3acad0113bf9da87ae2523d74840a79ee29775c072615e2080f7e98b268060801fe9cec653f5b1251c3b6d592422f6
 SHA512 
e1e81e4d0d0224614680244e4f7986f47a3042039b50ad61ceb4c589a14d11eaacfa1aa501a5791174a202813bd1db256802a73fb8d66c2b517d75ddfa67760b
 DIST botocore-1.40.8.gh.tar.gz 15100807 BLAKE2B 
0ecd33358b2d6edd6646b092fbc50d90ce4a5accf5427f9296a6bf66f610018659a75abf7f80375e40a561ca7b09139736b1cab0920810f97e65d6060adb20e7
 SHA512 
18db4b3c2f546700eccebc92e13b0e0ad57c98a0e2f1a5aeab0ea5f710d952d0206e8e4a9ce8f91da756c4f9589f6c5be80341dd6d5ed052ce9ae205a8dec2dd

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