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, 02 Apr 2022 07:33:51
Message-Id: 1648884366.1bc224489b66e90e4521c4b45d8abd933fe5cb45.arthurzam@gentoo
1 commit: 1bc224489b66e90e4521c4b45d8abd933fe5cb45
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 07:26:06 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 07:26:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bc22448
7
8 dev-python/botocore: add 1.24.32
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/botocore/Manifest | 1 +
13 dev-python/botocore/botocore-1.24.32.ebuild | 68 +++++++++++++++++++++++++++++
14 2 files changed, 69 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index df5bdd068701..a7b52415ea52 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -7,4 +7,5 @@ DIST botocore-1.24.28.tar.gz 8856916 BLAKE2B d662fec904cdfb048582252cfa77dadfcb1
21 DIST botocore-1.24.29.tar.gz 8857387 BLAKE2B b873c369a6a9fe2d44124385f618f1caac2986cdbad2ea53cf9ce481692431ff389de44b055b0128eefbd1e26d8cf205d49cfb22decfa11bf6cba8c00aa5df3f SHA512 dcc836ebe25a510aa13f4ba54be99c0d2d086e6a54d446bd303ecd13f3528f004be92ff6408690ebda84b8c13f83ef19cc4026422c2ad15e3c32abfdbf923e9d
22 DIST botocore-1.24.30.tar.gz 8860517 BLAKE2B dcdfdd59482a071a2dc7c2250c303abab6840ac9d90a9f3e4183e8137dbf34b37941e9e471dc5795e3eb67cff356dce08dba5fad02bf54ff1628ca6f247a04be SHA512 69ff9f6f777052e3c8aeb7b92cc75d1aa90b88bb5256bcbcae6e4a5d6d41783ea205a58c99a59627ecd720cdfa23caf315c48c792218937d91e6699791e75548
23 DIST botocore-1.24.31.tar.gz 8884591 BLAKE2B 596c0df9e5331cf81472c93f436caed79eb15da5770b11fb972d2f522308c02a2e2906d2d0de6bb2d79da0c7726a0e390fc0ff7aa043804031c99576e211c9e6 SHA512 cbae4220e8899189dc6e09facdf0576c9ac781aa892f8d1537ef7b4f56ba12794d073e65ecb503ab469c63a035c1675d8524f7f37f6538591ce183785533d6c9
24 +DIST botocore-1.24.32.tar.gz 8884956 BLAKE2B c899ed9b540663fc16e937d98c4c4383b5b0b9c36a976a6b872019bee46edb6db4b9fbe9cf5cebfa5fd1f43d37d21213c90a93802e6d95e4218693269021f5fe SHA512 06142282ff93918052fc6d4832061c65088a5ce8a9fdbfb587be4a1575edf1ed160c58159f25446c7717a841e9ddff00b0a95dd5926a738ffb166b70b42da71f
25 DIST botocore-1.24.8.tar.gz 8798121 BLAKE2B 4ca37ed7be0af62901bf154f75739cc7e07505a809e551884c72d5b5eed334fff1111fc6db016df522564a1f3d9b6f258e8eca96161a734711340bf880b553b5 SHA512 6ac2139694ab199313a0fb9a2f783b12de7f3915d10cba739f4758356a3b84a917c3c394954b6d82d7a62de907c6fe57a3559e2b9a625bb0479e7bacd31d21cc
26
27 diff --git a/dev-python/botocore/botocore-1.24.32.ebuild b/dev-python/botocore/botocore-1.24.32.ebuild
28 new file mode 100644
29 index 000000000000..3bf7c7cfb689
30 --- /dev/null
31 +++ b/dev-python/botocore/botocore-1.24.32.ebuild
32 @@ -0,0 +1,68 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DISTUTILS_USE_PEP517=setuptools
39 +PYTHON_COMPAT=( python3_{8..10} )
40 +
41 +inherit distutils-r1 multiprocessing
42 +
43 +DESCRIPTION="Low-level, data-driven core of boto 3"
44 +HOMEPAGE="https://github.com/boto/botocore"
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +
48 +if [[ "${PV}" == "9999" ]]; then
49 + EGIT_REPO_URI="https://github.com/boto/botocore"
50 + inherit git-r3
51 +else
52 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
53 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
54 +fi
55 +
56 +RDEPEND="
57 + dev-python/six[${PYTHON_USEDEP}]
58 + <dev-python/jmespath-2[${PYTHON_USEDEP}]
59 + dev-python/python-dateutil[${PYTHON_USEDEP}]
60 + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
61 +"
62 +BDEPEND="
63 + test? (
64 + dev-python/jsonschema[${PYTHON_USEDEP}]
65 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
66 + )
67 +"
68 +
69 +PATCHES=(
70 + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
71 +)
72 +
73 +distutils_enable_sphinx docs/source \
74 + 'dev-python/guzzle_sphinx_theme'
75 +distutils_enable_tests pytest
76 +
77 +src_prepare() {
78 + # unpin deps
79 + sed -i -e "s:>=.*':':" setup.py || die
80 +
81 + # unbundle deps
82 + rm -r botocore/vendored || die
83 + find -name '*.py' -exec sed -i \
84 + -e 's:from botocore[.]vendored import:import:' \
85 + -e 's:from botocore[.]vendored[.]:from :' \
86 + {} + || die
87 +
88 + distutils-r1_src_prepare
89 +}
90 +
91 +python_test() {
92 + local EPYTEST_DESELECT=(
93 + # rely on bundled six
94 + tests/functional/test_six_imports.py::test_no_bare_six_imports
95 + tests/functional/test_six_threading.py::test_six_thread_safety
96 + )
97 +
98 + epytest tests/{functional,unit} \
99 + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
100 +}