From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9B477138334 for ; Mon, 23 Dec 2019 08:13:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C819BE0CCE; Mon, 23 Dec 2019 08:13:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 99AE9E0CCE for ; Mon, 23 Dec 2019 08:13:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E8FE34DA7A for ; Mon, 23 Dec 2019 08:13:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 729D66AD7A for ; Mon, 23 Dec 2019 08:13:24 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1577088656.ff6f9d9ccdaa3337e90f23b119e0e531c1ce4fb3.heroxbd@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.6.0.ebuild X-VCS-Directories: dev-python/qtconsole/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: ff6f9d9ccdaa3337e90f23b119e0e531c1ce4fb3 X-VCS-Branch: master Date: Mon, 23 Dec 2019 08:13:24 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f89f2b75-34cf-4a93-8aec-b0bcec81201a X-Archives-Hash: 33aab11c1501a9b4b3fd2d65a87df42e commit: ff6f9d9ccdaa3337e90f23b119e0e531c1ce4fb3 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Dec 16 08:55:10 2019 +0000 Commit: Benda XU gentoo org> CommitDate: Mon Dec 23 08:10:56 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6f9d9c dev-python/qtconsole: Version bump 4.6.0. Bug: https://github.com/gentoo/gentoo/pull/13988 Bug: https://bugs.gentoo.org/702458 Closes: https://github.com/gentoo/gentoo/pull/14008 Signed-off-by: Andrew Ammerlaan riseup.net> Signed-off-by: Benda Xu gentoo.org> Package-Manager: Portage-2.3.81, Repoman-2.3.20 dev-python/qtconsole/Manifest | 1 + dev-python/qtconsole/qtconsole-4.6.0.ebuild | 53 +++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest index 68c47c9bf6b..e0cf622b4c7 100644 --- a/dev-python/qtconsole/Manifest +++ b/dev-python/qtconsole/Manifest @@ -1 +1,2 @@ DIST qtconsole-4.3.1.tar.gz 416931 BLAKE2B ec47c2ae8527d7aee55d6cb8d2ebea39ab1bfd3a268c46306613b67f72c27904db1de52682a47d075d804dad9cd7c124296163b39532936fb1a497ae606b7ffc SHA512 f0f84d95143b4513c3d12af4712c6a5724143bf8c44e7a3fbc06d7a94e665b8d12072dd13eafb09476a3aa829155f4c75eb517ffb2bd6e8bd3c00af3c764e48f +DIST qtconsole-4.6.0.tar.gz 426936 BLAKE2B dfd61258e2e8a0ba74421253f39392e2daa04acfd072361488fc93087e2aa4daa62203e4da501a24db43a79eafe7eaa8528f54edbf7b6bb6d547521cc92b8829 SHA512 196022af0d9ebe9e065bf46c07f90bddb2c314d4f0f778f828e20200b11085150ff3ad3adac944496b778b926a0ccdec7903de27be25b79be7fe3ba867148b0b diff --git a/dev-python/qtconsole/qtconsole-4.6.0.ebuild b/dev-python/qtconsole/qtconsole-4.6.0.ebuild new file mode 100644 index 00000000000..1463903122d --- /dev/null +++ b/dev-python/qtconsole/qtconsole-4.6.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) +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" + +RDEPEND=" + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipython_genutils[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-4.1.1[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + " +DEPEND="${RDEPEND} + doc? ( + >=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}] + ) + dev-python/PyQt5[${PYTHON_USEDEP},svg] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/pyzmq-13[${PYTHON_USEDEP}] + " +PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +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 +}