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: Sat, 06 Nov 2021 10:59:13
Message-Id: 1636196337.6f0e4d5b3f4093735060816312876cef82c80778.mgorny@gentoo
1 commit: 6f0e4d5b3f4093735060816312876cef82c80778
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 6 08:20:11 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 6 10:58:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f0e4d5b
7
8 dev-python/boto3: Bump to 1.19.12
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.12.ebuild | 53 +++++++++++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index 0c238fa94e7..67f365a59cb 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -3,6 +3,7 @@ DIST boto3-1.18.60.tar.gz 428327 BLAKE2B d559c7512c7ab1160dfec4616741002ce82357d
21 DIST boto3-1.18.65.tar.gz 429858 BLAKE2B fbc80e0d8d10f6d02fcf9b86c6b4be03a9c908318c507a7cde1eef0c36d8fe3a5d3be0f8c6178edfdd8bc82adf112f297a5f127cd2b442ce10fe4d37b3a21fa4 SHA512 631d8f618fb6d55b338b563e72e1ccc751b8937bb2660d033b885951ea5ec3ac6902f8c7b9918664d764be84fdef5af4e7a87d444cbc154ebf5ae06908f90714
22 DIST boto3-1.19.10.tar.gz 435970 BLAKE2B 98ed4022bb7eb80657b2b4a47de66b8ee8f535f5a6a39720b0e53ec97575cddaa33fa16277c71b4313a05583b1aa10cbe9e78f695e6959ca029648b7cd72fd58 SHA512 2e7457e34f7bc054648c0eb14b09839f3ac637923a287088edd5ccec4dd8b695d84771c8cf48110babdd540853a6dcdb10de652a89d592114f0242ba84f80b80
23 DIST boto3-1.19.11.tar.gz 436702 BLAKE2B b3444a89bd3b0b430256554edecca7e11e107dd3860188d24c0743bf61901b2f487006077e06a32b1b17dc8fd8db3b4035bbec90623a2d12627741e805f8040e SHA512 f26f439ef9a2fb4abc4b0a32b7068d4944585757124b9e1c606b6b4f5cede402ffbcae97d15a44e252463a8ced0448305a283ab672d7b76b2239945f3ec3161b
24 +DIST boto3-1.19.12.tar.gz 436654 BLAKE2B f92e756bc9f98105e3126e41cf0d6fab948bbd79f088ee4e0f0f5f319d4a6e542c0702b487404b316f794b304c43f9c26da026257476341971a7ce241538f506 SHA512 e6b20730f35bb422a2f74e978adc0bac77aa18b4e80eab5175dc117cf2762a7d8e53d390c50df24dada6f1d071d78309c69598ffb3f8d93fd45a3d1f772a866f
25 DIST boto3-1.19.5.tar.gz 433567 BLAKE2B 52c12a4dd18d6f02326f8002b345cc5df224455fc862daa700326ae1df258979211d2753f01e1a106f237de393e483dc8926bb4ef0e08bafa575f20811dccd55 SHA512 fad05102f0c3e7e30a3342009f6b3ae28f52758f17a0c22b4da9a03dd10d7f9149ea2ec0119f55ec7280824bd8173653271821e82fcd54ef9fb9161b2d62df70
26 DIST boto3-1.19.6.tar.gz 434389 BLAKE2B 3c7e4c91c95b93358b4a31d401e03f8a397802004a6ee2bfc2ef1a31df8b89e8866fa73d3354509ae00537898cc8e04b878cc9d00f82ae4e94266e8185e7abd1 SHA512 6ba4f7a89d973991afe329b4c648c8ecb0bb256d63c7e60ae8bb70e6fd5fc9b1929168dfdd55f2c84039856a32c891013abf61dc2e65f516490c446b0dfaaac2
27 DIST boto3-1.19.7.tar.gz 434848 BLAKE2B 102b2d985cbad6c6ff6fc7866f47c172028e4b1a56ef7eac5854b12aedfbca1b94eb426fead04397e119ebaf939f7732202718395775b0555f566ed938c27dc7 SHA512 40cf5341bfd7cc4cae4c542e39e4c5ec1b63ba3bfee5faedb75633e656700dd5e80a137b234b57d22cc1b7d85a2056ced4eb8b7189ab57c8f2c0269e8826811d
28
29 diff --git a/dev-python/boto3/boto3-1.19.12.ebuild b/dev-python/boto3/boto3-1.19.12.ebuild
30 new file mode 100644
31 index 00000000000..450c87d9f8b
32 --- /dev/null
33 +++ b/dev-python/boto3/boto3-1.19.12.ebuild
34 @@ -0,0 +1,53 @@
35 +# Copyright 1999-2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +PYTHON_COMPAT=( python3_{8..10} )
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 ~ppc ~ppc64 ~sparc ~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 pytest
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 + distutils-r1_python_prepare_all
83 +}
84 +
85 +python_test() {
86 + epytest tests/{functional,unit}
87 +}