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: Thu, 09 Sep 2021 21:25:12
Message-Id: 1631221537.5a80335e5eb418c78e6373c36ed3581dff7d8150.mgorny@gentoo
1 commit: 5a80335e5eb418c78e6373c36ed3581dff7d8150
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 9 21:05:37 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 9 21:05:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a80335e
7
8 dev-python/boto3: Bump to 1.18.39
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.18.39.ebuild | 57 +++++++++++++++++++++++++++++++++++
14 2 files changed, 58 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index 6a3a202c3d4..f0399450e51 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -5,4 +5,5 @@ DIST boto3-1.18.35.tar.gz 410165 BLAKE2B 1d32525175ee490b1b4029fc9c682afd789f850
21 DIST boto3-1.18.36.tar.gz 410432 BLAKE2B 08d73bb8d8f16040f62fa5fb5e40855e201cd3bc24e0ffd0fdebbbf69a4ec05a0a93a6e1f08a61cebb1661542eda9783c36c098e07fd9b2f0d3c6ecc0ece1aea SHA512 16cc41de99ee216991dcb42d4ad92b08a834efdeaeba1fb18edd68dc3c0d1d04bb25b858f15f68286308a9dba0b800fc9c392b6b807c562660431425351e89e5
22 DIST boto3-1.18.37.tar.gz 411095 BLAKE2B fafa31a06c52b1f35290ab4e6af7eb6e0bf16704da57b959b61edb8e5621bc036b1723ab084653e1177cbef008f3b4728546b7dfe78d572f600eda681e8e3feb SHA512 8536652e95ba7affdf701f76ab4674f6fddcc1b123e3476dc272f582cde236dfd920459c6cd644465e638ea0d6abf982e2ef77320cf1e7a4f5f6ef8b01e36227
23 DIST boto3-1.18.38.tar.gz 411294 BLAKE2B d857299e4f622bedcdf106ad662e3ce9c937dfa6834f4fbd307925c8662876ea4fbd5553711f36c57d63eec76af93407a72ff8c796e1775e96380b120970102c SHA512 9e474efb5811bc83a2e53039a989b23594c03983b0fa3b75d3340a40403545b11d5f78bb83934471d4cf4660bffe31bc5966b188522dc08df28795611a12ba63
24 +DIST boto3-1.18.39.tar.gz 411636 BLAKE2B 1ff636a4749965644ae55f2b4a9ea085dc130da1c72e26680300e7751a9e10dc0fc654ba101a5f22eda9223a30d0b3f274e40a635c2760abe0eca94a3d024389 SHA512 3de98749d2bb0bb5dd9aa8fa4bcfbac24ef5536ffe1e967b4ff0d0d709f7d929da6c817136aa315e8148fb72540054b9592eaba28a937dc3a8a092ea75e01ef9
25 DIST boto3-1.18.7.tar.gz 395640 BLAKE2B 6a9fa1dd55644806fe93271805f35fbe0c4cb65d1de08dded2d2f57fcefa96e32c4ebe7b60743c52c0898222bc06d33dbd03d304bbef327b88022450a7943e2c SHA512 20e7fedab7d061ab02f391e9baf36cb554e7f194f38d24d5a75f76715b2acf1b51b6adce5d8cf5a2a0d29df73566db00b8813a219d45a194d9a8eb93d0dab570
26
27 diff --git a/dev-python/boto3/boto3-1.18.39.ebuild b/dev-python/boto3/boto3-1.18.39.ebuild
28 new file mode 100644
29 index 00000000000..819e7369111
30 --- /dev/null
31 +++ b/dev-python/boto3/boto3-1.18.39.ebuild
32 @@ -0,0 +1,57 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="The AWS SDK for Python"
42 +HOMEPAGE="https://github.com/boto/boto3"
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +
46 +if [[ "${PV}" == "9999" ]]; then
47 + EGIT_REPO_URI="https://github.com/boto/boto3"
48 + inherit git-r3
49 + BOTOCORE_PV=${PV}
50 +else
51 + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
52 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
53 +
54 + # botocore is x.(y+3).z
55 + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
56 +fi
57 +
58 +RDEPEND="
59 + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
60 + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
61 + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
62 +"
63 +BDEPEND="
64 + test? (
65 + dev-python/mock[${PYTHON_USEDEP}]
66 + )
67 +"
68 +
69 +distutils_enable_sphinx docs/source \
70 + 'dev-python/guzzle_sphinx_theme'
71 +distutils_enable_tests nose
72 +
73 +python_prepare_all() {
74 + # don't lock versions to narrow ranges
75 + sed -e '/botocore/ d' \
76 + -e '/jmespath/ d' \
77 + -e '/s3transfer/ d' \
78 + -i setup.py || die
79 +
80 + # prevent an infinite loop
81 + rm tests/functional/docs/test_smoke.py || die
82 +
83 + distutils-r1_python_prepare_all
84 +}
85 +
86 +python_test() {
87 + nosetests -v tests/unit/ tests/functional/ ||
88 + die "test failed under ${EPYTHON}"
89 +}