commit:     4e3e018a962b9f12ba314655839a3ab2c12c8b13
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  9 01:54:31 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct  9 02:17:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e3e018a

dev-python/boto3: Bump to 1.40.48

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 9d867deba80f..59309adab4e7 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -7,3 +7,4 @@ DIST boto3-1.40.40.gh.tar.gz 1003705 BLAKE2B 
b7a555bb3ce92d01a14f3bc43a689452ed7
 DIST boto3-1.40.45.gh.tar.gz 1007074 BLAKE2B 
b6b36715046fc1468ad02770b31c88276d342546f4482c75d41686d4754c4b5a4231d027356bac122be08067943ad7df02bbea6fa2086a79306125ef41fc27b9
 SHA512 
4533e413d4771b5770f77df9c6574dca3d85bafbc1d65918b90c294fdd32ff3e6ab6e5e5f95c2ae0fb9db062eda411d2fd7fab7c7b873e87e2074ca34a13cce1
 DIST boto3-1.40.46.gh.tar.gz 1007701 BLAKE2B 
e3d79e6e3cdcb45a022d847617a77191ba1384839458c114679c77580fed8db954bc0b087a4073647b8adef9845b33360a47a8865ec83fc22e72a195d8463121
 SHA512 
cd47dcf610fa5b0c7b0341231093c899efc63addc4517f2ea1da43ce5e37e7d3c8ff99103816c8d119a5f2fbc0cfaa0913eebd66aaa6d65129b3ed3b56fab5a7
 DIST boto3-1.40.47.gh.tar.gz 1007795 BLAKE2B 
8c73c0f6fc585717368a8980145a70dc3b20719b76d655089972a6346646227fadbc27e76baaf6f20c332e6941401dbf9bba7088e9cc16280a393b2f8f1f14e4
 SHA512 
281d3ff20c0a00c9bb57592c5b6ef24b213354470a2d930656ab3d4de6b7bbd622992460e2dde435dae32ef50b143513c57c9f3fb2edcecbd3a54e2bdc009ecb
+DIST boto3-1.40.48.gh.tar.gz 1008274 BLAKE2B 
d32b637b802f2d28b7fe45c4e59b4c095b0af5ba0561451d7c69d4eb90e323aa397ddd914a12784c897762048ecb8eb1e11209e0280c2700341a1de9a11afc67
 SHA512 
9f645463e4242cb11d291e1bad5279412c9178e77fc6d6c5821ad229cafe4d3a1662a26ea5abde776166775969ca3990978b3c0ec94f0ddc1fed596f499381c9

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