diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-02-21 04:41:03 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-02-21 04:41:03 +0100 |
commit | 3b3f14277e59b73c34d785b10d8b3e29d9a28c46 (patch) | |
tree | aee3e154daeef50636bf5bd67ec492a5f1cdabc4 /dev-python | |
parent | dev-python/botocore: Bump to 1.34.46 (diff) | |
download | gentoo-3b3f14277e59b73c34d785b10d8b3e29d9a28c46.tar.gz gentoo-3b3f14277e59b73c34d785b10d8b3e29d9a28c46.tar.bz2 gentoo-3b3f14277e59b73c34d785b10d8b3e29d9a28c46.zip |
dev-python/boto3: Bump to 1.34.46
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
-rw-r--r-- | dev-python/boto3/boto3-1.34.46.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index ae5576f71a0c..b8910c31caf1 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.34.34.gh.tar.gz 771553 BLAKE2B 52459e1baefd7986256bb6c89074aac365fb DIST boto3-1.34.39.gh.tar.gz 773491 BLAKE2B 69256649eb3bc5a856adffe4fb1e0e3f1e14e9a8ff557a9c4a4a8009bc0b8483555e9350f98656d3088c271152db199201c2739e4860fbc0c63810e19a13eca4 SHA512 88fb84a97c072f3e1719116d10dae2a8a840f495aa89f42f13fb105209d0d098390cbdbc443811ae78a684735fa571dbe66bf10c0e53718e783a17de36a18197 DIST boto3-1.34.44.gh.tar.gz 775883 BLAKE2B 97648819e48af3bbdec76ca47f5532cf9f0a99845f90515cbc7bec02bd5cc04ed5cc842b55cd589a8fb1cd8852edf4d12d3e8a23320e23fd4c5920854ef588d3 SHA512 310689dd7fc3a08c3a8ed6e223381870f028ee07354f74654abafc893f8230fee82bcd136c9e04a675a06bad496458f6778e6d571e75f6541130b3e06cdf324a DIST boto3-1.34.45.gh.tar.gz 776142 BLAKE2B 0fc27d192ab356e4dad6faaf6ed33d32b728efdbfdb4b662db1269de8eaac7b8f966b45167eb29c4f94abacfe01173f71eb792df2dea9f03d10df6e7d7753406 SHA512 ddfdd97643dbdf139783c03625b8d4d652a4d83c485a1c1cdba9b09fc214f8ff5ed75f51b5498449ec3c69f69c92127ad6ca79a8db8e951e528d6cabe3d57ada +DIST boto3-1.34.46.gh.tar.gz 776383 BLAKE2B 94fcc2899d6d8a02acdf4e293dd9ad7f29b03be88ad40714e295eae9c0d34fe9d063b7ad186787755d87e127ef4f693a7c02a3f6c0cd31f45cad1cd0ffea216e SHA512 24882634ea2b5c8ee5d7b50b5ea8543fc74dd853524fd70c3897feebe45c99f26f6244de512b5a857ac07062db1d3ea4249198778dfb13799fdf4ef223793aca diff --git a/dev-python/boto3/boto3-1.34.46.ebuild b/dev-python/boto3/boto3-1.34.46.ebuild new file mode 100644 index 000000000000..b64e7191fd19 --- /dev/null +++ b/dev-python/boto3/boto3-1.34.46.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} +} |