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, 01 Nov 2021 22:16:49
Message-Id: 1635804996.611350ed944f042d4e4ad375b995a7c3ae2e3e46.mgorny@gentoo
1 commit: 611350ed944f042d4e4ad375b995a7c3ae2e3e46
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 1 21:45:30 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 1 22:16:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611350ed
7
8 dev-python/boto3: Bump to 1.19.8
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.8.ebuild | 53 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index 140eb28bdc2..3ae3e8fbce9 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -4,3 +4,4 @@ DIST boto3-1.18.65.tar.gz 429858 BLAKE2B fbc80e0d8d10f6d02fcf9b86c6b4be03a9c9083
21 DIST boto3-1.19.5.tar.gz 433567 BLAKE2B 52c12a4dd18d6f02326f8002b345cc5df224455fc862daa700326ae1df258979211d2753f01e1a106f237de393e483dc8926bb4ef0e08bafa575f20811dccd55 SHA512 fad05102f0c3e7e30a3342009f6b3ae28f52758f17a0c22b4da9a03dd10d7f9149ea2ec0119f55ec7280824bd8173653271821e82fcd54ef9fb9161b2d62df70
22 DIST boto3-1.19.6.tar.gz 434389 BLAKE2B 3c7e4c91c95b93358b4a31d401e03f8a397802004a6ee2bfc2ef1a31df8b89e8866fa73d3354509ae00537898cc8e04b878cc9d00f82ae4e94266e8185e7abd1 SHA512 6ba4f7a89d973991afe329b4c648c8ecb0bb256d63c7e60ae8bb70e6fd5fc9b1929168dfdd55f2c84039856a32c891013abf61dc2e65f516490c446b0dfaaac2
23 DIST boto3-1.19.7.tar.gz 434848 BLAKE2B 102b2d985cbad6c6ff6fc7866f47c172028e4b1a56ef7eac5854b12aedfbca1b94eb426fead04397e119ebaf939f7732202718395775b0555f566ed938c27dc7 SHA512 40cf5341bfd7cc4cae4c542e39e4c5ec1b63ba3bfee5faedb75633e656700dd5e80a137b234b57d22cc1b7d85a2056ced4eb8b7189ab57c8f2c0269e8826811d
24 +DIST boto3-1.19.8.tar.gz 435192 BLAKE2B 2cec7fe3a114ef349e4afc15f15315d351de93ecae3439946d9936effa257e55a88f6605b33e13ca927a245e99ad60b0c9c356320be6e4f95a99e52c6ff8da11 SHA512 f1038a0103f09c4bb20d4feb30abf3e2be2535d8e9e0e807e4d98f20ac27f27f0260b274c1b6e6b91f00c5d3e4206a92ab1cd80029f2b0720241d98356f688e7
25
26 diff --git a/dev-python/boto3/boto3-1.19.8.ebuild b/dev-python/boto3/boto3-1.19.8.ebuild
27 new file mode 100644
28 index 00000000000..450c87d9f8b
29 --- /dev/null
30 +++ b/dev-python/boto3/boto3-1.19.8.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 +}