Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qtconsole/
Date: Sun, 16 Apr 2017 19:06:04
Message-Id: 1492369506.01fe78e3612dca4df794b95af6ea27c5b7421d7f.soap@gentoo
1 commit: 01fe78e3612dca4df794b95af6ea27c5b7421d7f
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Wed Apr 5 07:26:41 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 16 19:05:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01fe78e3
7
8 dev-python/qtconsole: Version bump to 4.3.0
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Closes: https://github.com/gentoo/gentoo/pull/4362
12
13 dev-python/qtconsole/Manifest | 1 +
14 dev-python/qtconsole/qtconsole-4.3.0.ebuild | 71 +++++++++++++++++++++++++++++
15 2 files changed, 72 insertions(+)
16
17 diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest
18 index 890375671e7..19d8b8521ca 100644
19 --- a/dev-python/qtconsole/Manifest
20 +++ b/dev-python/qtconsole/Manifest
21 @@ -1,2 +1,3 @@
22 DIST qtconsole-4.1.1.tar.gz 406257 SHA256 741906acae9e02c0df9138ac88b621ef22e438565aa96d783a9ef88faec3de46 SHA512 2848eb8d3a8816a47ca422b24837372899864e750336509f3d8444333d0783bae46b9917258cab14d4e09d91d5068a7772fb849a267e1a7d6e282c7c75e9f4e9 WHIRLPOOL 1a3a638be2bdea3f9ab6d625edd110ef698a84cfdf3b1f4101375faf8ed60a0e8e9ab6e297575dab8e2e6389107ba62a6bb338c78934780e19dd4c498aee9eb9
23 DIST qtconsole-4.2.1.tar.gz 408430 SHA256 25ec7d345528b3e8f3c91be349dd3c699755f206dc4b6ec668e2e5dd60ea18ef SHA512 f207e55be159d32cff25d017e12a598564ce106394382c9ac5277f8025aa9201ac4be13711a9a991a2877280f17490e40a6a90649983ca586f25091d62a2848d WHIRLPOOL ab6dece8c1bbf49a23ab14b3911e019f636a7ab46003866943313881d9fcead75391114dd726684347ea880d55f0c47df8266154b04bf8954a56080f186044c6
24 +DIST qtconsole-4.3.0.tar.gz 416877 SHA256 2821ccf85853b83e4958521f82e36325208787eaf79b19b83905a99cc41aa209 SHA512 50e8d04152b90e85989ee6f1f182ae0f788d5f231311fcd61170b7a7c20a9a32d35918810ccb85e38be6b2092791c7fa9ac8726524100bca12d9ae6a949acc54 WHIRLPOOL 239686bea6e5db6c926b5e4d38e36e8e644df44c3de3a6c4756d9345713586e9e8b3cdf4cbe605aaca3fd77ca502abcd4a3e745955a20e23ab67d934c2f46f7b
25
26 diff --git a/dev-python/qtconsole/qtconsole-4.3.0.ebuild b/dev-python/qtconsole/qtconsole-4.3.0.ebuild
27 new file mode 100644
28 index 00000000000..4ab1876f674
29 --- /dev/null
30 +++ b/dev-python/qtconsole/qtconsole-4.3.0.ebuild
31 @@ -0,0 +1,71 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +PYTHON_COMPAT=( python2_7 python3_{4,5} )
38 +PYTHON_REQ_USE="threads(+)"
39 +
40 +inherit distutils-r1 virtualx
41 +
42 +DESCRIPTION="Qt-based console for Jupyter with support for rich media output"
43 +HOMEPAGE="http://jupyter.org"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="BSD"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="doc test"
50 +
51 +RDEPEND="
52 + dev-python/ipykernel[${PYTHON_USEDEP}]
53 + dev-python/ipython_genutils[${PYTHON_USEDEP}]
54 + >=dev-python/jupyter_client-4.1.1[${PYTHON_USEDEP}]
55 + "
56 +DEPEND="${RDEPEND}
57 + doc? (
58 + >=dev-python/ipython-4.0.0-r2[${PYTHON_USEDEP}]
59 + >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
60 + )
61 + test? (
62 + >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
63 + || (
64 + dev-python/pyside[${PYTHON_USEDEP},svg]
65 + dev-python/PyQt5[${PYTHON_USEDEP},svg,testlib]
66 + dev-python/PyQt4[${PYTHON_USEDEP},svg,testlib]
67 + )
68 + )
69 + || (
70 + dev-python/pyside[${PYTHON_USEDEP},svg]
71 + dev-python/PyQt5[${PYTHON_USEDEP},svg]
72 + dev-python/PyQt4[${PYTHON_USEDEP},svg]
73 + )
74 + dev-python/pygments[${PYTHON_USEDEP}]
75 + >=dev-python/pyzmq-13[${PYTHON_USEDEP}]
76 + "
77 +PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
78 +
79 +python_prepare_all() {
80 + # Prevent un-needed download during build
81 + if use doc; then
82 + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
83 + fi
84 +
85 + distutils-r1_python_prepare_all
86 +}
87 +
88 +python_compile_all() {
89 + if use doc; then
90 + emake -C docs html
91 + HTML_DOCS=( docs/build/html/. )
92 + fi
93 +}
94 +
95 +python_test() {
96 + # jupyter qtconsole --generate-config ... jupyter-qtconsole: cannot connect to X server
97 + # ERROR
98 + sed \
99 + -e 's:test_generate_config:_&:g' \
100 + -i qtconsole/tests/test_app.py || die
101 + virtx nosetests --verbosity=2 qtconsole
102 +}