commit:     6351cb8dd7a98d7bf3384fb654fb712b94ce5ef8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 10 02:25:18 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 10 03:43:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6351cb8d

dev-python/boto3: Bump to 1.42.6

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 80844deeb186..26336cb5df84 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -9,3 +9,4 @@ DIST boto3-1.42.2.gh.tar.gz 1054980 BLAKE2B 
5d361d756f41fb2e1df9f4397ba64a842388
 DIST boto3-1.42.3.gh.tar.gz 1055160 BLAKE2B 
86399e22d40747aa40d6d61296e9833f86ddbf8921a157a369bed90c538ce6ca43729c1a69c3f1f99d1b8496414397aa0b1a442d33e81d191fbac6991ab1a840
 SHA512 
c4f36ae4340e809c398ee9e496af1da5da24be08d6ab443dd434f5612bda97c187375480bb62992cb6129f638f8715cfd476d3a1116f94d3de470756d932d0c3
 DIST boto3-1.42.4.gh.tar.gz 1055570 BLAKE2B 
a9990bb04ce59111c6371536692c6e4d5440f3f0dc79e1ecc119652603bcd8bc15839400758999faffd7df9bda9efb4991393fcab32baa16c7a0e51ff7c5cc94
 SHA512 
95950ba80f31c3951a88237ff5edd1367285c3ab263c7f8ad1b7556d610d553dd4e2021fbbcc0d9bdcf578fe34ad9fcf6231511f54ee71917f69c1cdb6adab28
 DIST boto3-1.42.5.gh.tar.gz 1057615 BLAKE2B 
1d2cb3efd01c9608830cf9e5f4fb7b426a9ece3b08050480852695b3b7e6c8dead02c62533cc223b88fe1c7ef4f6ee4e7d829eac7c33047255182fe95eec61e2
 SHA512 
321931a4f84bd2cc3a7ce467d946c4999c2857e812b60b9b89b389b821f68a522566ede94d31d11e9863e33fa4fb42711988b0bc6300bc6d06ed69aa364fb7e7
+DIST boto3-1.42.6.gh.tar.gz 1058037 BLAKE2B 
9ad44a815de09f8b557d976d1d17af6545ae4096556481f27ad00c420574ca81fe9f2ec92e0e09e9ee1d73716eb9e70e288adce3e52f874f9572c93e822c8e1a
 SHA512 
881213ca70e26f342f5cda51cf02efae371b862bb639d25be6de45326f87c1fe5caebeb65ec2cb3ed86a50af3432a811d67a728ccc31b9f75ce9da9f93e76702

diff --git a/dev-python/boto3/boto3-1.42.6.ebuild 
b/dev-python/boto3/boto3-1.42.6.ebuild
new file mode 100644
index 000000000000..56b1da52789f
--- /dev/null
+++ b/dev-python/boto3/boto3-1.42.6.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.16.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