From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 340BB1388C0 for ; Tue, 23 Feb 2016 09:22:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A329521C01C; Tue, 23 Feb 2016 09:22:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D2B721C008 for ; Tue, 23 Feb 2016 09:22:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A27D1340B03 for ; Tue, 23 Feb 2016 09:22:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB65818A5 for ; Tue, 23 Feb 2016 09:22:46 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1456219364.7dd764a89caf7133e51cce664dee7bacd6de55b3.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qtconsole/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/qtconsole/Manifest dev-python/qtconsole/qtconsole-4.2.0.ebuild X-VCS-Directories: dev-python/qtconsole/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 7dd764a89caf7133e51cce664dee7bacd6de55b3 X-VCS-Branch: master Date: Tue, 23 Feb 2016 09:22:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 12f23a50-33ad-4cbe-818d-e28ea260c461 X-Archives-Hash: b5c2263ec84a43f71e050bdbf02e602d commit: 7dd764a89caf7133e51cce664dee7bacd6de55b3 Author: Justin Lecher gentoo org> AuthorDate: Tue Feb 23 09:22:16 2016 +0000 Commit: Justin Lecher gentoo org> CommitDate: Tue Feb 23 09:22:44 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dd764a8 dev-python/qtconsole: Version Bump Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher gentoo.org> dev-python/qtconsole/Manifest | 1 + dev-python/qtconsole/qtconsole-4.2.0.ebuild | 68 +++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest index cc3f3c2..a8b53e6 100644 --- a/dev-python/qtconsole/Manifest +++ b/dev-python/qtconsole/Manifest @@ -1 +1,2 @@ DIST qtconsole-4.1.1.tar.gz 406257 SHA256 741906acae9e02c0df9138ac88b621ef22e438565aa96d783a9ef88faec3de46 SHA512 2848eb8d3a8816a47ca422b24837372899864e750336509f3d8444333d0783bae46b9917258cab14d4e09d91d5068a7772fb849a267e1a7d6e282c7c75e9f4e9 WHIRLPOOL 1a3a638be2bdea3f9ab6d625edd110ef698a84cfdf3b1f4101375faf8ed60a0e8e9ab6e297575dab8e2e6389107ba62a6bb338c78934780e19dd4c498aee9eb9 +DIST qtconsole-4.2.0.tar.gz 408331 SHA256 937314f4f35bde9ee28e97b199289f8ac1b1ba14e2a4e22ab8aafa17a1bae5b7 SHA512 bf8ab82b316961ecf14e56dda27bb1253e7e56b10adc7388b1a6a8548526a756da45a16b34e891e966dfa72cdd73a571390b23b9ed1e5d4cb684f2ba14569368 WHIRLPOOL 4ccb073c2d29ee1908696867af41c28c1cc51a2c30a7d2e030de7dacc0e069788d2f08756c6a22044fc58cec9d1df84fe1de10692d8d0eea0ffe31c9a6d64b66 diff --git a/dev-python/qtconsole/qtconsole-4.2.0.ebuild b/dev-python/qtconsole/qtconsole-4.2.0.ebuild new file mode 100644 index 0000000..7ea50ad --- /dev/null +++ b/dev-python/qtconsole/qtconsole-4.2.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) +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 ~x86" +IUSE="doc test" + +RDEPEND=" + dev-python/ipykernel[${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/pyside[${PYTHON_USEDEP},svg] + dev-python/PyQt4[${PYTHON_USEDEP},svg] + 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() { + use doc && emake -C docs html +} + +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 +} + +python_install_all() { + use doc && HTML_DOCS=( docs/build/html/. ) + distutils-r1_python_install_all +}