public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qtconsole/
Date: Sun,  5 May 2019 07:15:50 +0000 (UTC)	[thread overview]
Message-ID: <1557040534.98a35ce7c2b7ac8f2eafad0702f68317cd3babc9.mgorny@gentoo> (raw)

commit:     98a35ce7c2b7ac8f2eafad0702f68317cd3babc9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May  5 06:54:50 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May  5 07:15:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98a35ce7

dev-python/qtconsole: Drop py2

Closes: https://bugs.gentoo.org/684962
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/qtconsole/qtconsole-4.3.1-r1.ebuild | 66 ++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/dev-python/qtconsole/qtconsole-4.3.1-r1.ebuild b/dev-python/qtconsole/qtconsole-4.3.1-r1.ebuild
new file mode 100644
index 00000000000..9739aa4e8f2
--- /dev/null
+++ b/dev-python/qtconsole/qtconsole-4.3.1-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 test"
+
+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/ipython-4.0.0-r2[${PYTHON_USEDEP}]
+		>=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
+	)
+	test? (
+		$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2*')
+		>=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
+}


             reply	other threads:[~2019-05-05  7:15 UTC|newest]

Thread overview: 104+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-05  7:15 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-16  9:02 [gentoo-commits] repo/gentoo:master commit in: dev-python/qtconsole/ Michał Górny
2024-11-16  8:47 Arthur Zamarin
2024-10-29  6:51 Michał Górny
2024-09-14 13:38 Arthur Zamarin
2024-08-29  4:52 Michał Górny
2024-07-12 10:36 Michał Górny
2024-05-22  9:10 Michał Górny
2024-05-22  9:05 Michał Górny
2024-05-06 15:29 Michał Górny
2024-03-06  9:52 Jakov Smolić
2023-12-16 13:47 Michał Górny
2023-12-16 10:59 Arthur Zamarin
2023-11-16  4:09 Michał Górny
2023-11-06  6:22 Michał Górny
2023-10-24 17:51 Michał Górny
2023-09-10  5:27 WANG Xuerui
2023-09-02 19:19 Michał Górny
2023-09-02 19:03 Michał Górny
2023-09-02 19:03 Michał Górny
2023-06-06  5:57 Michał Górny
2023-06-06  1:03 Sam James
2023-05-06  4:37 Michał Górny
2023-04-22 10:10 Michał Górny
2023-04-22  9:25 Arthur Zamarin
2023-04-03  2:50 Michał Górny
2023-03-12 13:27 Michał Górny
2023-02-03 15:08 Michał Górny
2023-02-03 12:47 Arthur Zamarin
2022-12-05 17:24 WANG Xuerui
2022-11-02  7:37 Michał Górny
2022-10-27  9:48 Andrew Ammerlaan
2022-10-04  6:54 Michał Górny
2022-10-03 21:41 Sam James
2022-08-30  5:45 Michał Górny
2022-07-10 19:16 Michał Górny
2022-07-10 19:08 Arthur Zamarin
2022-06-14  8:13 Michał Górny
2022-06-14  7:10 Agostino Sarubbo
2022-06-06  5:26 Michał Górny
2022-05-27  7:32 Michał Górny
2022-04-02  7:33 Arthur Zamarin
2022-03-31 14:31 Andrew Ammerlaan
2022-02-13 15:13 Sam James
2021-12-14 13:33 Andrew Ammerlaan
2021-12-14 10:21 Michał Górny
2021-11-24 23:31 Andrew Ammerlaan
2021-11-16  6:19 Sam James
2021-08-02  5:44 Michał Górny
2021-08-01 23:49 Sam James
2021-07-01 14:45 Michał Górny
2021-06-29 18:17 Michał Górny
2021-06-05 21:20 Michał Górny
2021-06-05 20:35 Sam James
2021-05-03  9:16 Michał Górny
2021-04-18  7:05 Michał Górny
2021-04-18  1:41 Sam James
2021-03-17  7:48 Michał Górny
2021-02-25 19:36 Michał Górny
2021-02-25 19:00 Sam James
2021-01-22  9:55 Michał Górny
2020-12-27 19:48 Michał Górny
2020-12-27 19:01 Sam James
2020-11-25  8:37 Michał Górny
2020-11-24  7:43 Michał Górny
2020-10-18 23:55 Sam James
2020-09-05 15:25 Sam James
2020-09-05  3:08 Sam James
2020-09-04  3:30 Michał Górny
2020-09-02  9:12 Michał Górny
2020-08-21 15:36 Agostino Sarubbo
2020-08-18  8:50 Michał Górny
2020-08-18  8:17 Michał Górny
2020-08-03  3:11 Sam James
2020-07-31 22:33 Aaron Bauman
2020-07-31  0:50 Sam James
2020-07-07 20:01 Michał Górny
2020-07-07 20:01 Michał Górny
2020-06-23  6:03 Michał Górny
2020-06-23  6:03 Michał Górny
2020-06-10  8:11 Michał Górny
2020-06-10  7:32 Michał Górny
2020-06-10  7:31 Michał Górny
2020-06-09 12:42 Michał Górny
2020-05-03  2:51 Mike Gilbert
2020-03-17  8:08 Michał Górny
2019-12-23  8:13 Benda XU
2019-12-04 17:15 Michał Górny
2019-12-04 17:15 Michał Górny
2018-05-16 15:58 Andreas Sturmlechner
2018-05-16 12:28 Agostino Sarubbo
2018-04-22  1:35 Thomas Deutschmann
2017-12-12 21:49 Patrice Clement
2017-12-12 20:55 Patrice Clement
2017-09-13 12:07 Michael Palimaka
2017-09-13 12:07 Michael Palimaka
2017-07-10 13:15 Alexis Ballier
2017-04-18 19:25 Kacper Kowalik
2017-04-16 19:05 David Seifert
2016-11-12 13:18 Patrice Clement
2016-11-03 17:37 David Seifert
2016-04-02  8:24 David Seifert
2016-02-23  9:22 Justin Lecher
2015-11-28 17:33 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1557040534.98a35ce7c2b7ac8f2eafad0702f68317cd3babc9.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox