1 |
commit: dfea6b63e634aa58a35c73dba2f619cccf6e4ac4 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 31 14:25:01 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 31 14:31:02 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfea6b63 |
7 |
|
8 |
dev-python/qtconsole: add 5.3.0 |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
dev-python/qtconsole/Manifest | 1 + |
13 |
dev-python/qtconsole/qtconsole-5.3.0.ebuild | 51 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest |
17 |
index 56acbfb34537..0e16eb4ec5b5 100644 |
18 |
--- a/dev-python/qtconsole/Manifest |
19 |
+++ b/dev-python/qtconsole/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST qtconsole-5.1.1.tar.gz 428840 BLAKE2B eb5f6dacf576133c07bc45a9f0fcfdfd041f72012d9564e288a40ac060a6843f6438c80836bcf2f35ffa1f575383bdffe347a498930fe96e2d99a1f1fbe3a032 SHA512 dd9f725fc6e55dea3910650c4c5641336ed1ed56e6eeaad91e6567743bc02fbd0ca567295c3c8897bb800df305ec0bf9f2d8caa8ad0099cdfa2d20c7ca96fbdc |
22 |
DIST qtconsole-5.2.1.tar.gz 429573 BLAKE2B 57d42dee8710576785dd1e2e054469b5b2325fad1c30aab1b071f1aac80f3146edc057b03b025d72f0c8691d002a06dbe45bf51d51876ff730d39106d4e4aaa4 SHA512 86e310da66f36e38a584758b18482da927acd70f095600554d4bef3c0b0fcfab5df9d9990b94943a14932afbb8d5ec1db5810c40ef2a7e59172788291684d9aa |
23 |
DIST qtconsole-5.2.2.tar.gz 429610 BLAKE2B 1a9f163dfa8a2d38829b2db5a5589b80605b82f144d95e51e3668f296b8e839fd3045c813505926a4c8690e438e79d82c0307c33416152d28899b2f0324aec1e SHA512 43727a08a0b828421bb051063055b3306a2111bedfd148aea6bccc04e103bbffb798c35440bfdb82ffa6bf17a2b0ce9e1ad2d0b3df9aaea294a23dcf582dfd57 |
24 |
+DIST qtconsole-5.3.0.tar.gz 430258 BLAKE2B 883c95124d911b17a1cebedc357f207e042a9679a09eb63bace09f7f39eac4b1f3a24ccd372760e3142494208119dc4131939cd82e8cab364dacecca184c8545 SHA512 6fcfaa7ad842f3f45d4e2286ce816a0b4c71e3c3fb07b86589934efcc637e2cd6f5712fa8a10c375b8e86d1e1e6ce32de9f2be2fc0decd554b51c658e106b120 |
25 |
|
26 |
diff --git a/dev-python/qtconsole/qtconsole-5.3.0.ebuild b/dev-python/qtconsole/qtconsole-5.3.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..64c5ca6e660f |
29 |
--- /dev/null |
30 |
+++ b/dev-python/qtconsole/qtconsole-5.3.0.ebuild |
31 |
@@ -0,0 +1,51 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+PYTHON_REQ_USE="threads(+)" |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Qt-based console for Jupyter with support for rich media output" |
42 |
+HOMEPAGE="https://jupyter.org" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/ipykernel-4.1[${PYTHON_USEDEP}] |
51 |
+ dev-python/ipython_genutils[${PYTHON_USEDEP}] |
52 |
+ dev-python/jupyter_core[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/jupyter_client-4.1.1[${PYTHON_USEDEP}] |
54 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/pyzmq-17.1[${PYTHON_USEDEP}] |
56 |
+ dev-python/traitlets[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/QtPy-2.0.1[${PYTHON_USEDEP},gui,printsupport,svg] |
58 |
+" |
59 |
+# The test suite tests both against pyqt5 *and* pyside2 |
60 |
+BDEPEND=" |
61 |
+ test? ( |
62 |
+ dev-python/QtPy[pyqt5,pyside2,${PYTHON_USEDEP},svg,testlib] |
63 |
+ ) |
64 |
+" |
65 |
+# required by the tests that are removed: |
66 |
+# dev-python/flaky[${PYTHON_USEDEP}] |
67 |
+# dev-python/pytest-qt[${PYTHON_USEDEP}] |
68 |
+ |
69 |
+PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" |
70 |
+ |
71 |
+distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme |
72 |
+distutils_enable_tests pytest |
73 |
+ |
74 |
+python_test() { |
75 |
+ # TODO: these tests require virtx; however, running under virtx |
76 |
+ # causes pytest to segv on exit (even though tests pass) |
77 |
+ EPYTEST_IGNORE=( |
78 |
+ qtconsole/tests/test_00_console_widget.py |
79 |
+ qtconsole/tests/test_jupyter_widget.py |
80 |
+ ) |
81 |
+ epytest |
82 |
+} |