commit:     a0a2fbc50ea528c051467188e7860a10abfcdf8f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  9 04:46:21 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug  9 04:46:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a2fbc5

dev-python/boto3: Bump to 1.40.6

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 77906bfbb350..bc61a9cb8c48 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -5,3 +5,4 @@ DIST boto3-1.40.2.gh.tar.gz 978635 BLAKE2B 
0bdcea2a77084d40591ed7974145491dda55b
 DIST boto3-1.40.3.gh.tar.gz 979059 BLAKE2B 
3c357e5b59dfa3444d7d737b34a482d8e15e36ff98dad1d24ea95412474bf9765958bb7e7726c6b83a10147ac8e8c1bc9d8fada6e8211c9c0d6efa1c0bc48d7d
 SHA512 
562ee9f1c0ddb0f5f076fab448efe0cdc24354bdea5b0ca8600e657d449df442dd477215ad47c6d17a40c0ad4b149adab17fe02ef483a709e04e30062cb24a9b
 DIST boto3-1.40.4.gh.tar.gz 979905 BLAKE2B 
944fd1cef82e2674f43ddc34820b8848ef391d465f1e5f3b961c86cab16d249f5accd861f3c62f24fa036850d288d0b30804e9ad86dfa093427435922220df34
 SHA512 
555ac28647ce76a94878df446fed5058ba3984cee9e27eb50167ea75e01a041452741db6870f259732b580a8d8abd011ff5ca1d3a42339843ee403569c88f8ea
 DIST boto3-1.40.5.gh.tar.gz 980864 BLAKE2B 
c9f322d3b37b5e0cac5ccb28a300faee477cad5504c9be0e0686c95bdea318721a2815cf58a53bcecbae8c64250cacd8d49108bfb290ed1ac0381a70a1ac44d3
 SHA512 
0137e7af642512918fe518b544b41784f34f799c7bd0c6469b76c6064d36f40448b20f3e4411a5b83f3353acf7f07a56f14401c7719b5e0d7340bc40d479ff02
+DIST boto3-1.40.6.gh.tar.gz 981330 BLAKE2B 
929b4326d8d48e46750128e6236776b86fd5e59f0aab113e3ec797f18f138c7f52b30a79724f97de8083fd8e8baa04169e68e219ef5acf592561dabb838b4374
 SHA512 
65431a0d084298f51e0eee1753119f811261e9e57fdc5fa0491c9ce8d4fc745e705aed22527c8c06e003227c5c0bccc1a659e04bcc96a68fafb61bc53ec70a84

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