commit: c81826291ce66ca6278b52885f02112f96ac64bc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 9 02:35:03 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 9 02:35:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8182629
dev-python/boto3: Bump to 1.34.38
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.34.38.ebuild | 58 +++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 73667d7294c3..1524379ec30c 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.34.34.gh.tar.gz 771553 BLAKE2B
52459e1baefd7986256bb6c89074aac365fb
DIST boto3-1.34.35.gh.tar.gz 771771 BLAKE2B
2126de54d6d7fe94bab546d1f4be4b99f6ecf3b5033e4a9e3c514482c6b954a83992a904d84b3da17ffcb6ee62a147b40669b7264f7d278c81ec35259bdc1326
SHA512
a9e6586144f14b5602bf5ab37de433d96b7c713b370dff18922eddad19a8ba0b421008f334d8af2f8eb39f454487cbbea1b83f7141c4afea988d5592251a6c65
DIST boto3-1.34.36.gh.tar.gz 772161 BLAKE2B
f5ca23c960e6dda208a17b3c73b169354ecc759508b7aa28ef20150dce540ed813e426854a5c97a30233cc26c4a3d5ad87024f2ab4cace345a0b675ca0958df5
SHA512
2c33262aa6513e1f7640738d1b03010f5c5e8f7fceb18e5e055e5bd34845bcd475e80f8e5736e96136b4d176165f2d3ebd9a4c79a9f14ec12c46e3b81c71c465
DIST boto3-1.34.37.gh.tar.gz 772370 BLAKE2B
67b75d72d31d2520109e2d021b20c9d0aa91a503b73ce4167656204a53ab02a40b0b96ae7df7cb05254dc709aeaa971a3b002c44920ffe1beaf09dcdd9fe254c
SHA512
52c60da9aeb431a365cb722ebe45db485fb8d36514fa057d40b35fae21abc24c07a4935b1a9133b037def2126f2ea7b71ed536f6eb8ff1c6fc1590d186dc2d71
+DIST boto3-1.34.38.gh.tar.gz 772844 BLAKE2B
59db9187488ecbf263ca6920bcf9524b1e2bed88e1dbed994984a38e449d7e4970ccf861eeec84c9dc1e044bae0b3fea2f5cd2065675b2d7e1df7ceb8a124cf1
SHA512
702e4dfbb6088c32158cf938b9db9081f6a31c91ac37b3b336ae3c0b02ee697f0c58dd971ada2b3bf5de702e91dd015983222c1a1879e0dfdce7780afd4fe052
diff --git a/dev-python/boto3/boto3-1.34.38.ebuild
b/dev-python/boto3/boto3-1.34.38.ebuild
new file mode 100644
index 000000000000..b64e7191fd19
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.38.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}
+}