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: Sat, 02 Apr 2016 08:24:47
Message-Id: 1459585370.ccc57417c20ac3f0b3de54f96bf5d6f8bfa80e07.soap@gentoo
1 commit: ccc57417c20ac3f0b3de54f96bf5d6f8bfa80e07
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Fri Apr 1 14:28:11 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 08:22:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccc57417
7
8 dev-python/qtconsole: Version bump
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/qtconsole/Manifest | 1 +
13 dev-python/qtconsole/qtconsole-4.2.1.ebuild | 68 +++++++++++++++++++++++++++++
14 2 files changed, 69 insertions(+)
15
16 diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest
17 index a8b53e6..3b9adb8 100644
18 --- a/dev-python/qtconsole/Manifest
19 +++ b/dev-python/qtconsole/Manifest
20 @@ -1,2 +1,3 @@
21 DIST qtconsole-4.1.1.tar.gz 406257 SHA256 741906acae9e02c0df9138ac88b621ef22e438565aa96d783a9ef88faec3de46 SHA512 2848eb8d3a8816a47ca422b24837372899864e750336509f3d8444333d0783bae46b9917258cab14d4e09d91d5068a7772fb849a267e1a7d6e282c7c75e9f4e9 WHIRLPOOL 1a3a638be2bdea3f9ab6d625edd110ef698a84cfdf3b1f4101375faf8ed60a0e8e9ab6e297575dab8e2e6389107ba62a6bb338c78934780e19dd4c498aee9eb9
22 DIST qtconsole-4.2.0.tar.gz 408331 SHA256 937314f4f35bde9ee28e97b199289f8ac1b1ba14e2a4e22ab8aafa17a1bae5b7 SHA512 bf8ab82b316961ecf14e56dda27bb1253e7e56b10adc7388b1a6a8548526a756da45a16b34e891e966dfa72cdd73a571390b23b9ed1e5d4cb684f2ba14569368 WHIRLPOOL 4ccb073c2d29ee1908696867af41c28c1cc51a2c30a7d2e030de7dacc0e069788d2f08756c6a22044fc58cec9d1df84fe1de10692d8d0eea0ffe31c9a6d64b66
23 +DIST qtconsole-4.2.1.tar.gz 408430 SHA256 25ec7d345528b3e8f3c91be349dd3c699755f206dc4b6ec668e2e5dd60ea18ef SHA512 f207e55be159d32cff25d017e12a598564ce106394382c9ac5277f8025aa9201ac4be13711a9a991a2877280f17490e40a6a90649983ca586f25091d62a2848d WHIRLPOOL ab6dece8c1bbf49a23ab14b3911e019f636a7ab46003866943313881d9fcead75391114dd726684347ea880d55f0c47df8266154b04bf8954a56080f186044c6
24
25 diff --git a/dev-python/qtconsole/qtconsole-4.2.1.ebuild b/dev-python/qtconsole/qtconsole-4.2.1.ebuild
26 new file mode 100644
27 index 0000000..7ea50ad
28 --- /dev/null
29 +++ b/dev-python/qtconsole/qtconsole-4.2.1.ebuild
30 @@ -0,0 +1,68 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=6
36 +
37 +PYTHON_COMPAT=( python2_7 python3_{3,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/jupyter_client-4.1.1[${PYTHON_USEDEP}]
54 + "
55 +DEPEND="${RDEPEND}
56 + doc? (
57 + >=dev-python/ipython-4.0.0-r2[${PYTHON_USEDEP}]
58 + >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
59 + )
60 + test? (
61 + >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
62 + )
63 + || (
64 + dev-python/pyside[${PYTHON_USEDEP},svg]
65 + dev-python/PyQt4[${PYTHON_USEDEP},svg]
66 + dev-python/PyQt5[${PYTHON_USEDEP},svg]
67 + )
68 + dev-python/pygments[${PYTHON_USEDEP}]
69 + >=dev-python/pyzmq-13[${PYTHON_USEDEP}]
70 + "
71 +PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
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 + use doc && emake -C docs html
84 +}
85 +
86 +python_test() {
87 + # jupyter qtconsole --generate-config ... jupyter-qtconsole: cannot connect to X server
88 + # ERROR
89 + sed \
90 + -e 's:test_generate_config:_&:g' \
91 + -i qtconsole/tests/test_app.py || die
92 + virtx nosetests --verbosity=2 qtconsole
93 +}
94 +
95 +python_install_all() {
96 + use doc && HTML_DOCS=( docs/build/html/. )
97 + distutils-r1_python_install_all
98 +}