mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/qtconsole: Drop old
Package-Manager: Portage-2.3.36, Repoman-2.3.9
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST qtconsole-4.3.0.tar.gz 416877 BLAKE2B 7619a3c8c8ab2e8bc2b30606624cdf77e9725df8eac13ed25700226d47ab4167d58bc3df5b5330590756583396cb08be210a8ade4236f9e46e564bef5f0e885d SHA512 50e8d04152b90e85989ee6f1f182ae0f788d5f231311fcd61170b7a7c20a9a32d35918810ccb85e38be6b2092791c7fa9ac8726524100bca12d9ae6a949acc54
|
||||
DIST qtconsole-4.3.1.tar.gz 416931 BLAKE2B ec47c2ae8527d7aee55d6cb8d2ebea39ab1bfd3a268c46306613b67f72c27904db1de52682a47d075d804dad9cd7c124296163b39532936fb1a497ae606b7ffc SHA512 f0f84d95143b4513c3d12af4712c6a5724143bf8c44e7a3fbc06d7a94e665b8d12072dd13eafb09476a3aa829155f4c75eb517ffb2bd6e8bd3c00af3c764e48f
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Qt-based console for Jupyter with support for rich media output"
|
||||
HOMEPAGE="http://jupyter.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
||||
dev-python/ipython_genutils[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter_client-4.1.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
>=dev-python/ipython-4.0.0-r2[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
>=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[${PYTHON_USEDEP},svg,testlib]
|
||||
)
|
||||
dev-python/PyQt5[${PYTHON_USEDEP},svg]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-13[${PYTHON_USEDEP}]
|
||||
"
|
||||
PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed download during build
|
||||
if use doc; then
|
||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
emake -C docs html
|
||||
HTML_DOCS=( docs/build/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# jupyter qtconsole --generate-config ... jupyter-qtconsole: cannot connect to X server
|
||||
# ERROR
|
||||
sed \
|
||||
-e 's:test_generate_config:_&:g' \
|
||||
-i qtconsole/tests/test_app.py || die
|
||||
virtx nosetests --verbosity=2 qtconsole
|
||||
}
|
||||
Reference in New Issue
Block a user