commit:     4445431f70dc4aac9c7d20c3f56257590bc4caeb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 18 04:55:11 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 18 04:55:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4445431f

dev-python/boto3: Bump to 1.40.55

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index caccd6687789..59d69e323021 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -10,3 +10,4 @@ DIST boto3-1.40.51.gh.tar.gz 1009591 BLAKE2B 
1b574f5c14eb8e8274f51764b587c8dc6cd
 DIST boto3-1.40.52.gh.tar.gz 1010268 BLAKE2B 
83b1ca1b5b65bd8e058fea5a97dc37b6bef6a4243bf0fc2cc1c6d9be1b9808852e5b854ac902e7a97ded4a65cb25279ae43ca39c179c6552b83f859522859f80
 SHA512 
8e18f4c9ba9101babd0ca83a7094daa1e1302ef2e46c49d67a3b61b00f89983698a0dd2632d2d566138031cf6cbe3924202b60e5aaee4a9d48ace83fa77b8e86
 DIST boto3-1.40.53.gh.tar.gz 1011133 BLAKE2B 
c2b93b36d9ed83c442ee2f2f873668947c06f27122b77eec925ca23b52753ac2056dbfb49aed7793b95c8bba7d8bf5b19df85f9bd7160270f72039dd4c61e412
 SHA512 
b595ec51307c5d218a25fe88cd26f01786d4b0afb7b160f6c42f256f7fdd1789ed9a05d0b2e77c4967384413328caa7fda43981567ad562ba3230e25844f92ae
 DIST boto3-1.40.54.gh.tar.gz 1012193 BLAKE2B 
11f293c1a8737992b44b152db1ed3589ce76f29b22be5d043f6cced42c3134e0b788b12d1fc1c114c7e8a7a964c56fc06dd46a3356d0fdd899f257fd245e73ee
 SHA512 
1c5162a07d731ca1cea80a2b6a5e1d1484357ad238de8108dd3d66a046f0180d4fce74cf8a2590cd6fc3baa21e4b68b196268bb9ac558e530ea6a2e0fdaaa808
+DIST boto3-1.40.55.gh.tar.gz 1013401 BLAKE2B 
86de575af2244a1b6ec317dac61a71ba2b5eee42f28ca3b3d1ded552cbad10bb22e96ae6bf49212be0ee5fb220342a8829213fff9ec19ce046aae0262f791ee9
 SHA512 
b9fe63173e21303d688add1a519b589072313d9f62d474418a0f99eee50a92d595e36e4f1d9cd8259884c9c4c21b29c55242c9583c21b7e8a4f0bdcd76c79841

diff --git a/dev-python/boto3/boto3-1.40.55.ebuild 
b/dev-python/boto3/boto3-1.40.55.ebuild
new file mode 100644
index 000000000000..90fb2a42e6e5
--- /dev/null
+++ b/dev-python/boto3/boto3-1.40.55.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.14.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