commit:     811f0133b91b5ccfb43a8d65456333ea669d0402
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 31 07:42:27 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 31 09:20:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=811f0133

dev-python/boto3: Bump to 1.24.63

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/boto3/Manifest             |  1 +
 dev-python/boto3/boto3-1.24.63.ebuild | 68 +++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 1a6187458733..d897507dea43 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -15,3 +15,4 @@ DIST boto3-1.24.58.gh.tar.gz 530450 BLAKE2B 
82746de410c03fd0757d088781a5a2ab8d60
 DIST boto3-1.24.59.gh.tar.gz 531080 BLAKE2B 
a5efbe215f2a88c6a48640a4b459c426ce3954a2337c84626f39228437d392fab8ec1cf4aaf53887db00bba70500a57ddfd0752d0f09226c78f70d5875ec852a
 SHA512 
6999fc12826072cfd1b06a89a323cc9f28a0874cca07b1ffd94e223e717cc874701f57c1d7b4f63724e329c1f51522631502e8ef19f640fe75c8c4c14e7ff38c
 DIST boto3-1.24.60.gh.tar.gz 531790 BLAKE2B 
b1734cb085e49609f46dea3ecc0ffdf5e197d31c69a5514d93b026282b0e1ddf04b72282a339b8076f9318f97548457d3e3db314e899e8eceb3e05d2bfced400
 SHA512 
a82ad5433ef31abfeacc885c8d5540568ec96c5e6b21a23de8f04eb48569f92dda740862d93c5e8e506e70e60e7d5e55e7cfba17b73e471ef49fc2a827846473
 DIST boto3-1.24.61.gh.tar.gz 531957 BLAKE2B 
b8cff8dea6b74ce1238a734cf1e2fb41ede27243216bf6c5b0e0d99a43948a6dc6999fe3ff0a13616b3a4ba0e1c675963faef5a299b9c1a86e3713eee9f07741
 SHA512 
7d957b9c9a120698fb2f7d1368500e456ea5e7834e4fc09c1680333b16056f089eea60480e50919c1dcc4596c72e43a74f6b57d433ed01f1ef53c7804b6dc2dc
+DIST boto3-1.24.63.gh.tar.gz 533004 BLAKE2B 
f678fbea81cf1be2f28d2463fbf50ff841d0a2c027f2f80cb99364b686aa8b72cd02345e6f8532e2d3b2b6c4a676f50640e1c3d3fc50d53a1aa549d90b8f7bc0
 SHA512 
771b3911180df5bc85b0ee1a4b8762bf387a1f55f37501b8b10bb3971e5cfb91fb072c4f9ea405d16b6351b1d34c8dce6e9564dfabd2414f6162ca8cc5ba3bc9

diff --git a/dev-python/boto3/boto3-1.24.63.ebuild 
b/dev-python/boto3/boto3-1.24.63.ebuild
new file mode 100644
index 000000000000..6edcc751d54b
--- /dev/null
+++ b/dev-python/boto3/boto3-1.24.63.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..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)"
+}

Reply via email to