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: Sat, 30 Oct 2021 06:43:54
Message-Id: 1635576225.04f1ad6c8ca5df3cb698e7304b1e20dfa3ca8e59.mgorny@gentoo
1 commit: 04f1ad6c8ca5df3cb698e7304b1e20dfa3ca8e59
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 30 05:58:18 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 30 06:43:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f1ad6c
7
8 dev-python/botocore: Bump to 1.22.7
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.7.ebuild | 50 ++++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index 24f97cc792f..5f0402308ae 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -3,3 +3,4 @@ DIST botocore-1.21.60.tar.gz 8253381 BLAKE2B f035a335f8d72c182f6fbd3f2216608bd56
21 DIST botocore-1.21.65.tar.gz 8261668 BLAKE2B c955019d06aa1b2f4503673b7d9009e5d6e07ee4348e730e6b4d11285f3030f676f0efda58a72dd92cac8c6ba0cb57f8f879eb5298009ecbd227904d18a453bf SHA512 955d24d2d486524af7bee57a56e2e903458030420198f3e6ab49d61be52b812a98444a9d0f86503b121270d6642345ffad6053ad143374dc56ab908b385afb0a
22 DIST botocore-1.22.5.tar.gz 8301083 BLAKE2B 91f9d38e7c5bcb0b8f58c04547ad45489f58d2240c6b7301cf632969a4a73cf4a1d51c8c68c8def27653c10041d2163ad7ca800dcf6fd07972b506bf2566cae3 SHA512 710a9eeee03dc79ca4ffacc4974f09ca769e1e3b8cb143f6f0349240dd8c2af8ee526a1dadb7310a26019363f683fc4149cb4c73d8b94a856a384fab7f84fb5c
23 DIST botocore-1.22.6.tar.gz 8302901 BLAKE2B 4627c7bfcbd1750a6517c045b7c7c986c6defb9b35e413fae47e03fe24f3404ff4905c714212ad00193eb4dfa2893a0080da97acb538965a8792278915823a3b SHA512 f39eb6f339011709fa764d3783f225fbd4e4100e51466de9c87d6a3a5430823e81be1b024963ded49785b4fd49febdfa66dd3f91c3b9296508c3d71d794d170d
24 +DIST botocore-1.22.7.tar.gz 8306878 BLAKE2B fd427ced3eb3c2ce71a28f7334ee312293fc98c7b2d91991ce6c894f71bd39b356aa3a2f0a0495fd91e394be4d284b21dc8272863e9568167112aadccaed21a6 SHA512 39eaa5d4bc64669bc398797c69d63157a6a4539bed1c4cdc492c4fe94c9a32d58ac9ea8c06fafd75a5c36ab9d3a5c99f88990b03bcef6cccf7e0c4247330780b
25
26 diff --git a/dev-python/botocore/botocore-1.22.7.ebuild b/dev-python/botocore/botocore-1.22.7.ebuild
27 new file mode 100644
28 index 00000000000..638620b2cbc
29 --- /dev/null
30 +++ b/dev-python/botocore/botocore-1.22.7.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 +}