commit:     bafe92a70a4cdc5b3589dd45a8fb16a7f36c7094
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  1 04:08:54 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul  1 05:22:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bafe92a7

dev-python/boto3: Bump to 1.26.165

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index e468669eedfe..3e5b9276e812 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,3 +3,4 @@ DIST boto3-1.26.160.gh.tar.gz 667890 BLAKE2B 
2d081604ea94a6fece2c6839c0be339fa2f
 DIST boto3-1.26.162.gh.tar.gz 669402 BLAKE2B 
33b945dade4486c0f7069c2209d0877fd3e6886d963139aed7716321d26ed92573486465580161799be92ac427da0dbb8fbfdb604db841af505e7dffbbef1c6f
 SHA512 
e0ad04b82a79ec028157f88e1a3c95a7156ecef8b5b869624637896ffc62aa93608d17436e931a8b240fb2f47574ae8de04e34eeb6270f821c95dfa0f62d8f1a
 DIST boto3-1.26.163.gh.tar.gz 670006 BLAKE2B 
c2bcd2a3a4aaf1f2f5b69a605971ee62a09c754894825acfb7fdfcb7b7114bcbbb5864fa7a5ab6fefd8adc6264746223bd801ed4d45553bb5823b19f4cb8ce60
 SHA512 
31fadc451df41030e88e51d2345d1b0e952ec88f2a381ca28679db8c0bce6fd97b928658216e1eec2e075ff3c98c512d732b93466e6f646bd44616b9ce2b1450
 DIST boto3-1.26.164.gh.tar.gz 670774 BLAKE2B 
d5a1f93ac403e738b754a915f6d64f16c083aa604cc535d33ca00c5484b3ff99a64b80173b0b1d60222e5cc797039d4135a767dab1284b0b16e913e2afcf00aa
 SHA512 
165b779c667f7d6f53c4849e215425f9cd717923df582215a6966b0f30b81014c8e804d24072623c8210fae1c702c38c9331cc6d90903d2d270a9060318f3c08
+DIST boto3-1.26.165.gh.tar.gz 671248 BLAKE2B 
b9c390bb2a32fa75fc48258137f04961d54c269f78ac8a87ef5d5eb24aada8708c341f89051b8c8e5d306b7e0c59ebc128659bcf89e071c479edf9cb7b959a5c
 SHA512 
734df5b6301eca682c0ae1f6bdda3024ed7171d3ed9952f24d177454fb19653b9bd573d9b9a09f44a9324163190620c72623f1f7f20706af42eecf5026e9f853

diff --git a/dev-python/boto3/boto3-1.26.165.ebuild 
b/dev-python/boto3/boto3-1.26.165.ebuild
new file mode 100644
index 000000000000..2a4a7643203e
--- /dev/null
+++ b/dev-python/boto3/boto3-1.26.165.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