commit:     fad42929985c5dec01da9fe544a49c49f46c9c00
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 10 03:50:44 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 10 03:50:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fad42929

dev-python/boto3: Bump to 1.40.49

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 59309adab4e7..4d45a7b933bd 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -8,3 +8,4 @@ DIST boto3-1.40.45.gh.tar.gz 1007074 BLAKE2B 
b6b36715046fc1468ad02770b31c88276d3
 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
+DIST boto3-1.40.49.gh.tar.gz 1008632 BLAKE2B 
da8ccdad368a94ceab519b186f4b9690b4310e2650429460e8a559af5aee6add0bd561f0261a0d7bd9c7466717a432591419cb021b6d67dcd778733550299463
 SHA512 
47634a1c3f72229af1c61344cc1504d3e267086d1e203af6cf8cbf6a464b5b865d82dc1867c654318f4f7b72d216bd3cf23dce7de45a383d35bfa0b8713ae000

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