1 |
commit: f16fa6fa92c86e62f7e34c94b9508c1f29cccff7 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 22 17:26:56 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 22 18:09:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f16fa6fa |
7 |
|
8 |
dev-python/ipyparallel: add 8.1.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/ipyparallel/Manifest | 1 + |
13 |
dev-python/ipyparallel/ipyparallel-8.1.0.ebuild | 86 +++++++++++++++++++++++++ |
14 |
2 files changed, 87 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest |
17 |
index d356d0d95a7a..b77cd4ecd70d 100644 |
18 |
--- a/dev-python/ipyparallel/Manifest |
19 |
+++ b/dev-python/ipyparallel/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST ipyparallel-6.3.0.tar.gz 2380153 BLAKE2B b8312102e1d2b5fc963491ebe8530e2fd73e9f941f7912fbc72a8db51e7255f5cac95a853d15a57e384926ab1aff27f2a3ad13cc45130a8b612be5dc623538ab SHA512 fe621854b9cc3e5f88aeca2b06b63bb689dd2feee0da451a0a90800d8832f4b44b23bb9a15033029cc33179276f31e982a10fc7540e6d13b04f15d96c348a295 |
22 |
DIST ipyparallel-7.1.0.tar.gz 4029033 BLAKE2B badf4bdad0dca0898e62abee3e5a48b06460160bd1f2ae096bc05beb00dbd6dc2b52681aa699d69a76f5a51e4cd3f0bb107fa6b1d20109e76bc78da8f08b69f9 SHA512 9a629bd92176dbace1724efe0a5a698b2d684128567513f8809fd25e4901227d1c7fc7b02427fd3c14b3743b47956ff8387098a1cc8759d8987aa5e3d8ca60d5 |
23 |
+DIST ipyparallel-8.1.0.tar.gz 9365732 BLAKE2B 847931de17f61b537a6350358a1fcc8e629b843e1216fcc0f60333f7baf42b0739f864bd1a02daefb839b90cfb4c65b6101de3271e89d529dd8493513b686ced SHA512 21e1d3d9e04c7567889e923ff0f1b140251518efd331dd2180a42142eedbb4c92eaeafce17bf2287e1d36ef4e5951f2f50021d9b9a96c266e4e94e1a3ac34347 |
24 |
|
25 |
diff --git a/dev-python/ipyparallel/ipyparallel-8.1.0.ebuild b/dev-python/ipyparallel/ipyparallel-8.1.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..773096505343 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/ipyparallel/ipyparallel-8.1.0.ebuild |
30 |
@@ -0,0 +1,86 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+PYTHON_REQ_USE="threads(+)" |
38 |
+inherit distutils-r1 optfeature |
39 |
+ |
40 |
+DESCRIPTION="Interactive Parallel Computing with IPython" |
41 |
+HOMEPAGE="https://ipyparallel.readthedocs.io/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-python/entrypoints[${PYTHON_USEDEP}] |
50 |
+ dev-python/decorator[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/pyzmq-18[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/traitlets-4.3[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/ipython-4[${PYTHON_USEDEP}] |
54 |
+ dev-python/jupyter_client[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/ipykernel-4.4[${PYTHON_USEDEP}] |
56 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] |
58 |
+ dev-python/tqdm[${PYTHON_USEDEP}] |
59 |
+ >=www-servers/tornado-5.1[${PYTHON_USEDEP}] |
60 |
+ " |
61 |
+BDEPEND="${RDEPEND} |
62 |
+ test? ( |
63 |
+ dev-python/ipython[test] |
64 |
+ dev-python/mock[${PYTHON_USEDEP}] |
65 |
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
66 |
+ dev-python/pytest-tornado[${PYTHON_USEDEP}] |
67 |
+ dev-python/testpath[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+ " |
70 |
+ |
71 |
+# TODO: package myst_parser |
72 |
+# distutils_enable_sphinx docs/source |
73 |
+distutils_enable_tests pytest |
74 |
+ |
75 |
+PATCHES=( |
76 |
+ "${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch |
77 |
+) |
78 |
+ |
79 |
+python_test() { |
80 |
+ local deselect=( |
81 |
+ # we don't run a mongo instance for tests |
82 |
+ ipyparallel/tests/test_mongodb.py::TestMongoBackend |
83 |
+ # TODO |
84 |
+ ipyparallel/tests/test_util.py::test_disambiguate_ip |
85 |
+ ipyparallel/tests/test_view.py::TestView::test_temp_flags |
86 |
+ ipyparallel/tests/test_view.py::TestView::test_unicode_apply_arg |
87 |
+ ipyparallel/tests/test_view.py::TestView::test_unicode_apply_result |
88 |
+ ipyparallel/tests/test_view.py::TestView::test_unicode_execute |
89 |
+ ipyparallel/tests/test_view.py::TestView::test_sync_imports_quiet |
90 |
+ # Gets upset that a timeout _doesn't_ occur, presumably because |
91 |
+ # we're cranking up too many test timeouts. Oh well. |
92 |
+ # bug #823458#c3 |
93 |
+ ipyparallel/tests/test_asyncresult.py::AsyncResultTest::test_wait_for_send |
94 |
+ # We could patch the timeout for these too but they're going to be inherently |
95 |
+ # fragile anyway based on what they do. |
96 |
+ ipyparallel/tests/test_client.py::TestClient::test_activate |
97 |
+ ipyparallel/tests/test_client.py::TestClient::test_lazy_all_targets |
98 |
+ ipyparallel/tests/test_client.py::TestClient::test_wait_for_engines |
99 |
+ ) |
100 |
+ [[ ${EPYTHON} == python3.10 ]] && deselect+=( |
101 |
+ # failing due to irrelevant warnings |
102 |
+ ipyparallel/tests/test_client.py::TestClient::test_local_ip_true_doesnt_trigger_warning |
103 |
+ ipyparallel/tests/test_client.py::TestClient::test_warning_on_hostname_match |
104 |
+ ) |
105 |
+ epytest ${deselect[@]/#/--deselect } |
106 |
+} |
107 |
+ |
108 |
+python_install_all() { |
109 |
+ distutils-r1_python_install_all |
110 |
+ # move /usr/etc stuff to /etc |
111 |
+ mv "${ED}/usr/etc" "${ED}/etc" || die |
112 |
+} |
113 |
+ |
114 |
+pkg_postinst() { |
115 |
+ optfeature "Jupyter Notebook integration" dev-python/notebook |
116 |
+} |