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, 03 Oct 2020 17:00:50
Message-Id: 1601744435.0c8351021ec49c9af849422a5d4c41ef22764161.mgorny@gentoo
1 commit: 0c8351021ec49c9af849422a5d4c41ef22764161
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 3 14:47:10 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 3 17:00:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c835102
7
8 dev-python/boto3: Bump to 1.15.10
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.15.10.ebuild | 56 +++++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
17 index a3f33b93b17..79eb7cf2f24 100644
18 --- a/dev-python/boto3/Manifest
19 +++ b/dev-python/boto3/Manifest
20 @@ -3,6 +3,7 @@ DIST boto3-1.14.59.tar.gz 334641 BLAKE2B 96cd0750521715f030c2668cf21b7d6e5f53ffb
21 DIST boto3-1.14.63.tar.gz 334965 BLAKE2B 370a1d5bcc32ba6fd8f187fa56fbb3afa4aafa0692245efe024efdefb3d0a314b24873f641b3789430d6a64df70e55743a73760b8282ecaeb64116d9c27b82bc SHA512 668ec7a40d7be74268005d342b568e2d0efe0a3aafca7123c27e966fd89334dbdab04bca0a7ab216eae1f26f0506ef4ccacead49b1714a94a84c7a315e71e505
22 DIST boto3-1.15.0.tar.gz 335099 BLAKE2B 0cdf8cc0007a90671d4d3c66482d834e24860990bf46634bf542e2e2a025a661d7a45d6be33932581e2697daf5829ca7f47021f863b4219cd3287650bb1ebaa4 SHA512 ed0ddbd4372d591062ef0ce102e6c913842c70921486b09ba1c2901a28d02cf0c41917e246a3654c43382254be32aa5242667199f8a0c2bb9293d7e2cc3827a5
23 DIST boto3-1.15.1.tar.gz 335146 BLAKE2B d2d008dcb2059b120f142aaf588264122d1e84b450ab1fbc938627d1c8cc9bb60d1b80e68bc5e538376b56866156ca901abde747a8f973588b64b962284229c4 SHA512 46e1aabaa975b0215c2ece160b5e584468ba19699f87686c2787404d0a13274f763272cec577f830c6c71cb7f9e10b1c317a1348770f49283257d8cba65c5e3a
24 +DIST boto3-1.15.10.tar.gz 336021 BLAKE2B 71a8bcfd115c0066931e616d1d3678d51ba09460b3c36bf83d838cb0708a7f06afab8b94757a52c055cee51bfbaf1044b086621da16fd6e367cf728aec9080af SHA512 79c12baf5aebb8f2e7048d9713cbb73f2fd100ba8aaabc740757c1bab30e5626fde57b1553ed365dc65b0094513b5a6f305607ce48d62ecd8d5df183ee3db412
25 DIST boto3-1.15.2.tar.gz 335231 BLAKE2B f1eb144da7afc1cf630cdc1f61880d094186a37d46556ae361da278fd3045a119dcb09c3d08387a019ca88d6502fa8710a5e5733cd9dc9056676ef17853d76e2 SHA512 6866e0d6a50d11495e5f2a33a392b0edbe1ff6625235b26b5d6028f7c2c7089d78febe17b982f65dc2564254800a23409247ac09716b099f09f3751c5b7f47b5
26 DIST boto3-1.15.3.tar.gz 335286 BLAKE2B 05c9ef757b8d227ae06a22e78d978821ff50da719f122ac025940b2e1ac5728d6bac044d4bfab95c56ac8c363efd7abfe3de2b3fd65d423ab53dbdfc60b910da SHA512 dfecfc075896ce84fd58d0437b84a6a794af69ff3e598b35b43f83b2b5ef57b88f96ef62a0d6505d5fe7fef0401513c8ecf0dfcaa22e4575510acd3ece191901
27 DIST boto3-1.15.4.tar.gz 335401 BLAKE2B 42ee1f2cf1e82338ea59a40b95aa5c76abae51aacf325ae845f407ccbc3caf1b3901bca48036889ad6307f96c257259cce39784a3f52ec6ff03c0c6c5633c654 SHA512 14626faa3943b65a215b8f1bce24f217e69421cdfd40caaf7de0fec13ca9b5b25c5e290c27672b2a6bc41316917224209110e2efd5be817de7273f93ae5764ce
28
29 diff --git a/dev-python/boto3/boto3-1.15.10.ebuild b/dev-python/boto3/boto3-1.15.10.ebuild
30 new file mode 100644
31 index 00000000000..ccc99e1c241
32 --- /dev/null
33 +++ b/dev-python/boto3/boto3-1.15.10.ebuild
34 @@ -0,0 +1,56 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +PYTHON_COMPAT=( python3_{6..9} )
40 +DISTUTILS_USE_SETUPTOOLS=bdepend
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 ~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 nose
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 + # prevent an infinite loop
83 + rm tests/functional/docs/test_smoke.py || die
84 +
85 + distutils-r1_python_prepare_all
86 +}
87 +
88 +python_test() {
89 + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
90 +}