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, 02 Nov 2021 22:59:25
Message-Id: 1635893947.846c463063f73b1ac1b35eb939856dacb0db98af.mgorny@gentoo
1 commit: 846c463063f73b1ac1b35eb939856dacb0db98af
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 2 20:44:30 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 2 22:59:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=846c4630
7
8 dev-python/boto3: Bump to 1.19.9
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.19.9.ebuild | 53 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index 3ae3e8fbce9..b110176e6e1 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -5,3 +5,4 @@ DIST boto3-1.19.5.tar.gz 433567 BLAKE2B 52c12a4dd18d6f02326f8002b345cc5df224455f
21 DIST boto3-1.19.6.tar.gz 434389 BLAKE2B 3c7e4c91c95b93358b4a31d401e03f8a397802004a6ee2bfc2ef1a31df8b89e8866fa73d3354509ae00537898cc8e04b878cc9d00f82ae4e94266e8185e7abd1 SHA512 6ba4f7a89d973991afe329b4c648c8ecb0bb256d63c7e60ae8bb70e6fd5fc9b1929168dfdd55f2c84039856a32c891013abf61dc2e65f516490c446b0dfaaac2
22 DIST boto3-1.19.7.tar.gz 434848 BLAKE2B 102b2d985cbad6c6ff6fc7866f47c172028e4b1a56ef7eac5854b12aedfbca1b94eb426fead04397e119ebaf939f7732202718395775b0555f566ed938c27dc7 SHA512 40cf5341bfd7cc4cae4c542e39e4c5ec1b63ba3bfee5faedb75633e656700dd5e80a137b234b57d22cc1b7d85a2056ced4eb8b7189ab57c8f2c0269e8826811d
23 DIST boto3-1.19.8.tar.gz 435192 BLAKE2B 2cec7fe3a114ef349e4afc15f15315d351de93ecae3439946d9936effa257e55a88f6605b33e13ca927a245e99ad60b0c9c356320be6e4f95a99e52c6ff8da11 SHA512 f1038a0103f09c4bb20d4feb30abf3e2be2535d8e9e0e807e4d98f20ac27f27f0260b274c1b6e6b91f00c5d3e4206a92ab1cd80029f2b0720241d98356f688e7
24 +DIST boto3-1.19.9.tar.gz 435493 BLAKE2B 7f1485c51816ab4c0c52e47f110eebf5b9fd989e695d24daa0bf38fa9fbe09c2dd40758ece655d3e2734e88ad4aa73e606b951ea39b3fe718c6ad1498d7a52d4 SHA512 9cfb454af95d92c68cfd4e12d285ae4c43084d818c3fe75d98929a42eedcf04574e96663b69db6204cab211352dd59254e6c53fb4c3c03bc6ed896d805e6e59e
25
26 diff --git a/dev-python/boto3/boto3-1.19.9.ebuild b/dev-python/boto3/boto3-1.19.9.ebuild
27 new file mode 100644
28 index 00000000000..450c87d9f8b
29 --- /dev/null
30 +++ b/dev-python/boto3/boto3-1.19.9.ebuild
31 @@ -0,0 +1,53 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
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 ~ppc ~ppc64 ~sparc ~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 pytest
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 + distutils-r1_python_prepare_all
80 +}
81 +
82 +python_test() {
83 + epytest tests/{functional,unit}
84 +}