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: Thu, 17 Sep 2020 08:34:28
Message-Id: 1600331661.1edd8edcd30f94cd1d924c6b289e8ffb7b6178ca.mgorny@gentoo
1 commit: 1edd8edcd30f94cd1d924c6b289e8ffb7b6178ca
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 17 08:19:26 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 17 08:34:21 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1edd8edc
7
8 dev-python/boto3: Bump to 1.14.63
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.14.63.ebuild | 56 +++++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index bb9cec36e05..2046bf9a035 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -7,3 +7,4 @@ DIST boto3-1.14.55.tar.gz 302397 BLAKE2B 61785df9bfbe0668ff7b0537bb86b119ab3a98d
21 DIST boto3-1.14.57.tar.gz 334506 BLAKE2B ba422426f36c55eb78e057d886abdb9a435839b4a842bf917e3e02d2f3f80c8c94bbf524ed4f3cab53ae627a9f1aeac41a790bebb72c94f52c73486dbcd3f13b SHA512 b772ec8d1c167e37515643796a569ba4258de24b9e4aa1a5022e140fc9121fdc02472231f36b8336e75115aabafa8dbc8c5422ce2ac137f3ead1202043b1c6c0
22 DIST boto3-1.14.59.tar.gz 334641 BLAKE2B 96cd0750521715f030c2668cf21b7d6e5f53ffb9bcb84bc9fc540b1bea911591880385a3bd31447f924aa24cbdce873d17241d921b87e57d109173062dd27678 SHA512 9dddad6c71bac90803402b35a316f7177c26629e7e1b3cdadc6222e890d89dce4c2941174501705da85209220fe741f788654f5db164b2d9eac26cbba7cfb0d5
23 DIST boto3-1.14.61.tar.gz 334755 BLAKE2B f0c5b5e9f74abaab03789deae1bbf9c5957d5d54af5cdc0c3a21deaed4945e104abeb59305ec1c692f2bcd2e99f7806ea4bd7fb9ae6194f194d74c9eeac4bf0a SHA512 6bec490d4d976585c5a8522998a4b3538dfdfc53416844779dbede2faa7d0d45bb10a6a566a777eaccd5d630202f6217178a386fbf3de5ef3c6395cda583f413
24 +DIST boto3-1.14.63.tar.gz 334965 BLAKE2B 370a1d5bcc32ba6fd8f187fa56fbb3afa4aafa0692245efe024efdefb3d0a314b24873f641b3789430d6a64df70e55743a73760b8282ecaeb64116d9c27b82bc SHA512 668ec7a40d7be74268005d342b568e2d0efe0a3aafca7123c27e966fd89334dbdab04bca0a7ab216eae1f26f0506ef4ccacead49b1714a94a84c7a315e71e505
25
26 diff --git a/dev-python/boto3/boto3-1.14.63.ebuild b/dev-python/boto3/boto3-1.14.63.ebuild
27 new file mode 100644
28 index 00000000000..ccc99e1c241
29 --- /dev/null
30 +++ b/dev-python/boto3/boto3-1.14.63.ebuild
31 @@ -0,0 +1,56 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python3_{6..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 +}