commit: f825079773d093a90faa1dbe70a08762567ca34c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 11 06:06:34 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 06:06:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8250797
dev-python/boto3: Bump to 1.26.69
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.26.69.ebuild | 68 +++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index d5553493d1fc..162ed5371e8e 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -6,3 +6,4 @@ DIST boto3-1.26.65.gh.tar.gz 598836 BLAKE2B
f6e5c14f120bdaa2e797cbd2f62eb0420a28
DIST boto3-1.26.66.gh.tar.gz 598939 BLAKE2B
c3c8c4bebdb4432beea858226dbb5eb3bfb33d51c776bd619d08b67789a9851963066c50f2e1bd41dccf0c7b35169824b2d8a0a0a9abf98f087890654251f996
SHA512
bd74f1a0264f67532a54f055c7269d53c12298d265a136e431586448eaf2cac23b0fbc133c69a19954cb3b3c52fd4604ac0e0e1a7d04a3ddded67b5a90d7096c
DIST boto3-1.26.67.gh.tar.gz 599119 BLAKE2B
e9cd1877eaa3b6d26cbcece1983a5e89a88f7ecdab1e90b436f358015d4fde13f544b004166917c611cb7bfcd882d3ee9040001c719f2ed44e5ed1ce19bf01b7
SHA512
26e4fbaedc0af7ba94e804c6937984919742e7adcdc65179fa1fb6cf183406d1d5ca15b3a1972b68c3154f1cd7b108d5c626357c4a58185f23edb6a86c63b3d6
DIST boto3-1.26.68.gh.tar.gz 599758 BLAKE2B
213c77035158e5c410f35432a5ff4c75ec07cb15719873846c07a319c7b236fc641f81eea239ea25c09eef136415547aede925663c33c243e604327e51416b05
SHA512
0fa313f3ba50f2fec1c16c88b1a2bbfacad4dd4d7db13a7994f7ae08e225f170b4355d0a549b80a451db5047872926d791c4feb2b68451bf83ff11ff7a303cbd
+DIST boto3-1.26.69.gh.tar.gz 600296 BLAKE2B
8c37d9c818e29617defed964271436be2ffa54f8a634661d6a9fc665d1b77a041d83bcba153d5c0dffe90c4185e0a163e9141880cd8147964f7ed479b975ecb2
SHA512
8635afb8c20c3534c36551eb6004676ebcee987836e494b8a67673ae16f4dee8d8efb83e632c6df2e0f07827965bcc9b8e72c159657ff72f1c9c1f52ccd49a16
diff --git a/dev-python/boto3/boto3-1.26.69.ebuild
b/dev-python/boto3/boto3-1.26.69.ebuild
new file mode 100644
index 000000000000..9523f65d5fb9
--- /dev/null
+++ b/dev-python/boto3/boto3-1.26.69.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..11} )
+
+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.6.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_sphinx docs/source \
+ 'dev-python/guzzle_sphinx_theme'
+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} -n "$(makeopts_jobs)"
+}