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, 24 Jun 2022 05:16:36
Message-Id: 1656047783.8d049ed20082e49e55bc7e621b29ff4b01459549.mgorny@gentoo
1 commit: 8d049ed20082e49e55bc7e621b29ff4b01459549
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 24 04:06:56 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 24 05:16:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d049ed2
7
8 dev-python/botocore: Bump to 1.27.16
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.27.16.ebuild | 66 +++++++++++++++++++++++++++++
14 2 files changed, 67 insertions(+)
15
16 diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
17 index 3664a78c6a8f..9424a3fec702 100644
18 --- a/dev-python/botocore/Manifest
19 +++ b/dev-python/botocore/Manifest
20 @@ -2,4 +2,5 @@ DIST botocore-1.27.12.tar.gz 9132872 BLAKE2B 74b74b5a5745cfacac066d5e087974fb58b
21 DIST botocore-1.27.13.tar.gz 9134638 BLAKE2B 471a46a4c4f14082ceb7030495a121ea90a6f67b6f802cbeb1394624513ff86deb7b90e3aa3e568dff42cd3280ea038565752eff69577231250b6542e6586e1f SHA512 6becb7cd6d2ea3b09012f7b168dcf7fd3386c19ee6003a4e8f4059e3b1ad2b281f5fdaab7abaafe6c34bccd547c8f8ef1bc253f5190d3e91127b1239ec8e307a
22 DIST botocore-1.27.14.tar.gz 9134503 BLAKE2B ca29a33c5363457053f8ac042279726a15d3dc5f72546558d11bbacd79e7641d94b1137b76e201ad00203ecff53274fd41abd9178e7abbc1c5a51fe388f7fa5e SHA512 3995918212559eab009f141f94e6e6496fc77f12438e1dd62ce3ee232009b90de3882d342d20e83eb11de5f35b7878f53eea884016874caacb9d2e3d167b4f1a
23 DIST botocore-1.27.15.tar.gz 9134585 BLAKE2B 33fcf026334e0be28b7f20b78e072d4eed85e857438319dfe6a1aefb2aeb287aa7a4d6b5f40cd47b9ca5e904263bd7716e58fe2962a75fa64ffea8da383fd527 SHA512 15a65137b131220863fc7fb4c085d83b858a673ee49370bc8d5ce8433f2ee3c99dffd102830da10ed1c4fa4a6f5fdc5f543be4e88646f981409fb855ea100932
24 +DIST botocore-1.27.16.tar.gz 9138117 BLAKE2B ed636cd031445b14f57282326836616dca626c27ff912b5a2014df83c5574264f773d9ab8aae2f01b55bb810d00233f1a4cceb0f746767247b5954bb8739b7be SHA512 c4b1debe648cd3027fe409f4ec095a4b454050ec427e8a11e04bc1f82d452566d2168dd539d5dc687e46e612f3d47e218d99de9510156e19eac477ea3c0259d2
25 DIST botocore-1.27.7.tar.gz 9102259 BLAKE2B 094ec463531f1dfd54ff32d0f44ebc39cdc0a6d4c3e19b49a25e25d9d13acdcd26c782c1d4819ea4f1cb8954a858aa6e997411785678700b7ca03cd8844527b5 SHA512 d4a1327f4314279548af00fbc6da2f9fc5f25f704da3f6ddfa90773878f28ac9f03556b00fa4c0207ec2e952eb716aa98c1c22abffbd51d82dc55d9e4ceeca5c
26
27 diff --git a/dev-python/botocore/botocore-1.27.16.ebuild b/dev-python/botocore/botocore-1.27.16.ebuild
28 new file mode 100644
29 index 000000000000..830c713f6036
30 --- /dev/null
31 +++ b/dev-python/botocore/botocore-1.27.16.ebuild
32 @@ -0,0 +1,66 @@
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..11} )
40 +
41 +inherit distutils-r1 multiprocessing
42 +
43 +DESCRIPTION="Low-level, data-driven core of boto 3"
44 +HOMEPAGE="
45 + https://github.com/boto/botocore/
46 + https://pypi.org/project/botocore/
47 +"
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +
51 +if [[ "${PV}" == "9999" ]]; then
52 + EGIT_REPO_URI="https://github.com/boto/botocore"
53 + inherit git-r3
54 +else
55 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
56 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
57 +fi
58 +
59 +RDEPEND="
60 + dev-python/six[${PYTHON_USEDEP}]
61 + <dev-python/jmespath-2[${PYTHON_USEDEP}]
62 + dev-python/python-dateutil[${PYTHON_USEDEP}]
63 + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
64 +"
65 +BDEPEND="
66 + test? (
67 + dev-python/jsonschema[${PYTHON_USEDEP}]
68 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
69 + )
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} -n "$(makeopts_jobs)"
98 +}