commit:     519554472aa0098b8011608b5815ec6ea9e5dd82
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  2 07:26:25 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun  2 08:28:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51955447

dev-python/boto3: Bump to 1.26.145

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

 dev-python/boto3/Manifest              |  1 +
 dev-python/boto3/boto3-1.26.145.ebuild | 66 ++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 1142752b4fad..ec46347963b6 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,3 +3,4 @@ DIST boto3-1.26.137.gh.tar.gz 650777 BLAKE2B 
e4a7d02ccefbda53b33558dc107457eaa1d
 DIST boto3-1.26.142.gh.tar.gz 655602 BLAKE2B 
e9d5671308e71bb43a97953407f4aba5b78594ed39b26c3c992af9db8864e3c363ab874a66b5b015083c4a18fe7415bb1761137367783a70ff22564ada8a8842
 SHA512 
c2eabdb47898aa26fc8ba8a8ebfa43a86153188af1f1600bfa741bd3af1ce68a8692e461aecb5a29df94885e1c977b06c3cd009f1cec52a2e7a9dc853a2c3942
 DIST boto3-1.26.143.gh.tar.gz 656551 BLAKE2B 
67ed6469df9ac6f8911d0d59d1f256db424e1302315163fac71b1da94be4b9bd25dfb99c97009523cba56af48eaf32276fba3088b703daf38a40724d8e715183
 SHA512 
ea982542cf7138368a9223049418859a176065b03ee3919895245c35667773206ce7587b101f7af72d30893c38d05afec28ca72a7d0968bcc209d24c118709d2
 DIST boto3-1.26.144.gh.tar.gz 657264 BLAKE2B 
47d9d5fe5d1b134ae2ca0992b8bb2771f85b0bbbafe595ceeaa68d7d7805596e1a7abc9617a02b70da2119cf2d5091d0981ad049b1d38fc8bcbd2be8bff8ef78
 SHA512 
2622ec60e3b682c09c82905ff52a3b8bc91b6f69085b18b842482597d7defc6f6740dc0969ca1bd69f2e585e35558e33e69fd63401ba0063b414d90c5434688b
+DIST boto3-1.26.145.gh.tar.gz 657839 BLAKE2B 
32ff5e931bded9ebc887a4ac04f0d6077684205ce0707ac3af3f116024e58c102a35b6520e464d3778f9f49d54bd371c1a9ae5d5311f974a5f28d2e986f12abe
 SHA512 
5eccfc1edb28889b2d7eb3fbd888cb36075307474ccde24e867a65bea4e67f04c47f1367a5f99bd79a61a0179e983f7a02b99adb1a9d1e5b422a3323bd991440

diff --git a/dev-python/boto3/boto3-1.26.145.ebuild 
b/dev-python/boto3/boto3-1.26.145.ebuild
new file mode 100644
index 000000000000..2a4a7643203e
--- /dev/null
+++ b/dev-python/boto3/boto3-1.26.145.ebuild
@@ -0,0 +1,66 @@
+# 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_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