commit:     4cbdf84eecba9fef1fb4f9ceefac54b45f452fe1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 21 04:32:52 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 05:38:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cbdf84e

dev-python/boto3: Bump to 1.34.67

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

 dev-python/boto3/Manifest             |  1 +
 dev-python/boto3/boto3-1.34.67.ebuild | 58 +++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index aea6ff2f959c..e1a4632423a1 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,3 +3,4 @@ DIST boto3-1.34.59.gh.tar.gz 782060 BLAKE2B 
d46f20f101f36380a17cb5c1bd511adde1b9
 DIST boto3-1.34.64.gh.tar.gz 784663 BLAKE2B 
6a4b335dba37ea09d7b2cec152699972b0b1db6c9a538435f565fcf6694d0f7bcff8e1dcec04f3a8a00844582eb8f5b3635b6425404020e760a35809c6d868b8
 SHA512 
39297271578a5766d95dcef540fa9f29831680ae13e618b3aa0890cf888e4e7f8c509d3df15e8003ab94c66c7de1442adf74a1bb38a8d5cb9bbab46f00fbc17a
 DIST boto3-1.34.65.gh.tar.gz 785163 BLAKE2B 
15596df62933b72311f7f6cb7a9c710355ad040e4be8bd8c78481a1a69ccaafbc50ed427466da985c0031d5d1e440ba78fdc751655921d08f15c506d29b2d5d2
 SHA512 
12ded3641b4c18425886d9f017e157e22b587386d17a16914918deb68c5e8b13369e40af1012a8917621fd97c0d076057bf95d3e4a9ae367f9ccec3d88aade96
 DIST boto3-1.34.66.gh.tar.gz 785695 BLAKE2B 
b11aebb785ca7cf93f8eeffef7d96a698a3073e4144131c6e786518a957b5a346f4fb67a306461b25db3821e04ff5687c680a5f816c3c587b9196d77961d501f
 SHA512 
80570ee5a0b7beaac71784a4edca2c5504a7d0e1195c919ddf9a90ae7b0dab30d7798082948678f7bd61e701006c7f35d417e905df5be7027e0341f9c649b724
+DIST boto3-1.34.67.gh.tar.gz 786594 BLAKE2B 
633bcdefdd9753cacd2ca101ed72a544e11b2fa9137320b0c259808369ac017ec65e7d9dcd14daa3ac7e9f6dee23459ed6c119458b8d885efa77f27f2dddb029
 SHA512 
8c10d5ae3498191c2199ea4535b180d0f0cb4ac07c698970a2664ef8837c81ed8e23d1fefefd0ea79135fd0da68a60b92137a382daaff8ba306a977821a623f6

diff --git a/dev-python/boto3/boto3-1.34.67.ebuild 
b/dev-python/boto3/boto3-1.34.67.ebuild
new file mode 100644
index 000000000000..b64e7191fd19
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.67.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 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
+
+DESCRIPTION="The AWS SDK for Python"
+HOMEPAGE="
+       https://github.com/boto/boto3/
+       https://pypi.org/project/boto3/
+"
+SRC_URI="
+       https://github.com/boto/boto3/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+
+RDEPEND="
+       >=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
+       >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+       >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/mock[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_XDIST=1
+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}
+}

Reply via email to