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, 29 Jun 2021 06:05:08
Message-Id: 1624946688.2b32eb3717392a346bf3bb691a60a92c0f11c170.mgorny@gentoo
1 commit: 2b32eb3717392a346bf3bb691a60a92c0f11c170
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 29 05:32:58 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 29 06:04:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b32eb37
7
8 dev-python/boto3: Bump to 1.17.102
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.102.ebuild | 56 ++++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index 1c841be2984..5b106725145 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -1,5 +1,6 @@
21 DIST boto3-1.17.100.tar.gz 385310 BLAKE2B fef5fb0cf4862819c05efa3eb793cf2c9756c003aa4de2c8288a0b46d2f6f2cace53ba09429761437073fac366ad73cc1e816b480a22d42f1d3b9c5160fc3a07 SHA512 2d137d2dc6265a784af961b4e61faddf2a9b9493fc281da9764fd1ef8e855777d48daeaef7380e9d83408c6358e33c2898ad60c95e685bc04a9821cb0b2cfc3b
22 DIST boto3-1.17.101.tar.gz 385690 BLAKE2B 7b98615588eb09513eba33f1fd1019631c862def949f9c8314cc8b8506e83be3b3bfe88c08d97166e9f669db2724b02a247769db7f4262c7b4d306afdb3bf2e6 SHA512 cda7c5c42ef809397002d64f04e23bfac271086b4601595b635dacbab4592cab401b6238291ae2fa898d2419b4a0f2d3d0bc7828c0a7de2442ad0026a5565d56
23 +DIST boto3-1.17.102.tar.gz 386456 BLAKE2B 25b18f086f8881a237a953c85cecc403fdd1b047f990ae289c16695ca1c1faf50da3cd7363e72d1655d7a887c8f5c0729bb25121fa0066db5d393f5b6cd3d4a6 SHA512 42cbd01626bd11f774466dc718086648eb7a4b73a50226a04485e934010271b0f20c030c300ada074fb0b3bf3eac8f6fa113dee86d0f1cf3f12f12230778c2e5
24 DIST boto3-1.17.54.tar.gz 362224 BLAKE2B d67ea9a2833d4cf6ec50fc4eab9c194f813f92ef00fa0d1638e0dca0bf03a92fa5208707b3ceda70759231aa69c35bf83028eada42d04209a55d05daf37ce764 SHA512 795a78807e8aad9ba53b196ac6b3547e23d2f7cc962a34121280fe47dfa8f99eac19765c87817918c6ee36dfb7e2b647e5646b7da27eb67900f29430bfe2fb5c
25 DIST boto3-1.17.74.tar.gz 371719 BLAKE2B f6d44206a14cdf395c8963be048e81391ecbf6817b1c00e1cd081abf111df8bd85c05fa1c04b013de7e6d916835e4876cc961891c8d52d8a32e41713080ed96e SHA512 a79012072238286561ab43ca7bb9f24236e858e0bf550be9a074517145445d0d520cc207683d99f6f704416f617b5f89468c87357223db9564e4310a2a2676f1
26 DIST boto3-1.17.78.tar.gz 374487 BLAKE2B 8a83cb32db8336351454251a3cf78efad6197885a66c10a4e3f9e13770d92d7cd9e9b51bfc7c4bfdb2f5183c5246872d7f3075d55b5129606ad9d977ecbf9891 SHA512 8ab9f13360f63342219d7b0278e2ca5613f8d051d006ef26da14307e83fcaaf1a546c566cb4b8ba012fa5e8e6b5e409722228da0989e56f50e40df4a733602de
27
28 diff --git a/dev-python/boto3/boto3-1.17.102.ebuild b/dev-python/boto3/boto3-1.17.102.ebuild
29 new file mode 100644
30 index 00000000000..75afb4bcf86
31 --- /dev/null
32 +++ b/dev-python/boto3/boto3-1.17.102.ebuild
33 @@ -0,0 +1,56 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +PYTHON_COMPAT=( python3_{8..10} )
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="The AWS SDK for Python"
43 +HOMEPAGE="https://github.com/boto/boto3"
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +
47 +if [[ "${PV}" == "9999" ]]; then
48 + EGIT_REPO_URI="https://github.com/boto/boto3"
49 + inherit git-r3
50 + BOTOCORE_PV=${PV}
51 +else
52 + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
53 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
54 +
55 + # botocore is x.(y+3).z
56 + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
57 +fi
58 +
59 +RDEPEND="
60 + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
61 + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
62 + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
63 +"
64 +BDEPEND="
65 + test? (
66 + dev-python/mock[${PYTHON_USEDEP}]
67 + )
68 +"
69 +
70 +distutils_enable_sphinx docs/source \
71 + 'dev-python/guzzle_sphinx_theme'
72 +distutils_enable_tests nose
73 +
74 +python_prepare_all() {
75 + # don't lock versions to narrow ranges
76 + sed -e '/botocore/ d' \
77 + -e '/jmespath/ d' \
78 + -e '/s3transfer/ d' \
79 + -i setup.py || die
80 +
81 + # prevent an infinite loop
82 + rm tests/functional/docs/test_smoke.py || die
83 +
84 + distutils-r1_python_prepare_all
85 +}
86 +
87 +python_test() {
88 + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
89 +}