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: Mon, 02 Nov 2020 23:31:28
Message-Id: 1604359713.e40d340f15b2dcca5d00720e1eefce8256810ab9.mgorny@gentoo
1 commit: e40d340f15b2dcca5d00720e1eefce8256810ab9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 2 23:17:48 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 2 23:28:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e40d340f
7
8 dev-python/boto3: Bump to 1.16.10
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.16.10.ebuild | 56 +++++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index 0de1e958ce4..6f423aab969 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -1,4 +1,5 @@
21 DIST boto3-1.15.1.tar.gz 335146 BLAKE2B d2d008dcb2059b120f142aaf588264122d1e84b450ab1fbc938627d1c8cc9bb60d1b80e68bc5e538376b56866156ca901abde747a8f973588b64b962284229c4 SHA512 46e1aabaa975b0215c2ece160b5e584468ba19699f87686c2787404d0a13274f763272cec577f830c6c71cb7f9e10b1c317a1348770f49283257d8cba65c5e3a
22 DIST boto3-1.15.10.tar.gz 336021 BLAKE2B 71a8bcfd115c0066931e616d1d3678d51ba09460b3c36bf83d838cb0708a7f06afab8b94757a52c055cee51bfbaf1044b086621da16fd6e367cf728aec9080af SHA512 79c12baf5aebb8f2e7048d9713cbb73f2fd100ba8aaabc740757c1bab30e5626fde57b1553ed365dc65b0094513b5a6f305607ce48d62ecd8d5df183ee3db412
23 DIST boto3-1.15.18.tar.gz 336927 BLAKE2B 0ddc7fbd0fffcbeafeee7b9aa0f699087369f315551e243175793c82d95c97dbbe8997d5fc280e9fed18612d1058d858a7b34b0b1b4ac7905774009beb62c0a6 SHA512 2dc88c27bafe7ff2f2b00be94c37e7cabc94f09ca0ccb898a5d29cd8087bb1945d226ed5d87e955250775038fc039740e68d93662b465e99a16cfebfd2fa2944
24 +DIST boto3-1.16.10.tar.gz 338466 BLAKE2B 3b4c1978859679d193fff2d44c9c8f693759527ebf0913e55049332135d6271bf30ad0b935e84867b9b1ceba3c196526dc20c7b2c985c3b16ba8f3a08796d19c SHA512 b582ee69d489f784d6f05f8be634e2f014f55046c11ed1609f624dac006cd3a05bad597ac155c5cc0dce7fb40843de2d2cf48829135c680e91a6d6b2ca15f49e
25 DIST boto3-1.16.9.tar.gz 337905 BLAKE2B ed01e28fd7e62e5e5028307c93f92004bfbecffa77bc2ba1d6574b92ec2c515d910eb5107ac5ee03e0aca909f97f379aa65b5f839c8067634fa69266c58de33f SHA512 7343b8432788ef981819f91fe2ba27c4ec3947d01ff55914f7c89607250ecf60db2da8d25c8a2c7001ef546a9abed4cb744c5937ca09497aa1a983049648bd5e
26
27 diff --git a/dev-python/boto3/boto3-1.16.10.ebuild b/dev-python/boto3/boto3-1.16.10.ebuild
28 new file mode 100644
29 index 00000000000..ccc99e1c241
30 --- /dev/null
31 +++ b/dev-python/boto3/boto3-1.16.10.ebuild
32 @@ -0,0 +1,56 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +PYTHON_COMPAT=( python3_{6..9} )
38 +DISTUTILS_USE_SETUPTOOLS=bdepend
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="The AWS SDK for Python"
42 +HOMEPAGE="https://github.com/boto/boto3"
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +
46 +if [[ "${PV}" == "9999" ]]; then
47 + EGIT_REPO_URI="https://github.com/boto/boto3"
48 + inherit git-r3
49 + BOTOCORE_PV=${PV}
50 +else
51 + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
52 + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
53 +
54 + # botocore is x.(y+3).z
55 + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
56 +fi
57 +
58 +RDEPEND="
59 + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
60 + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
61 + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
62 +"
63 +BDEPEND="
64 + test? (
65 + dev-python/mock[${PYTHON_USEDEP}]
66 + )
67 +"
68 +
69 +distutils_enable_sphinx docs/source \
70 + 'dev-python/guzzle_sphinx_theme'
71 +distutils_enable_tests nose
72 +
73 +python_prepare_all() {
74 + # don't lock versions to narrow ranges
75 + sed -e '/botocore/ d' \
76 + -e '/jmespath/ d' \
77 + -e '/s3transfer/ d' \
78 + -i setup.py || die
79 +
80 + # prevent an infinite loop
81 + rm tests/functional/docs/test_smoke.py || die
82 +
83 + distutils-r1_python_prepare_all
84 +}
85 +
86 +python_test() {
87 + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
88 +}