summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-12-19 06:05:40 +0100
committerMichał Górny <mgorny@gentoo.org>2023-12-19 07:10:52 +0100
commit9f0d521bf3ff92328ceee30836e70d172a8e6783 (patch)
tree5005720424b7cc3cfd498c8fab222b43efae5785 /dev-python
parentdev-python/botocore: Bump to 1.34.3 (diff)
downloadgentoo-9f0d521bf3ff92328ceee30836e70d172a8e6783.tar.gz
gentoo-9f0d521bf3ff92328ceee30836e70d172a8e6783.tar.bz2
gentoo-9f0d521bf3ff92328ceee30836e70d172a8e6783.zip
dev-python/boto3: Bump to 1.34.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/boto3/Manifest1
-rw-r--r--dev-python/boto3/boto3-1.34.3.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 89bda8f832f3..9fc4e88bdccb 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -2,3 +2,4 @@ DIST boto3-1.33.11.gh.tar.gz 754430 BLAKE2B f206c6eeb9859af85f09bb48298b941fc0c9
DIST boto3-1.33.6.gh.tar.gz 752467 BLAKE2B f0f344a9e93ff3ad1dd03b44784a41637d05961855e2cd0700dbb840f98940f387cf81d1eb36cc63579be810f5a7d52c49cdb3831e930f89b1b2026af1e4b357 SHA512 1d3d2dd734621cf94e88015273f6fd4d68ec956145eb2b91fe34920f9abe7786a64e2e7f4057db30e71574e392fff9190944c3d9e6143fd43c5e48f04e9eb2ae
DIST boto3-1.34.1.gh.tar.gz 755547 BLAKE2B ef830690a85802c8f540b23a5cf618b8a1c831ad94f8d5e759239201dc2bc3580b64d92c4cc6688c46e9b737e3dd9a67e5315d13a59fa79f63fb33c542273805 SHA512 bee4d7dcec1ee9c8b8cc121f5e8090c3da5c5a11c554a1fe8f32f38c7f4417e950cc920fbd64d45e81fadb6f58cb63cbf64667c34f3f12e60500f59b1428e78c
DIST boto3-1.34.2.gh.tar.gz 756227 BLAKE2B 7253c533bac45b3848ab573d4781cf68b6bea8d504f851b58366dd3e6ac05b35fb2a85cb7aaff0e426a6bd2f9fe2933dd240e4d0283e4491e095fa93b4061971 SHA512 06eaf9b6725d312d91a4a8ba3ab85dde5f579e6d2fa42211189a6f30584b7d2a5c0cca46264bda52a076c8bd1acac9ec0476eb5d986a8e29972f69b7007de3c2
+DIST boto3-1.34.3.gh.tar.gz 756507 BLAKE2B 030c01e76b2d52bd2b0f95eb5065cc28410f76082b8ae1a0f9441eb6885fc07e45a31164d8bc4b130bc93fc91fe0fdc6d27f520d2c1596aa3504d0cefa8ed05f SHA512 e6332e418a7dfac9ebceb3e97b0afc02b29dc909fd7efb4d7f504dc5b205df30999854fbadfed94f3b1a7afaad613036a9c7f91b119d3d5f2d69959829526064
diff --git a/dev-python/boto3/boto3-1.34.3.ebuild b/dev-python/boto3/boto3-1.34.3.ebuild
new file mode 100644
index 000000000000..9d696a310a62
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.3.ebuild
@@ -0,0 +1,64 @@
+# 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..12} )
+
+inherit distutils-r1
+
+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"
+fi
+
+RDEPEND="
+ >=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
+ >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+ >=dev-python/s3transfer-0.9.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}
+}