1 |
commit: 71fe35e01823d842e7b933bc79fe462b97c4d8c0 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 26 16:07:36 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 26 16:33:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71fe35e0 |
7 |
|
8 |
dev-python/botocore: add 1.27.60 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/botocore/Manifest | 1 + |
13 |
dev-python/botocore/botocore-1.27.60.ebuild | 69 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 70 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest |
17 |
index 14d022fb5151..4e9cd2a11d0a 100644 |
18 |
--- a/dev-python/botocore/Manifest |
19 |
+++ b/dev-python/botocore/Manifest |
20 |
@@ -13,3 +13,4 @@ DIST botocore-1.27.56.gh.tar.gz 9545974 BLAKE2B 514c859f854aed83c3bb13ed3eab9999 |
21 |
DIST botocore-1.27.57.gh.tar.gz 9559970 BLAKE2B c48dbe694b501afc2e9b2292e544393da13cf10e895e29dbea36c62511ad3d487525ca568c2ac6e0f4767ec0ddaac07f25415b77a10737f45b8c5b4c823f8e7b SHA512 a2d6433a2f42199e20c899d1b0797eb7d65dbdfdb3be75317fab548f5d9d6b2319032c00ee800e9defa311672dd0f990462dd83d4511728b110ac58290daca14 |
22 |
DIST botocore-1.27.58.gh.tar.gz 9563088 BLAKE2B 66aecb836cac7bcddbba1fc6b29ce3a24fc7b9761f0f21104f901b5d47afaa25dba12eab7cdb134ac948cb523807373cab9971fe05ec83491f503a415a6662eb SHA512 0ee6616be77645f7d1300c381fa0212ce1b1dd94fd88f02912d256fe212ade8e104343e1ed31d0f705fcdfd36d76b6354145d13bbaee09bec3988ad18584aada |
23 |
DIST botocore-1.27.59.gh.tar.gz 9566420 BLAKE2B f8142d7cc16d3cefa9a39a830db97656a920d192d22cccc355dd093c1bc8b49c62af75b3e097ec615c546ff70018e6a9976282fb92c6f29a96f70eb9852b62de SHA512 b330e53fc06f0b067c3bb6ea8981424dc0bd891b7e9ac324201386f6fba12ca74bd9aadf10aaaabd7dc8b18bc943826480648e0a4f82da9ec9a4c5a8ac954cdb |
24 |
+DIST botocore-1.27.60.gh.tar.gz 9574977 BLAKE2B 6dda9bdc9104a4c1deed365a7973008fb07aa3e72d9d47193480c394563ac9dfd61d27e70c906b8c9eeb73e26cae8e250d8249c532a128e14e1819525053e940 SHA512 d271a116cc4c954a49a1d136348cdc42b60f1904f0c7f425e7457008af412eae37dd77740c91ceab3f44f0c97e4ca0e5b117bdf3bc1415e6e44911e1ab830078 |
25 |
|
26 |
diff --git a/dev-python/botocore/botocore-1.27.60.ebuild b/dev-python/botocore/botocore-1.27.60.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..6558cbe56a50 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/botocore/botocore-1.27.60.ebuild |
31 |
@@ -0,0 +1,69 @@ |
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..11} ) |
39 |
+ |
40 |
+inherit distutils-r1 multiprocessing |
41 |
+ |
42 |
+DESCRIPTION="Low-level, data-driven core of boto 3" |
43 |
+HOMEPAGE=" |
44 |
+ https://github.com/boto/botocore/ |
45 |
+ https://pypi.org/project/botocore/ |
46 |
+" |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+ |
50 |
+if [[ "${PV}" == "9999" ]]; then |
51 |
+ EGIT_REPO_URI="https://github.com/boto/botocore" |
52 |
+ inherit git-r3 |
53 |
+else |
54 |
+ SRC_URI=" |
55 |
+ https://github.com/boto/botocore/archive/${PV}.tar.gz |
56 |
+ -> ${P}.gh.tar.gz |
57 |
+ " |
58 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
59 |
+fi |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ dev-python/six[${PYTHON_USEDEP}] |
63 |
+ <dev-python/jmespath-2[${PYTHON_USEDEP}] |
64 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] |
66 |
+" |
67 |
+BDEPEND=" |
68 |
+ test? ( |
69 |
+ dev-python/jsonschema[${PYTHON_USEDEP}] |
70 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
71 |
+ ) |
72 |
+" |
73 |
+ |
74 |
+distutils_enable_sphinx docs/source \ |
75 |
+ 'dev-python/guzzle_sphinx_theme' |
76 |
+distutils_enable_tests pytest |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ # unpin deps |
80 |
+ sed -i -e "s:>=.*':':" setup.py || die |
81 |
+ |
82 |
+ # unbundle deps |
83 |
+ rm -r botocore/vendored || die |
84 |
+ find -name '*.py' -exec sed -i \ |
85 |
+ -e 's:from botocore[.]vendored import:import:' \ |
86 |
+ -e 's:from botocore[.]vendored[.]:from :' \ |
87 |
+ {} + || die |
88 |
+ |
89 |
+ distutils-r1_src_prepare |
90 |
+} |
91 |
+ |
92 |
+python_test() { |
93 |
+ local EPYTEST_DESELECT=( |
94 |
+ # rely on bundled six |
95 |
+ tests/functional/test_six_imports.py::test_no_bare_six_imports |
96 |
+ tests/functional/test_six_threading.py::test_six_thread_safety |
97 |
+ ) |
98 |
+ |
99 |
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)" |
100 |
+} |