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: Tue, 23 Feb 2021 00:51:14
Message-Id: 1614040553.7f40d9dcd5bf2947a04b864041082555de270cd9.mgorny@gentoo
1 commit: 7f40d9dcd5bf2947a04b864041082555de270cd9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 23 00:35:53 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 23 00:35:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f40d9dc
7
8 dev-python/boto3: Bump to 1.17.13
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.13.ebuild | 56 +++++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index a429dd5da56..022a49d71be 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -10,6 +10,7 @@ DIST boto3-1.17.1.tar.gz 346057 BLAKE2B 239be1c86bd080b93c134847a2fba77ca85fa44f
21 DIST boto3-1.17.10.tar.gz 346865 BLAKE2B b69aacc61c036dbb534acf13d67cb5a31339cdb2ab37de495f16c6c28ca741892abd426aa2324ef26a5942ee57d5a766afaa728e931dcd84c84a58618e475469 SHA512 d2a0c835c650379cdd43b2c97a5bd518ffb496feb5676bffb995e3c92e820b9d45ffda3db1b24100705cf317ce41f97e87fa1bab457bc77bc08a620f8df9e662
22 DIST boto3-1.17.11.tar.gz 346877 BLAKE2B 4f6051da99527c01bc69677164024ac2f5c5e9ed70d8ab09b57dad4b75a67a3147bb14ad8be99505db26f8023375bd3b6088b14632f74a42517012a38500c0a7 SHA512 552fdc70fdd586b83091a895a6c061eed388541e8deb768b22f5bca1d21fd86e1dec529cd1d290db576fca8afc43d036e66d091c587bdb64f62a342cb6bd7fb5
23 DIST boto3-1.17.12.tar.gz 346906 BLAKE2B 47ada52081fca432f23e6c373949bbea74c04396f9fbc15a9ec45654b2e077067c03bf633449e43079000e8be275322048a9f48ae0dd895b30cca2b16a61860a SHA512 76f8462604bded88b959f8a0ebcb4a4bc4bbb31de70c2d527e2d0420fbbd0f4bd014cb255f354648fb57a43600190573b41c6eba8a87c3186c5c93224fe59216
24 +DIST boto3-1.17.13.tar.gz 347484 BLAKE2B 6e07f563ccb6c54b40af962d7b8941c7afa7976550956f7ac86b8720403d8c1a9a535a15ee25985e978c5274cb5268d56d142cf25832636635136cc71657f92f SHA512 427ac5f8d1418f8603f3807a71c1fa3e4105a8cf2fba51b2f29befad5a703a3d9400c96722ea0149187d93546caec2677e37f377605ad15e4c1e9453b0b29e8c
25 DIST boto3-1.17.2.tar.gz 346203 BLAKE2B 77da42c2a7f2c2ad08feba51e11e1821a44d5c433ca8fd8339bbdfe41a0caa907c2c566bfb747acf591270e539036988a8cb2488e0b2266b7970fa3fb2d0e9fa SHA512 d215417f68d958bcd4593f19a12d94a00bc7ead5cd6133f7390886fed2a545212f8da75220ddab298737326ec14a347fbba233ca52a4e3214f7911f9a9622fa6
26 DIST boto3-1.17.3.tar.gz 346250 BLAKE2B 7edf59a88ec32a08056112c088de9aae903daba909a4dfeb502830d8e9a7767cd34c1c77e06525ffb6b64be3c694e38011815e39b23959caaf11043f50d53948 SHA512 fa31cccb065c0e7cceb8733045a9232b1ee455ec408eaf62f2b2a7b2b29252b5eaa765dcd8b294ae10fef9707940f75194b450ac7f49f9db3b57060ecb74ab2a
27 DIST boto3-1.17.4.tar.gz 346342 BLAKE2B 3fba8f8b68edb268f20919bb65c5f8715d6c89c54884395f8080384c2d07ada15894d605a943e2c167ddf7fd3550657367e4b195caf28fd73609763cf23da687 SHA512 45ecf4fe0eb61d09aea5cc5e741544c6b23d6b98de24ab9f646f28d463104ec11116d0afd4b5fbd09f55e1a7ad65a653770efb67d4b023590c218bef4f326af1
28
29 diff --git a/dev-python/boto3/boto3-1.17.13.ebuild b/dev-python/boto3/boto3-1.17.13.ebuild
30 new file mode 100644
31 index 00000000000..74b9170a911
32 --- /dev/null
33 +++ b/dev-python/boto3/boto3-1.17.13.ebuild
34 @@ -0,0 +1,56 @@
35 +# Copyright 1999-2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +PYTHON_COMPAT=( python3_{7..9} )
40 +DISTUTILS_USE_SETUPTOOLS=bdepend
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="The AWS SDK for Python"
44 +HOMEPAGE="https://github.com/boto/boto3"
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +
48 +if [[ "${PV}" == "9999" ]]; then
49 + EGIT_REPO_URI="https://github.com/boto/boto3"
50 + inherit git-r3
51 + BOTOCORE_PV=${PV}
52 +else
53 + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
54 + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
55 +
56 + # botocore is x.(y+3).z
57 + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
58 +fi
59 +
60 +RDEPEND="
61 + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
62 + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
63 + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
64 +"
65 +BDEPEND="
66 + test? (
67 + dev-python/mock[${PYTHON_USEDEP}]
68 + )
69 +"
70 +
71 +distutils_enable_sphinx docs/source \
72 + 'dev-python/guzzle_sphinx_theme'
73 +distutils_enable_tests nose
74 +
75 +python_prepare_all() {
76 + # don't lock versions to narrow ranges
77 + sed -e '/botocore/ d' \
78 + -e '/jmespath/ d' \
79 + -e '/s3transfer/ d' \
80 + -i setup.py || die
81 +
82 + # prevent an infinite loop
83 + rm tests/functional/docs/test_smoke.py || die
84 +
85 + distutils-r1_python_prepare_all
86 +}
87 +
88 +python_test() {
89 + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
90 +}