Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/botocore/
Date: Sat, 08 Jan 2022 07:49:40
Message-Id: 1641626977.5a97098fa635ecfc7322a0e4923abb95dfce64b8.arthurzam@gentoo
1 commit: 5a97098fa635ecfc7322a0e4923abb95dfce64b8
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 8 07:29:37 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 8 07:29:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a97098f
7
8 dev-python/botocore: add 1.23.31
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/botocore/Manifest | 1 +
13 dev-python/botocore/botocore-1.23.31.ebuild | 65 +++++++++++++++++++++++++++++
14 2 files changed, 66 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index d109e442f329..d7be83d23528 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -4,4 +4,5 @@ DIST botocore-1.23.24.tar.gz 8677151 BLAKE2B c12382994208f673cfcfa71e17fed028abf
21 DIST botocore-1.23.25.tar.gz 8685879 BLAKE2B 6eff15d35c66ded69a07ee0a276efe1e42dac9a3924a1d9735cf55ad89307a6a695e2ab6ee092e6454d1b6d682d329afdcf40644a8a6b89099dab1d53543adda SHA512 f09cb0564e0208816b05ec827d534bf866d4de827466ce53d91bcf21b08060934c937e38f756d02735412bc965bb831283f0c44a4c957af4271ba754215a6545
22 DIST botocore-1.23.26.tar.gz 8688841 BLAKE2B eec8481bef3096d7173281138e072364fb2eebf0d22e7ef7edcd1fc7878b3c9888279f8bc063d57deb0e8410bd77da43a243c0fe57f3b34d3ddeabe1134a8d9a SHA512 050e0e63506b1d3161811c570c81e5d574f8f96ea000729453650fd3c5df9422d8a23959256f0867a17cfe4db426fb79b2f47e5875eb0c3574e6c6fa8d061e6c
23 DIST botocore-1.23.29.tar.gz 8705067 BLAKE2B b5c2358a263f93b4808a2527b7ce8a1bbc36dcd44ebf5d987bdc39713d494cdca8dc7499081f54a03467c5b7e998897d651672b586c2430da99ac67e92c8c3c4 SHA512 e5d282c69a4180f3d8e0a496a703df36ccc79cf23a63549167267b59ee44dcd06b5e6a7aa0234728467b0787517687f5b5e75db3b9a1e9c35776902b772f409d
24 +DIST botocore-1.23.31.tar.gz 8706949 BLAKE2B 2e31bc09173a93806fe045e5217defcf17b624d6e9ff543add0eb9183c99faac40c14a8b7d71a2ec71b5983df572cadd2d098155c8c9f5abeceef80c17c4c35b SHA512 7440740c05b8f009955b6627b82f8f955d907d529923457b19f1a251b701fc7cba2dd19a77eee1fce220745d93f19f4c42f146772ecd46f3ea0c93f63047086e
25 DIST botocore-1.23.5.tar.gz 8374467 BLAKE2B 467092e7d8aa5ccb756132669049865445a47205913964c1c944b20caaf100b1efdd1bf3af9c5416ff079b487e6d4d08ffe6208e2b352d09655cc5be21c88739 SHA512 6afca19b724f9019f21e5993ce970d605b95d31c1a4e969ec1b4080510a5a120b3fa0cfd5ade973a9203bd6b7983a3dbca2f7a03108a9167392efd60d5e2fe9b
26
27 diff --git a/dev-python/botocore/botocore-1.23.31.ebuild b/dev-python/botocore/botocore-1.23.31.ebuild
28 new file mode 100644
29 index 000000000000..5a7d2c6fb0f2
30 --- /dev/null
31 +++ b/dev-python/botocore/botocore-1.23.31.ebuild
32 @@ -0,0 +1,65 @@
33 +# Copyright 1999-2022 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="Low-level, data-driven core of boto 3"
42 +HOMEPAGE="https://github.com/boto/botocore"
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +
46 +if [[ "${PV}" == "9999" ]]; then
47 + EGIT_REPO_URI="https://github.com/boto/botocore"
48 + inherit git-r3
49 +else
50 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
51 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
52 +fi
53 +
54 +RDEPEND="
55 + dev-python/six[${PYTHON_USEDEP}]
56 + dev-python/jmespath[${PYTHON_USEDEP}]
57 + dev-python/python-dateutil[${PYTHON_USEDEP}]
58 + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
59 +"
60 +BDEPEND="
61 + test? (
62 + dev-python/jsonschema[${PYTHON_USEDEP}]
63 + )
64 +"
65 +
66 +PATCHES=(
67 + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
68 +)
69 +
70 +distutils_enable_sphinx docs/source \
71 + 'dev-python/guzzle_sphinx_theme'
72 +distutils_enable_tests pytest
73 +
74 +src_prepare() {
75 + # unpin deps
76 + sed -i -e "s:>=.*':':" setup.py || die
77 +
78 + # unbundle deps
79 + rm -r botocore/vendored || die
80 + find -name '*.py' -exec sed -i \
81 + -e 's:from botocore[.]vendored import:import:' \
82 + -e 's:from botocore[.]vendored[.]:from :' \
83 + {} + || die
84 +
85 + distutils-r1_src_prepare
86 +}
87 +
88 +python_test() {
89 + local EPYTEST_DESELECT=(
90 + # rely on bundled six
91 + tests/functional/test_six_imports.py::test_no_bare_six_imports
92 + tests/functional/test_six_threading.py::test_six_thread_safety
93 + )
94 +
95 + distutils_install_for_testing --via-venv
96 + epytest tests/{functional,unit}
97 +}