commit:     f5fd812401773f4e60c8b7f423515b4c21b6ff4f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 27 01:38:04 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 27 01:38:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5fd8124

dev-python/boto3: Bump to 1.40.18

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

 dev-python/boto3/Manifest             |  1 +
 dev-python/boto3/boto3-1.40.18.ebuild | 53 +++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 871defe6f5d7..d6c8e84b6fbd 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,4 +3,5 @@ DIST boto3-1.40.1.gh.tar.gz 978197 BLAKE2B 
c93f3550d41c13292dd8f4dcaab9d896faca1
 DIST boto3-1.40.11.gh.tar.gz 984481 BLAKE2B 
f484d37bd38fe8bc80ec6a8e64ecf85eeec8a4c777e30d11a0d108a135d31b2b96a684095fc4ef868def656f04f23d652459bb000f9f8764a27434fbfb923a01
 SHA512 
bcee5774a56a99ebc23bddaa49f89d85f128f02bb0eb95b9d04dec7c6b335464545fd6d0ad117ac6cb6766d17919049f174057349dd37a4262ed3fd7a654feb2
 DIST boto3-1.40.16.gh.tar.gz 988114 BLAKE2B 
cbc1ac9f3261ec094172a9b22841be4e2b10783f27ea906d90a5d48ef75910c5a864403cc491d082df0c9155599babf8d60cf094cc6e58e0d10e707e6219239c
 SHA512 
da130875233a453f1eef0dbbf1822c0cf8b67e6361c5f0c1186be97360d0e720614d3d17600fac461813aff213538544a5ab991fffd31bfae59722741e8dee35
 DIST boto3-1.40.17.gh.tar.gz 989571 BLAKE2B 
c44760e4eaab775fc7edf8ab843c3c83e664951352a9dc621ac2f2d3e3daf6ba00fd4bb30ad85c5c0eb8b6756c92d9ed4334bb09ee83663a6d6aebc3fa901946
 SHA512 
28cceca2f0eed830939199ecd12929b377660147fa806530bc8a83dcbd9960fc0c073e569c33ed69a2529e13710bbbab9f1b00d2172faa03d7d1d0fdeeed301b
+DIST boto3-1.40.18.gh.tar.gz 990535 BLAKE2B 
b27c45a186cc7982e0fb16e9d7290a8fdab8b770be433956bdb99daa6965819e57cdba358527704f9fafaa9a0719efb8f054342cf23b4e5144c4b1332913c700
 SHA512 
d79865d9541e8cceccb45a541efb86733f14b024e234ed53fdaf3d926765cbe984ad4776f2045e82b6dbc26e7eb8553b4495a90363e9a4598af7493a3969416a
 DIST boto3-1.40.6.gh.tar.gz 981330 BLAKE2B 
929b4326d8d48e46750128e6236776b86fd5e59f0aab113e3ec797f18f138c7f52b30a79724f97de8083fd8e8baa04169e68e219ef5acf592561dabb838b4374
 SHA512 
65431a0d084298f51e0eee1753119f811261e9e57fdc5fa0491c9ce8d4fc745e705aed22527c8c06e003227c5c0bccc1a659e04bcc96a68fafb61bc53ec70a84

diff --git a/dev-python/boto3/boto3-1.40.18.ebuild 
b/dev-python/boto3/boto3-1.40.18.ebuild
new file mode 100644
index 000000000000..bd6e26787db4
--- /dev/null
+++ b/dev-python/boto3/boto3-1.40.18.ebuild
@@ -0,0 +1,53 @@
+# 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="The AWS SDK for Python"
+HOMEPAGE="
+       https://github.com/boto/boto3/
+       https://pypi.org/project/boto3/
+"
+SRC_URI="
+       https://github.com/boto/boto3/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/botocore-${PV}[${PYTHON_USEDEP}]
+       >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+       >=dev-python/s3transfer-0.13.0[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       # don't lock versions to narrow ranges
+       sed -e '/botocore/ d' \
+               -e '/jmespath/ d' \
+               -e '/s3transfer/ d' \
+               -i setup.py || die
+
+       # do not rely on bundled deps in botocore (sic!)
+       find -name '*.py' -exec sed -i \
+               -e 's:from botocore[.]vendored import:import:' \
+               -e 's:from botocore[.]vendored[.]:from :' \
+               {} + || die
+
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       epytest tests/{functional,unit}
+}

Reply via email to