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