commit: d0dc5b3fca495a224bf50719a08f81c6a83a60ba
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 3 05:06:58 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 3 06:08:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0dc5b3f
dev-python/boto3: Bump to 1.28.77
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.28.77.ebuild | 68 +++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index e7c8f62a070e..8f584c48bb3c 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.28.73.gh.tar.gz 720995 BLAKE2B
1ac1c85be9e095ebab3394c5b7bdc48e0ba0
DIST boto3-1.28.74.gh.tar.gz 721857 BLAKE2B
541e8bdab641c7d80a32a720bd848a05b73a46ae6306e0a400db46e040e626c11cdd0cdd6de15291eb2fcdfa895bf3d6a155ac86ccb17275ce58e7d18c6006d6
SHA512
b94d36e954758b9a5a11660fc8e3ae0a9c580545d9f5a2ba80ba2885c952a81708a731c92a700b251d41b583234e6185937b6d24626cec07c26982cef8c8a873
DIST boto3-1.28.75.gh.tar.gz 722559 BLAKE2B
7d5723c5a3c66b8937718efee14a74382e40ebc23fa58761b252b5d680cfd5b0697554a9b047265fdf0813f801860334c697ccb58931096158768b4e8d3d9136
SHA512
7e91cf33c5b911373362d78676e773842d4ee7b7b92870f7cf51dbd34268b9dc054b814e77432e4931ffc63bea6c2e5350c784e4d444c946aa2991c18ce5a23f
DIST boto3-1.28.76.gh.tar.gz 722971 BLAKE2B
cdf0717adbfd1dfb0ad59d6d1c268a707287b07661f1ba30bbd6df91daab737f7c3397b3f0ca57617a43e724270e2323d9ef66957f304b2efbb2af5ebef6b5cd
SHA512
5f82de03785ce2f3c0544c5c8269ff27a705e97d0d761e44dab49fb5ed078e91302cae2bc4772287d9e9404e00285bc2e7e482cccd1b74d9a68a897972097639
+DIST boto3-1.28.77.gh.tar.gz 723612 BLAKE2B
e2a2d3919f2f0ad09c0385b5f93bf4167c003e675ac0d3d3885ed9ab5c66ce401632bbff81f9a93bddc0063ab381233607b663f5a0a6763ddb4156c3f4a5e420
SHA512
31ded8367abbe8b99e0a09f25399755e3e2912e1efb92a902ab3404498d23dcf5958217e4ae30c953ad1d588b1eb2327167ef81b70f5683e4bc90f12b96970f9
diff --git a/dev-python/boto3/boto3-1.28.77.ebuild
b/dev-python/boto3/boto3-1.28.77.ebuild
new file mode 100644
index 000000000000..a37cc38af2f3
--- /dev/null
+++ b/dev-python/boto3/boto3-1.28.77.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 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 multiprocessing
+
+DESCRIPTION="The AWS SDK for Python"
+HOMEPAGE="
+ https://github.com/boto/boto3/
+ https://pypi.org/project/boto3/
+"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ "${PV}" == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/boto/boto3"
+ inherit git-r3
+ BOTOCORE_PV=${PV}
+else
+ SRC_URI="
+ https://github.com/boto/boto3/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+ "
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86
~amd64-linux ~x86-linux"
+
+ # botocore is x.(y+3).z
+ BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
+fi
+
+RDEPEND="
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+ >=dev-python/s3transfer-0.7.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+"
+
+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} \
+ -p xdist -n "$(makeopts_jobs)" --dist=worksteal
+}