1 |
commit: bd0985495ba8e940f57163fa13976d1c00038b9e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 7 19:34:53 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 7 20:30:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd098549 |
7 |
|
8 |
dev-python/ipyparallel: Bump to 8.2.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/ipyparallel/Manifest | 1 + |
13 |
dev-python/ipyparallel/ipyparallel-8.2.0.ebuild | 89 +++++++++++++++++++++++++ |
14 |
2 files changed, 90 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest |
17 |
index b77cd4ecd70d..391be9dda1ed 100644 |
18 |
--- a/dev-python/ipyparallel/Manifest |
19 |
+++ b/dev-python/ipyparallel/Manifest |
20 |
@@ -1,3 +1,4 @@ |
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 |
+DIST ipyparallel-8.2.0.tar.gz 9367069 BLAKE2B e4e881f774422ead72778d40d85e5732d7da8e8e66107c06d65557c6701c94bd5c2592cea2def8b2ad405db78fe70c87944e4b89eb9fe3a4bcf38464b008979a SHA512 f6e62eaa86fa63ef1417e850de3eaf5ba228a1ad1da99c66b64b371010b57ba805201f18c97485ded24899afe7b22edbec23ca0e21344e9c2c2eacfcd6fd8adf |
25 |
|
26 |
diff --git a/dev-python/ipyparallel/ipyparallel-8.2.0.ebuild b/dev-python/ipyparallel/ipyparallel-8.2.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..7c0184d6e735 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/ipyparallel/ipyparallel-8.2.0.ebuild |
31 |
@@ -0,0 +1,89 @@ |
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 |
+PYTHON_REQ_USE="threads(+)" |
40 |
+ |
41 |
+inherit distutils-r1 optfeature |
42 |
+ |
43 |
+DESCRIPTION="Interactive Parallel Computing with IPython" |
44 |
+HOMEPAGE="https://ipyparallel.readthedocs.io/" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-python/entrypoints[${PYTHON_USEDEP}] |
53 |
+ dev-python/decorator[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/pyzmq-18[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/traitlets-4.3[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/ipython-4[${PYTHON_USEDEP}] |
57 |
+ dev-python/jupyter_client[${PYTHON_USEDEP}] |
58 |
+ dev-python/jupyter_server[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/ipykernel-4.4[${PYTHON_USEDEP}] |
60 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] |
62 |
+ dev-python/tqdm[${PYTHON_USEDEP}] |
63 |
+ >=www-servers/tornado-5.1[${PYTHON_USEDEP}] |
64 |
+ " |
65 |
+BDEPEND="${RDEPEND} |
66 |
+ test? ( |
67 |
+ dev-python/ipython[test] |
68 |
+ dev-python/mock[${PYTHON_USEDEP}] |
69 |
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
70 |
+ dev-python/pytest-tornado[${PYTHON_USEDEP}] |
71 |
+ dev-python/testpath[${PYTHON_USEDEP}] |
72 |
+ ) |
73 |
+ " |
74 |
+ |
75 |
+# TODO: package myst_parser |
76 |
+# distutils_enable_sphinx docs/source |
77 |
+distutils_enable_tests pytest |
78 |
+ |
79 |
+PATCHES=( |
80 |
+ "${FILESDIR}"/${PN}-7.1.0-test-timeouts.patch |
81 |
+) |
82 |
+ |
83 |
+python_test() { |
84 |
+ local EPYTEST_DESELECT=( |
85 |
+ # we don't run a mongo instance for tests |
86 |
+ ipyparallel/tests/test_mongodb.py::TestMongoBackend |
87 |
+ # TODO |
88 |
+ ipyparallel/tests/test_util.py::test_disambiguate_ip |
89 |
+ ipyparallel/tests/test_view.py::TestView::test_temp_flags |
90 |
+ ipyparallel/tests/test_view.py::TestView::test_unicode_apply_arg |
91 |
+ ipyparallel/tests/test_view.py::TestView::test_unicode_apply_result |
92 |
+ ipyparallel/tests/test_view.py::TestView::test_unicode_execute |
93 |
+ ipyparallel/tests/test_view.py::TestView::test_sync_imports_quiet |
94 |
+ # Gets upset that a timeout _doesn't_ occur, presumably because |
95 |
+ # we're cranking up too many test timeouts. Oh well. |
96 |
+ # bug #823458#c3 |
97 |
+ ipyparallel/tests/test_asyncresult.py::AsyncResultTest::test_wait_for_send |
98 |
+ # We could patch the timeout for these too but they're going to be inherently |
99 |
+ # fragile anyway based on what they do. |
100 |
+ ipyparallel/tests/test_client.py::TestClient::test_activate |
101 |
+ ipyparallel/tests/test_client.py::TestClient::test_lazy_all_targets |
102 |
+ ipyparallel/tests/test_client.py::TestClient::test_wait_for_engines |
103 |
+ ) |
104 |
+ [[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=( |
105 |
+ # failing due to irrelevant warnings |
106 |
+ ipyparallel/tests/test_client.py::TestClient::test_local_ip_true_doesnt_trigger_warning |
107 |
+ ipyparallel/tests/test_client.py::TestClient::test_warning_on_hostname_match |
108 |
+ ) |
109 |
+ epytest |
110 |
+} |
111 |
+ |
112 |
+python_install_all() { |
113 |
+ distutils-r1_python_install_all |
114 |
+ # move /usr/etc stuff to /etc |
115 |
+ mv "${ED}/usr/etc" "${ED}/etc" || die |
116 |
+} |
117 |
+ |
118 |
+pkg_postinst() { |
119 |
+ optfeature "Jupyter Notebook integration" dev-python/notebook |
120 |
+} |