commit: 7ba98977185f2f1c2b1cdf9cb5daf7258de8bed0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 00:50:48 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 01:38:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ba98977
dev-python/boto3: Bump to 1.35.9
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.35.9.ebuild | 53 ++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 400132e6d1b0..b3e0d8dde201 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.35.5.gh.tar.gz 854016 BLAKE2B
f94d738e310725cd5f9c7b405a094155f3ecf
DIST boto3-1.35.6.gh.tar.gz 854351 BLAKE2B
0aea780d070a5a806bcb8196ebc3785eb1a1b5ad3cb9f1598a24bf80b4be5f8757b551a524afed9440deae505e427b97f9b79b1a7c30c7db977319ee317bb58c
SHA512
81fce9301003a5b2f67107a7f6ebbd033a43a43c890be7ff3248136c1fcc826fd475f9860d3295f16900f199057e1a7da7be60554dc193826ecef6e64f97341d
DIST boto3-1.35.7.gh.tar.gz 854615 BLAKE2B
4cf4fd926bc4175273df2007f1275e0781c199361cb8c419c7c34bc764e47d0c74f7f9c9de8d25a7052072a73ccdf0c3d2ec7fcab5b71a4107b2c22a1eef5700
SHA512
4e85d9d2004d6d74190f560b41cb6a4ace30b3ce4d09d5b390045874bedca1d0fc1756170bf81f615c81a371038fa7a94c407a3de417c0be6b33805bd32866e1
DIST boto3-1.35.8.gh.tar.gz 855649 BLAKE2B
4d3a7740a3da49b0552fa9250decf74daaa78c33b21f96dcefd67025c16f5bb1ab2f67d5482f4434b74cdd75ecc7578378138a08bdd91cd10d5afc9d87ae4ecd
SHA512
bb44beebd2eb4f5b49e94299abf79bd1b9bfe11ad2ce487a01e7dec0bfb31e9d343835e20608b63f05cdaabc96356740b53ce828310048c95874fcd290dbfd0d
+DIST boto3-1.35.9.gh.tar.gz 856164 BLAKE2B
ff92b345ad9eeb2f74cdef93960c2aca1351b4aa5fd9a7f4d0302327269f421fa66e1804bb2536f634dc08671fd529810bc467184eb3b95bde69d818e6e58a88
SHA512
6dc461ca79753cbf875da2ef525a8c6bc12e14a5db3110cfbde81303dc27b8e5be42f468b4dc37a02b4face8344566ce9836ce69b325650dde4efcd1656e8127
diff --git a/dev-python/boto3/boto3-1.35.9.ebuild
b/dev-python/boto3/boto3-1.35.9.ebuild
new file mode 100644
index 000000000000..8cba6d95740e
--- /dev/null
+++ b/dev-python/boto3/boto3-1.35.9.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+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 ~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.10.0[${PYTHON_USEDEP}]
+"
+
+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() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests/{functional,unit}
+}