1 |
commit: 9e3641c895b7a21aeacf3b02be50a5647f6f478a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 7 04:33:15 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 7 04:53:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e3641c8 |
7 |
|
8 |
dev-python/ipyparallel: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/ipyparallel/Manifest | 1 - |
13 |
.../ipyparallel-6.2.3-disable-broken-test.patch | 28 -------- |
14 |
dev-python/ipyparallel/ipyparallel-6.2.3.ebuild | 76 ---------------------- |
15 |
3 files changed, 105 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/ipyparallel/Manifest b/dev-python/ipyparallel/Manifest |
18 |
index abcf93dbc6f..bdce308ec70 100644 |
19 |
--- a/dev-python/ipyparallel/Manifest |
20 |
+++ b/dev-python/ipyparallel/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST ipyparallel-6.2.3.tar.gz 2371030 BLAKE2B 73f96bbed280def33ae243e592ecf2e298afe92287cf3a7edb966859c38c6dcb1f1a43082ab83907aa00e06d571f4b750df28e6885a1c2d1fd1489fd4472a7fc SHA512 ddf479a7776c2ca9fd37aa5b7dd402c136ce62a479333f5f56dce413649f9b928daed56c173ad5325268eaa58667d611257b20c8269899cc06ae2829f973b4c1 |
23 |
DIST ipyparallel-6.3.0.tar.gz 2380153 BLAKE2B b8312102e1d2b5fc963491ebe8530e2fd73e9f941f7912fbc72a8db51e7255f5cac95a853d15a57e384926ab1aff27f2a3ad13cc45130a8b612be5dc623538ab SHA512 fe621854b9cc3e5f88aeca2b06b63bb689dd2feee0da451a0a90800d8832f4b44b23bb9a15033029cc33179276f31e982a10fc7540e6d13b04f15d96c348a295 |
24 |
|
25 |
diff --git a/dev-python/ipyparallel/files/ipyparallel-6.2.3-disable-broken-test.patch b/dev-python/ipyparallel/files/ipyparallel-6.2.3-disable-broken-test.patch |
26 |
deleted file mode 100644 |
27 |
index b578cd7f73e..00000000000 |
28 |
--- a/dev-python/ipyparallel/files/ipyparallel-6.2.3-disable-broken-test.patch |
29 |
+++ /dev/null |
30 |
@@ -1,28 +0,0 @@ |
31 |
-diff --git a/ipyparallel/tests/test_util.py b/ipyparallel/tests/test_util.py |
32 |
-index 06fde46..e685a88 100644 |
33 |
---- a/ipyparallel/tests/test_util.py |
34 |
-+++ b/ipyparallel/tests/test_util.py |
35 |
-@@ -3,7 +3,8 @@ from ipyparallel import util |
36 |
- from jupyter_client.localinterfaces import localhost, public_ips |
37 |
- |
38 |
- |
39 |
--def test_disambiguate_ip(): |
40 |
-+# This test is broken in gentoo's testing environment |
41 |
-+def xtest_disambiguate_ip(): |
42 |
- # garbage in, garbage out |
43 |
- public_ip = public_ips()[0] |
44 |
- assert util.disambiguate_ip_address('garbage') == 'garbage' |
45 |
-diff --git a/ipyparallel/tests/test_view.py b/ipyparallel/tests/test_view.py |
46 |
-index 45cb669..dd335b1 100644 |
47 |
---- a/ipyparallel/tests/test_view.py |
48 |
-+++ b/ipyparallel/tests/test_view.py |
49 |
-@@ -823,7 +823,8 @@ class TestView(ClusterTestCase): |
50 |
- assert view.apply_sync(find_ipython) |
51 |
- |
52 |
- @skip_without('cloudpickle') |
53 |
-- def test_use_cloudpickle(self): |
54 |
-+ # Broken on Gentoo |
55 |
-+ def xtest_use_cloudpickle(self): |
56 |
- view = self.client[:] |
57 |
- view['_a'] = 'engine' |
58 |
- sys.modules['__main__']._a = 'client' |
59 |
|
60 |
diff --git a/dev-python/ipyparallel/ipyparallel-6.2.3.ebuild b/dev-python/ipyparallel/ipyparallel-6.2.3.ebuild |
61 |
deleted file mode 100644 |
62 |
index 074fd315ca0..00000000000 |
63 |
--- a/dev-python/ipyparallel/ipyparallel-6.2.3.ebuild |
64 |
+++ /dev/null |
65 |
@@ -1,76 +0,0 @@ |
66 |
-# Copyright 1999-2020 Gentoo Authors |
67 |
-# Distributed under the terms of the GNU General Public License v2 |
68 |
- |
69 |
-EAPI=7 |
70 |
- |
71 |
-PYTHON_COMPAT=( python3_{6,7} ) |
72 |
-PYTHON_REQ_USE="threads(+)" |
73 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
74 |
- |
75 |
-inherit distutils-r1 eutils |
76 |
- |
77 |
-DESCRIPTION="Interactive Parallel Computing with IPython" |
78 |
-HOMEPAGE="https://ipyparallel.readthedocs.io/" |
79 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
80 |
- |
81 |
-LICENSE="BSD" |
82 |
-SLOT="0" |
83 |
-KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" |
84 |
-IUSE="doc test" |
85 |
-RESTRICT="!test? ( test )" |
86 |
- |
87 |
-# About tests and tornado |
88 |
-# Upstreams claims to work fine with tornado 5, and it's indeed possible to |
89 |
-# launch a cluster with tornado 5 installed, but tests definitely don't run with |
90 |
-# tornado 5 installed. Upstreams CI runs with tornado 4. This is why we limit |
91 |
-# ourselves to <tornado-5 when running tests. |
92 |
- |
93 |
-RDEPEND=" |
94 |
- dev-python/decorator[${PYTHON_USEDEP}] |
95 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
96 |
- dev-python/ipython[${PYTHON_USEDEP}] |
97 |
- dev-python/ipython_genutils[${PYTHON_USEDEP}] |
98 |
- dev-python/jupyter_client[${PYTHON_USEDEP}] |
99 |
- dev-python/python-dateutil[${PYTHON_USEDEP}] |
100 |
- >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}] |
101 |
- www-servers/tornado[${PYTHON_USEDEP}] |
102 |
- " |
103 |
-DEPEND="${RDEPEND} |
104 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
105 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
106 |
- test? ( |
107 |
- dev-python/ipython[test] |
108 |
- dev-python/mock[${PYTHON_USEDEP}] |
109 |
- dev-python/pytest[${PYTHON_USEDEP}] |
110 |
- dev-python/testpath[${PYTHON_USEDEP}] |
111 |
- <www-servers/tornado-5 |
112 |
- ) |
113 |
- " |
114 |
- |
115 |
-PATCHES=( |
116 |
- "${FILESDIR}/${PN}-6.2.3-disable-broken-test.patch" |
117 |
-) |
118 |
- |
119 |
-python_prepare_all() { |
120 |
- # Prevent un-needed download during build |
121 |
- if use doc; then |
122 |
- sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die |
123 |
- fi |
124 |
- |
125 |
- distutils-r1_python_prepare_all |
126 |
-} |
127 |
- |
128 |
-python_compile_all() { |
129 |
- if use doc; then |
130 |
- emake -C docs html |
131 |
- HTML_DOCS=( docs/build/html/. ) |
132 |
- fi |
133 |
-} |
134 |
- |
135 |
-python_test() { |
136 |
- pytest -vs ipyparallel/tests || die |
137 |
-} |
138 |
- |
139 |
-pkg_postinst() { |
140 |
- optfeature "Jupyter Notebook integration" dev-python/notebook |
141 |
-} |