commit: 04778d9a2c56fe5a0731de4ad6e39deb789085c7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 2 05:48:01 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 2 06:43:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04778d9a
dev-python/boto3: Bump to 1.34.54
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.34.54.ebuild | 58 +++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index e83238414bea..0f96ae12c7d8 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -5,3 +5,4 @@ DIST boto3-1.34.50.gh.tar.gz 777341 BLAKE2B
58649a5dd449f6c4c8151c1943bafd701afa
DIST boto3-1.34.51.gh.tar.gz 777437 BLAKE2B
f39d180cda6958307524ff26b8015fe50a5c41d6c0ef6858363b60c086a48b18263024d2801afa5ffa8838915de7789cd1d5d949892acc3b018e8191eeb06e8b
SHA512
f524c9e0d7d91eb6dd40cc017b04cbc46593ef2c16eae3da7018e5bbaab0213d7defde5d3958c83122cf5e6895a896f74e1401f0d0227d0240066f52cfbbe64d
DIST boto3-1.34.52.gh.tar.gz 778263 BLAKE2B
70f022c094f6a8ed8e69bb00db2754d694e2b1433aa72391058d3a8f44f3b8f58a2b05d8bf211f6e64412e8dfab0d9a874b1dd2129851b768201c48a1157f4f8
SHA512
5cbb26c6f4e410ce5d491b6898e3263f7b3038d1bf3327cdcbdc0f0325f1699d2a5c82bc92326538c83a79c678d7f870a3fecf53edb38be121eb8c8be933a1e0
DIST boto3-1.34.53.gh.tar.gz 779306 BLAKE2B
239a33c87afcc2d3bb6d87eafc6f021be921375aeedb28af34017c8338287e496c95650f5efc4c3bad5c7d324889e3de6d3b9edc37d7d5e2b83c297af54f269b
SHA512
ffb2209b404ed2eeb242706c645a2719ee6a2a836aa0cb90303ad5b2fdd73a1d63fe85f87b0d2ef6846b22d6ecfde8d9ba25a17935b108d5c4755577f3c0533b
+DIST boto3-1.34.54.gh.tar.gz 779564 BLAKE2B
f61a74f6a317af6f180edb047e8c37e55c2d497c9507728eb098e2627d071aa56bae037a4bb8582774a49b20d0c1794a8793ab3d8e92d90071de3caf1d32bc2b
SHA512
e3549e7b7ad254eafff60eb9bd21aa179f2840c2097874fb0a0602e767dbcf203742629eeaffe6432db65c3f76c326032e700cebb7ea92ebb7305ae6e26173ba
diff --git a/dev-python/boto3/boto3-1.34.54.ebuild
b/dev-python/boto3/boto3-1.34.54.ebuild
new file mode 100644
index 000000000000..b64e7191fd19
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.54.ebuild
@@ -0,0 +1,58 @@
+# 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..12} )
+
+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}]
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${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}
+}