commit: 2630d978bf72e2ffb47ad61b8296110e0d51cdbb
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 3 01:38:38 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 3 02:28:00 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2630d978
dev-python/boto3: Bump to 1.39.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.39.2.ebuild | 53 ++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index b036ef434609..444850dfb6b6 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,3 +3,4 @@ DIST boto3-1.38.41.gh.tar.gz 959656 BLAKE2B
cf74e27c26735b9a02be41df7e077aed5e3d
DIST boto3-1.38.46.gh.tar.gz 961156 BLAKE2B
36fe0a2d35176c3419f4a49148b77713e126371930dafa112aaba7f53ca483323500cf23d68fa27372130d07fb9aad090950959ad56c25ae7503f77e2a525905
SHA512
c15c90fad56f476014ef6ae8ff687e088114001750def69cefa25002d0d38a4fee60114943d2c5e7b70f7ecca497fbba987cc9b33bba5ff6637a5fe8aa079149
DIST boto3-1.39.0.gh.tar.gz 963734 BLAKE2B
5a509880acd41a3698d1e7c0d1924250bdd39df03fed534283f890f079ef4965e0ce63c41ee566832f7ff7369da7bf1f25d7c8847e8e8c9f78a255eb2a37db75
SHA512
169acf47bf3c06541a923c5bdc43eb6a8516c7cf1edcf38c95ec7cbb08e688ee563e1ce4118850502c64255dd75ca111f46da1de73541ca5423fcbbe5ac83a87
DIST boto3-1.39.1.gh.tar.gz 966365 BLAKE2B
bab41fd054da7012fa9745db151aef5b405974a7b535206071168668511b9b35f49c7866d8d54d83f4e15da31ecaab83348360d94c9a37abc977463642c19db1
SHA512
e6185397790b5988f5771701e3d446052ec4b3a97538fa318867ac03c9c53d3b360bc20789f55e65afbc4b899663bb9b0622f5917eca1498555084d067eb47d4
+DIST boto3-1.39.2.gh.tar.gz 966805 BLAKE2B
0f946e319f17ff696913a95b2307e8d5b95261d9f3d5c82a8a1cf5a48f3e31e233ac15baced3866ce01c84df50688da5f209ff7bf55afd653ed82d6f1b647316
SHA512
89e5e1c7f4a6e61dbe8a07c7eba5a31dbefaa46e0fa6f5be7b5457156d776f5813800215f72fb5d8c29276d712077224e99d27d6f1f7b04f3283ac207c4b3aeb
diff --git a/dev-python/boto3/boto3-1.39.2.ebuild
b/dev-python/boto3/boto3-1.39.2.ebuild
new file mode 100644
index 000000000000..bd6e26787db4
--- /dev/null
+++ b/dev-python/boto3/boto3-1.39.2.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}
+}