1 |
commit: 2e6d58001a54c092b64942c2000ff8fe7ec137f2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 2 08:32:30 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 2 09:11:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6d5800 |
7 |
|
8 |
dev-python/qtconsole: Remove py36 in new rev to unblock ipython |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/qtconsole/qtconsole-4.7.6-r1.ebuild | 46 ++++++++++++++++++++++++++ |
13 |
1 file changed, 46 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/qtconsole/qtconsole-4.7.6-r1.ebuild b/dev-python/qtconsole/qtconsole-4.7.6-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..4e7d19048ac |
18 |
--- /dev/null |
19 |
+++ b/dev-python/qtconsole/qtconsole-4.7.6-r1.ebuild |
20 |
@@ -0,0 +1,46 @@ |
21 |
+# Copyright 1999-2020 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=7 |
25 |
+ |
26 |
+PYTHON_COMPAT=( python3_{7..9} ) |
27 |
+PYTHON_REQ_USE="threads(+)" |
28 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="Qt-based console for Jupyter with support for rich media output" |
33 |
+HOMEPAGE="https://jupyter.org" |
34 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="BSD" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ dev-python/ipykernel[${PYTHON_USEDEP}] |
42 |
+ dev-python/ipython_genutils[${PYTHON_USEDEP}] |
43 |
+ dev-python/jupyter_core[${PYTHON_USEDEP}] |
44 |
+ >=dev-python/jupyter_client-4.1.1[${PYTHON_USEDEP}] |
45 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
46 |
+ dev-python/traitlets[${PYTHON_USEDEP}] |
47 |
+ dev-python/QtPy[${PYTHON_USEDEP},gui,printsupport,svg] |
48 |
+" |
49 |
+BDEPEND=" |
50 |
+ test? ( |
51 |
+ dev-python/QtPy[${PYTHON_USEDEP},svg,testlib] |
52 |
+ ) |
53 |
+" |
54 |
+# required by removed tests: |
55 |
+# dev-python/pytest-qt[${PYTHON_USEDEP}] |
56 |
+PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" |
57 |
+ |
58 |
+distutils_enable_sphinx docs/source |
59 |
+distutils_enable_tests pytest |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ # TODO: these tests require virtx; however, running under virtx |
63 |
+ # causes pytest to segv on exit (even though tests pass) |
64 |
+ rm qtconsole/tests/test_00_console_widget.py || die |
65 |
+ distutils-r1_src_prepare |
66 |
+} |