diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-24 08:20:29 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-24 11:04:10 +0200 |
commit | 1baaf54212f211d1f45c9ffe11de316c2af30372 (patch) | |
tree | 3d9a0a1f13c266f224466f87506511db01b1588b /dev-python/boto3 | |
parent | dev-python/botocore: Bump to 1.20.57 (diff) | |
download | gentoo-1baaf54212f211d1f45c9ffe11de316c2af30372.tar.gz gentoo-1baaf54212f211d1f45c9ffe11de316c2af30372.tar.bz2 gentoo-1baaf54212f211d1f45c9ffe11de316c2af30372.zip |
dev-python/boto3: Bump to 1.17.57
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/boto3')
-rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
-rw-r--r-- | dev-python/boto3/boto3-1.17.57.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index e198761a99d4..6fbe89a94cbf 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -8,3 +8,4 @@ DIST boto3-1.17.53.tar.gz 362118 BLAKE2B 5f143166cee5a3a3201eb2575cce540ba21772d DIST boto3-1.17.54.tar.gz 362224 BLAKE2B d67ea9a2833d4cf6ec50fc4eab9c194f813f92ef00fa0d1638e0dca0bf03a92fa5208707b3ceda70759231aa69c35bf83028eada42d04209a55d05daf37ce764 SHA512 795a78807e8aad9ba53b196ac6b3547e23d2f7cc962a34121280fe47dfa8f99eac19765c87817918c6ee36dfb7e2b647e5646b7da27eb67900f29430bfe2fb5c DIST boto3-1.17.55.tar.gz 362821 BLAKE2B 82d4b8fccc858fe3eab1d225cac7b4b51e9a24317e4f405804abd1d6e78f821e00c63a94d02f335313b1c884ab9f8246a7764335d1ab0bbcf6afb613184a7215 SHA512 e7496112ed5dece4f74bf9ea48324b719207e878e3d8fbe642e2bc3d13e653942c4712120cdf6be01cde1511210cd74be549b68032589962d49db68e9d29deb5 DIST boto3-1.17.56.tar.gz 363210 BLAKE2B cd3fd8fbeaf55ef7b3b4fb9ec345619f7b0fb084c452c1f256c839fd57b9b060468fbb29d104004e4dbe06445911fca5ca91bba7e95fbbb4fcd3856051290368 SHA512 936a358a06328c8b97bdaf86fe86e56230ec9e84f7d31e9840de646e8db090b2ede21615a6c394c2e7bf572df649601b00b71ade4bd19786c04e11a0381a9787 +DIST boto3-1.17.57.tar.gz 363474 BLAKE2B 230f374f95d2dfe030e5e27f9f2441f3630e0596fe869dc57c0fcad6424ad50a20bb95b943d3a2ce5ef859b94169dbeed4682879d9d24544a24cf27b4f7508e2 SHA512 e0f670263f5eda352e40be28fec7f9926b9caaad18345f6eb8bf912d83b5c25d1345bf18d9bcdfd2186886a6fd0140f1a4f4887632fcd29390c7cb66271fd909 diff --git a/dev-python/boto3/boto3-1.17.57.ebuild b/dev-python/boto3/boto3-1.17.57.ebuild new file mode 100644 index 000000000000..74b9170a9119 --- /dev/null +++ b/dev-python/boto3/boto3-1.17.57.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/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/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~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.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # prevent an infinite loop + rm tests/functional/docs/test_smoke.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}" +} |