commit:     3ab9b61f7bd5ae06e498acc210a45916b6be748c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 17 04:22:29 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 17 05:21:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ab9b61f

dev-python/botocore: Bump to 1.38.18

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

 dev-python/botocore/Manifest                |  1 +
 dev-python/botocore/botocore-1.38.18.ebuild | 75 +++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index c135c33c141c..047cfbadbc93 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -7,6 +7,7 @@ DIST botocore-1.38.14.gh.tar.gz 14627287 BLAKE2B 
9033f12f01b6478ce9e2bf5a5796a79
 DIST botocore-1.38.15.gh.tar.gz 14635893 BLAKE2B 
9060ea9823ad74b5dc4b33c4701ad5c0b868f60e7450628502a12aa7ceb1d114f1edab07a2d2f93f9d43c99f1cf5198418484828eaba6ff8ad179c713754a5d2
 SHA512 
f8b6e45e31d93b2f6643537dbab22e0f952f14b7a281ab850126229b15c2c7f138d669bc9a22d8eb32a81045b6252c785462b930fdb23ec8f4081c945513f491
 DIST botocore-1.38.16.gh.tar.gz 14637132 BLAKE2B 
4c15976226c9bc270093c7912970bb00305d936ded865b595913cf859c70967cc44e1e44d80b23217f958db022b07c5257b089df7786ac1fbb833d9c503c219f
 SHA512 
f8d6bb3350ff3c75a1bb6ede78effbe1d9932f4293c09a25161893d9f1ce0c2d7ab9f56f13880857198c21a37e64686c954c58d195730b19b3561900a1b35121
 DIST botocore-1.38.17.gh.tar.gz 14644079 BLAKE2B 
882b6bc1f23c55ab76d3a79b9aef5810e8b79551100f71bdf39f72d4cab94b040a3418d2f67969737b41e10c87c58270f6d51b501f4c1030bc851f40ea309c7b
 SHA512 
d76036bb237aa1cf68b14857688d4a03eb2921464c012b256f0a7e330869163408cd590e15f7a8a15ed1a513dc40d870725f9b693cb06a440e02991b71a5a65a
+DIST botocore-1.38.18.gh.tar.gz 14648125 BLAKE2B 
b77da532e815f8cc270b78c5bfab8a9e9532e0909bab901eee68dca266b457e63fb5b5a844ee9c0ffd6cdeae7df570da7dc59ca50f47c19516d4d2578f07cb1d
 SHA512 
59a1235400068b9246273340af5b198c77cffe5d1da1d2856a3bebc0bb5799329a1986a19dad50e2e85f1063cab920039aa00062a2d2250db9dc7ecc6fa63241
 DIST botocore-1.38.3.gh.tar.gz 14578552 BLAKE2B 
4766db1ba2651ebe65c79f8a37c91cf95875a20c0cc51c1886cd394b90d50109738daa79b398e0c4b80031cfab69e1338dfaafbc0ae796fffa3348f6b13fc1ce
 SHA512 
ad69e119d5bbc98a0c14c1c927badeecc1f57d31305e6a07af41d4d4bf6755f5abc150e36321f71b9495221ad93052d84a1dc964fb9ef6fdd791d4c37e75a01a
 DIST botocore-1.38.8.gh.tar.gz 14606167 BLAKE2B 
cb92f6014349f5188d62ddeb043e7532c50c7edc984cabae918825cdace981694c37ba656afcbbb64e65e275da4980d5f256a945bbcc63f9609272b08690c3d5
 SHA512 
bc9096051fde740a908ef0912a0c205595e7df653a349c167f616a788423578ba6b3aed6fe6213f528faa32b1c946abf0ac66dd81afdc05d41d12a4af4f7e818
 DIST botocore-1.38.9.gh.tar.gz 14612563 BLAKE2B 
10a0e43846393c06c808e306cde1398ea9374712d07b71d16270cd3238d3063f66ff532fab465acb5a87065002b7ca7394d0c77a25c83b9f8b8ecad7823042a2
 SHA512 
748c373a1be84a123968444316de7ab6f34b548d7619183d23ae07d0b0aeeeebc8ba1d25bb5517f0491144f7578fa9a7e9fbca066f6aa0da7b2d7439138bb8fd

diff --git a/dev-python/botocore/botocore-1.38.18.ebuild 
b/dev-python/botocore/botocore-1.38.18.ebuild
new file mode 100644
index 000000000000..535354aa3035
--- /dev/null
+++ b/dev-python/botocore/botocore-1.38.18.ebuild
@@ -0,0 +1,75 @@
+# 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_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
+       )
+
+       case ${EPYTHON} in
+               python3.14)
+                       EPYTEST_DESELECT+=(
+                               tests/unit/test_utils.py::test_lru_cache_weakref
+                       )
+                       ;;
+       esac
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest tests/{functional,unit}
+}

Reply via email to