commit:     a92b5734eb87a604e74cab64bfdb63f0962bb65f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 11 03:28:08 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 11 04:40:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a92b5734

dev-python/boto3: Bump to 1.42.7

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 26336cb5df84..723e98d8a011 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -10,3 +10,4 @@ DIST boto3-1.42.3.gh.tar.gz 1055160 BLAKE2B 
86399e22d40747aa40d6d61296e9833f86dd
 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
+DIST boto3-1.42.7.gh.tar.gz 1058806 BLAKE2B 
82db9d5dbf74d1780399470661439bfd48253c1e869169e4a1f8024ddb1a6623089491a5a2eba2932c69dcf67003c0f2df8873940cc5e517b72428a398ec7113
 SHA512 
4d89d946660f7262bf81a2743fe328dd13867eca356fbb1d260bdef6f30a1286ce40b126bfbc0e4600ad9db901688b7b4a2430a79459dfb8a60126aeea4ee7e1

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