Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/boto3/
Date: Wed, 03 Feb 2021 23:23:11
Message-Id: 1612393125.d8fb190f52bc7ca212a9f11686e41c1c2ad7ddc1.mgorny@gentoo
1 commit: d8fb190f52bc7ca212a9f11686e41c1c2ad7ddc1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 3 22:58:45 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 3 22:58:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8fb190f
7
8 dev-python/boto3: Bump to 1.17.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/boto3/Manifest | 1 +
13 dev-python/boto3/boto3-1.17.1.ebuild | 56 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index 58eee2bb995..de89a204608 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -6,3 +6,4 @@ DIST boto3-1.16.61.tar.gz 345049 BLAKE2B 542dc15da302d9eeec31d99d2ee0c1229e4155b
21 DIST boto3-1.16.62.tar.gz 345246 BLAKE2B 26b88075e2d5a14b98a3868c4c8f6c7f13d4188c73f5c6884971fb7e3f61ec7f2f371d95f381150b630c94fb2d0d4abc8ba1cf48ecbbce44a23890e15a72ee45 SHA512 1dfa6f45caf57bffe33308bafc68ffa8180d34349a7d84862c6a105139e7ec5134c932fd0050e2ea4375a066724c002c52b6809f0f9fe2a831f48967f86dcc78
22 DIST boto3-1.16.63.tar.gz 345303 BLAKE2B e6877aeb3efd8018188eaf687b96e604f6b6b4910ae1a96d6f0d6db335f836d223f3f3216990a8a1eed3af91830ef8effd52f2c16148bb05dd4a6d69f777ef76 SHA512 25df3e65feb6c89c865021311d3c63bb52b5e48ef2e09813f548b1cc4c28b462969b4c3ec5192ab8b02ab9faef28f9ff042ea78f22d19a8df96f1211a9e1a763
23 DIST boto3-1.17.0.tar.gz 345964 BLAKE2B 09dbde33fe41e625e4fe9519d88b6d878024e14c594a845e3394347c5e9b28f2dae6a9e791af277fd2acd73dc8a3e96a7567f3cad3259b7370cfe7e8cb782111 SHA512 eb5b1feb310d44a6201846bead22c2c7e7862b753bcd0b02d91809b5df37842b07e74e507c322243133ffc0e3c64a36bf588e36e5b4066a2aa2a73f2316f768e
24 +DIST boto3-1.17.1.tar.gz 346057 BLAKE2B 239be1c86bd080b93c134847a2fba77ca85fa44f6106a9b4129a793e1dad279996a2ec3bcaef06b95a7fcaf03095440382402ea77bf48c5711638c0670f25860 SHA512 c74b36a41e647e89bd71993f17414df9af99740fe49855267125141bbd283d1e6df29f52ffd2bfeeb7bd0ec004975d2a596a842afa84656dd9978948227fe9d3
25
26 diff --git a/dev-python/boto3/boto3-1.17.1.ebuild b/dev-python/boto3/boto3-1.17.1.ebuild
27 new file mode 100644
28 index 00000000000..74b9170a911
29 --- /dev/null
30 +++ b/dev-python/boto3/boto3-1.17.1.ebuild
31 @@ -0,0 +1,56 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python3_{7..9} )
37 +DISTUTILS_USE_SETUPTOOLS=bdepend
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="The AWS SDK for Python"
41 +HOMEPAGE="https://github.com/boto/boto3"
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +
45 +if [[ "${PV}" == "9999" ]]; then
46 + EGIT_REPO_URI="https://github.com/boto/boto3"
47 + inherit git-r3
48 + BOTOCORE_PV=${PV}
49 +else
50 + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
51 + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
52 +
53 + # botocore is x.(y+3).z
54 + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
55 +fi
56 +
57 +RDEPEND="
58 + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
59 + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
60 + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
61 +"
62 +BDEPEND="
63 + test? (
64 + dev-python/mock[${PYTHON_USEDEP}]
65 + )
66 +"
67 +
68 +distutils_enable_sphinx docs/source \
69 + 'dev-python/guzzle_sphinx_theme'
70 +distutils_enable_tests nose
71 +
72 +python_prepare_all() {
73 + # don't lock versions to narrow ranges
74 + sed -e '/botocore/ d' \
75 + -e '/jmespath/ d' \
76 + -e '/s3transfer/ d' \
77 + -i setup.py || die
78 +
79 + # prevent an infinite loop
80 + rm tests/functional/docs/test_smoke.py || die
81 +
82 + distutils-r1_python_prepare_all
83 +}
84 +
85 +python_test() {
86 + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
87 +}