diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-10-02 08:40:44 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-10-02 09:50:35 +0200 |
commit | 1a9267445ff1526d493a993fda590ffdebadf41d (patch) | |
tree | afaf68a604cbc84c16dbbc2aec071ed2578208f3 /dev-python/boto3 | |
parent | dev-python/botocore: Bump to 1.21.53 (diff) | |
download | gentoo-1a9267445ff1526d493a993fda590ffdebadf41d.tar.gz gentoo-1a9267445ff1526d493a993fda590ffdebadf41d.tar.bz2 gentoo-1a9267445ff1526d493a993fda590ffdebadf41d.zip |
dev-python/boto3: Bump to 1.18.53
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.18.53.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 5f917136c2c8..4deb9a00e713 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -12,3 +12,4 @@ DIST boto3-1.18.49.tar.gz 420662 BLAKE2B 92995cd06f19e26200ea51e6d171914ddbb20b8 DIST boto3-1.18.50.tar.gz 420875 BLAKE2B 22bfcf6ffb6ae87bf45a907f50998f8a04555fccf5e327037c4127f31ea097bf497ad63d08875f10de91a19e9bc53a022caf37af6badf00c424f4e84882fa35c SHA512 25d524e7a96e6f9020dab689536b012a3c708fd03898240e8186df1c89dd049bb627488706abb687173e4d692c85d5258468c903319614f0854d3a4cfab5ac2e DIST boto3-1.18.51.tar.gz 421143 BLAKE2B f3a943a2b8d91602017b70a0a4f9233a1c3d0bcd189594ba3b70db3d4a8b5f61758e0b7e5bc1658601b6fd58e47eb5ebf7d329a78ebd014b30d7047065b9c806 SHA512 88c6753bf12aff9c161276802be8936209197698065fb47a6ebf2d9de2b7cab7be9eef0779d612f9327cb444604baf1ca4527de60e7cd396c0a12e2495e6e838 DIST boto3-1.18.52.tar.gz 421808 BLAKE2B f81c00ee211d3e9402d4b266030696fe40773364b145184cdcb57feee6f7011cbb16345177a4bd2fe74325b133c7e1690a95345a40cccaf14c48de1232dba4f0 SHA512 1ea23881c0a06fe1ad9b30b612b25d7a0b92fbd373483f0e0a604168cca77442fd963ac9363a8ce9cf4a412471e4a4951e7c4428b550c29571dcac3b1d041f8d +DIST boto3-1.18.53.tar.gz 422176 BLAKE2B a07155f6be71c049479c1d2e47767bb2c6863075ea0085ca5cc4609e28aa8b0af0e2136754c0ed6fd05dfecab079f76d636e19e1b8af4b68220768cea6125e93 SHA512 ae774e3db52a90a0850b4bd90be105d4ab59b6478ed16e30e2cc5afec0664e2b13438ab7a460e570c680d49be240855b7c9ae30a373c83d50dda5da6b84d01b7 diff --git a/dev-python/boto3/boto3-1.18.53.ebuild b/dev-python/boto3/boto3-1.18.53.ebuild new file mode 100644 index 000000000000..450c87d9f8b7 --- /dev/null +++ b/dev-python/boto3/boto3-1.18.53.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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 ~ppc ~ppc64 ~sparc ~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 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 + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} |