commit: b91a9e02bd37c30a7b18ab24617d4040dc979d69
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 3 04:32:44 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 3 05:37:41 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b91a9e02
dev-python/boto3: Bump to 1.40.44
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.40.44.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index cd9b67c119d1..81e5ddd4aa1c 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -16,3 +16,4 @@ DIST boto3-1.40.40.gh.tar.gz 1003705 BLAKE2B
b7a555bb3ce92d01a14f3bc43a689452ed7
DIST boto3-1.40.41.gh.tar.gz 1004100 BLAKE2B
5962a2a77f20535580cdc8efb6cf6eb7004b0903879dd2ff554cc6f48541cf132e80a3e1c001ad364f9e38855cbadae52b6b39a8e33363ee0cc6b2c13485de2a
SHA512
c80f6f83b63bd593113c99f2f1a8b86de734722306304ce4a4cc9a40610c2bcc274c17ee0246a550127d8a2503367bf961b2469bdd0e39c90db5c539dba04158
DIST boto3-1.40.42.gh.tar.gz 1005633 BLAKE2B
a247bd55488854a6b5796385cb185e66dce964a98ab1eec2d244b43802cffbe00cf331efbe3c498c0f5999299870bc10158b98979747593eea8ca47581bb1afd
SHA512
a6673cdf916cce47429fecf9d5462670ee2140b89838c815be74a5c2806f09dc6fd788dc3e14136f5bd6e9c0e4f0c8663e7cf93152a898340b023a51bc39c4f4
DIST boto3-1.40.43.gh.tar.gz 1006126 BLAKE2B
943902cf68f8660194242136ff543de390f878f22b62c9610f8a9b022e853097f08e18331eb0f603575fe9cba0ee9e9e4a05080fc964749ce8bb7f12dd295f7f
SHA512
f9e85364bec2bfb41e2ec4da460cbd79d952bc297cbd1525ec6a355bb90ef6ef11549f36e6f72d7c96825c2a67b71dce93cacb3f648b1b4e6033cd12a85e78ee
+DIST boto3-1.40.44.gh.tar.gz 1006574 BLAKE2B
9d301911a18ae798aebdc1695f4f0d2e20c388b3baa8c0fdc7bc5e132063ff795f5a0415a8eaa21dfcd88a68deba71f9b56a504a0ae9bf0222893b7b2e0b10d6
SHA512
447a9a7ad8898c5e60414f5b42adcc9387d9b6af102cb475b33d4b81c986d10211c68764299fd09accdaec02d1cffd32bcf55b8a95bfcdfd1e440e1c6aa973f2
diff --git a/dev-python/boto3/boto3-1.40.44.ebuild
b/dev-python/boto3/boto3-1.40.44.ebuild
new file mode 100644
index 000000000000..90fb2a42e6e5
--- /dev/null
+++ b/dev-python/boto3/boto3-1.40.44.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}
+}