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/botocore/
Date: Wed, 27 Oct 2021 08:29:23
Message-Id: 1635323347.b0558804b9577384aeabcad8e288c753779a24eb.mgorny@gentoo
1 commit: b0558804b9577384aeabcad8e288c753779a24eb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 27 06:55:01 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 27 08:29:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0558804
7
8 dev-python/botocore: Bump to 1.22.4
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/botocore/Manifest | 1 +
13 dev-python/botocore/botocore-1.22.4.ebuild | 50 ++++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index c311adc96fb..792947bf328 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -9,3 +9,4 @@ DIST botocore-1.22.0.tar.gz 8275754 BLAKE2B f0acbccf0c451f6cdd75495c15140c8c65ba
21 DIST botocore-1.22.1.tar.gz 8276879 BLAKE2B 91b339fa62d5faf808273c26187d86e1c855b140a22d348d04b95a21be47e2d83081d25e97efb1f7fae899a8abb98311250062e43e998199aff90486c154b178 SHA512 95ac5c5a0ff4cc31cd4fc0973cef45c5a6bce5b82091bde2f2c0cd8215c65c11be6d4fc62ef76110287e01dc54eb9b69e5bda0f2ce39b728d36097834afd47ac
22 DIST botocore-1.22.2.tar.gz 8277756 BLAKE2B 6f875956c08d02ac9d92dd6c3aa7ac98cafa018612a98a75e67d50b9ac47d9e0ca7fad535c07b13006b68345be3cccc8bdd56a338cc0599a6182922df736d65e SHA512 6e9853a1cb05b5c3cd7f125b98a7d8bd72c7d188829c1704ca79e77cdfe08e9d9901507f89ca09a60e095da150f4721dd1ba1e52209cabd1ed240a59b920b71e
23 DIST botocore-1.22.3.tar.gz 8286647 BLAKE2B 724687f78f9a90c2cc6e93b1071b6c926f9a668cf73d471c84a11da45ef818ac943bf80318f84102ec68fb5147da704ca06bb6bae5ebee96fb80bb383020f392 SHA512 5a664943badc6d775e150751bfe2e6125c0d4f46f77b262d4dca6d8f4cdfa04e0eb458104e9f2f3d16f6d42251318cf9e2969a1ba359c8e09ca2f3bf1d151882
24 +DIST botocore-1.22.4.tar.gz 8289629 BLAKE2B 871dcf2d4d994984e8fc160f53afcb51a3328e05ffe2b7890665aa1e4bb4ac837aabc8be09dc64c105b99eafcae4f6146e6539ae9005e6cf570090f32a3ce86d SHA512 1931063e27c63d464bf858b54a1a31f0465c9effaf13fa3ddd91fff4701d7f4546cc81b67d0772e0e10a525443a9df90b8d07bee31d012e88a4292dd115f399b
25
26 diff --git a/dev-python/botocore/botocore-1.22.4.ebuild b/dev-python/botocore/botocore-1.22.4.ebuild
27 new file mode 100644
28 index 00000000000..638620b2cbc
29 --- /dev/null
30 +++ b/dev-python/botocore/botocore-1.22.4.ebuild
31 @@ -0,0 +1,50 @@
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="Low-level, data-driven core of boto 3"
41 +HOMEPAGE="https://github.com/boto/botocore"
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +
45 +if [[ "${PV}" == "9999" ]]; then
46 + EGIT_REPO_URI="https://github.com/boto/botocore"
47 + inherit git-r3
48 +else
49 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
50 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
51 +fi
52 +
53 +RDEPEND="
54 + dev-python/six[${PYTHON_USEDEP}]
55 + dev-python/jmespath[${PYTHON_USEDEP}]
56 + dev-python/python-dateutil[${PYTHON_USEDEP}]
57 + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
58 +"
59 +BDEPEND="
60 + test? (
61 + dev-python/jsonschema[${PYTHON_USEDEP}]
62 + )
63 +"
64 +
65 +PATCHES=(
66 + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
67 +)
68 +
69 +distutils_enable_sphinx docs/source \
70 + 'dev-python/guzzle_sphinx_theme'
71 +distutils_enable_tests pytest
72 +
73 +src_prepare() {
74 + # unpin deps
75 + sed -i -e "s:>=.*':':" setup.py || die
76 + distutils-r1_src_prepare
77 +}
78 +
79 +python_test() {
80 + epytest tests/{functional,unit}
81 +}