1 |
commit: ff6f9d9ccdaa3337e90f23b119e0e531c1ce4fb3 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Mon Dec 16 08:55:10 2019 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 23 08:10:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6f9d9c |
7 |
|
8 |
dev-python/qtconsole: Version bump 4.6.0. |
9 |
|
10 |
Bug: https://github.com/gentoo/gentoo/pull/13988 |
11 |
Bug: https://bugs.gentoo.org/702458 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/14008 |
13 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
14 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
15 |
Package-Manager: Portage-2.3.81, Repoman-2.3.20 |
16 |
|
17 |
dev-python/qtconsole/Manifest | 1 + |
18 |
dev-python/qtconsole/qtconsole-4.6.0.ebuild | 53 +++++++++++++++++++++++++++++ |
19 |
2 files changed, 54 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest |
22 |
index 68c47c9bf6b..e0cf622b4c7 100644 |
23 |
--- a/dev-python/qtconsole/Manifest |
24 |
+++ b/dev-python/qtconsole/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST qtconsole-4.3.1.tar.gz 416931 BLAKE2B ec47c2ae8527d7aee55d6cb8d2ebea39ab1bfd3a268c46306613b67f72c27904db1de52682a47d075d804dad9cd7c124296163b39532936fb1a497ae606b7ffc SHA512 f0f84d95143b4513c3d12af4712c6a5724143bf8c44e7a3fbc06d7a94e665b8d12072dd13eafb09476a3aa829155f4c75eb517ffb2bd6e8bd3c00af3c764e48f |
27 |
+DIST qtconsole-4.6.0.tar.gz 426936 BLAKE2B dfd61258e2e8a0ba74421253f39392e2daa04acfd072361488fc93087e2aa4daa62203e4da501a24db43a79eafe7eaa8528f54edbf7b6bb6d547521cc92b8829 SHA512 196022af0d9ebe9e065bf46c07f90bddb2c314d4f0f778f828e20200b11085150ff3ad3adac944496b778b926a0ccdec7903de27be25b79be7fe3ba867148b0b |
28 |
|
29 |
diff --git a/dev-python/qtconsole/qtconsole-4.6.0.ebuild b/dev-python/qtconsole/qtconsole-4.6.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..1463903122d |
32 |
--- /dev/null |
33 |
+++ b/dev-python/qtconsole/qtconsole-4.6.0.ebuild |
34 |
@@ -0,0 +1,53 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
41 |
+PYTHON_REQ_USE="threads(+)" |
42 |
+ |
43 |
+inherit distutils-r1 virtualx |
44 |
+ |
45 |
+DESCRIPTION="Qt-based console for Jupyter with support for rich media output" |
46 |
+HOMEPAGE="http://jupyter.org" |
47 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
52 |
+IUSE="doc" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-python/ipykernel[${PYTHON_USEDEP}] |
56 |
+ dev-python/ipython_genutils[${PYTHON_USEDEP}] |
57 |
+ dev-python/jupyter_core[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/jupyter_client-4.1.1[${PYTHON_USEDEP}] |
59 |
+ dev-python/traitlets[${PYTHON_USEDEP}] |
60 |
+ " |
61 |
+DEPEND="${RDEPEND} |
62 |
+ doc? ( |
63 |
+ >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}] |
64 |
+ ) |
65 |
+ dev-python/PyQt5[${PYTHON_USEDEP},svg] |
66 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/pyzmq-13[${PYTHON_USEDEP}] |
68 |
+ " |
69 |
+PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" |
70 |
+ |
71 |
+distutils_enable_tests pytest |
72 |
+ |
73 |
+python_prepare_all() { |
74 |
+ # Prevent un-needed download during build |
75 |
+ if use doc; then |
76 |
+ sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die |
77 |
+ fi |
78 |
+ |
79 |
+ distutils-r1_python_prepare_all |
80 |
+} |
81 |
+ |
82 |
+python_compile_all() { |
83 |
+ if use doc; then |
84 |
+ emake -C docs html |
85 |
+ HTML_DOCS=( docs/build/html/. ) |
86 |
+ fi |
87 |
+} |