commit:     b1e9e122fe331f6214204b5b35a91a4534ef87a3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  2 06:31:48 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov  2 07:37:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1e9e122

dev-python/qtconsole: Bump to 5.4.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/qtconsole/Manifest               |  1 +
 dev-python/qtconsole/qtconsole-5.4.0.ebuild | 59 +++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest
index 4310cccf83d0..ecd47d50d20c 100644
--- a/dev-python/qtconsole/Manifest
+++ b/dev-python/qtconsole/Manifest
@@ -1 +1,2 @@
 DIST qtconsole-5.3.2.tar.gz 430792 BLAKE2B 
246dadaab92851f8da65dfa4c7e80390defeb0855fdb3ea5ef6aab96bf56b28597dc65d7cb4fc95f0f795a19f4b826d0ec1e1e0b025f4fa49d4d5a78473a2b29
 SHA512 
715e7e4b185a656f395a30c575e8996271cea4672871d9471c74a13364be1ef0fe0e63951e8f52f10b9c887592dc899c399ae82e09f9934492d13119b1154796
+DIST qtconsole-5.4.0.tar.gz 431119 BLAKE2B 
48348b400a9b594bd028d3905719f2d67f6c9281df99863f3d0d87cf83162c91ede3e65529a8efd3bff62ad3ea343cc4ee7ea028913cd5bf7e48d0c493930445
 SHA512 
c25a381d8494c64d63e379c1dd5a44c1945e773b87b9a27f8494905e7eca24c6381ec5b9792d9a57ac41b14137ce238795a5ff8d83d1b6ddaa62603e7d9ab165

diff --git a/dev-python/qtconsole/qtconsole-5.4.0.ebuild 
b/dev-python/qtconsole/qtconsole-5.4.0.ebuild
new file mode 100644
index 000000000000..2a5b0bb408d9
--- /dev/null
+++ b/dev-python/qtconsole/qtconsole-5.4.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Qt-based console for Jupyter with support for rich media output"
+HOMEPAGE="
+       https://jupyter.org/
+       https://github.com/jupyter/qtconsole/
+       https://pypi.org/project/qtconsole/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="
+       >=dev-python/ipykernel-4.1[${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/pygments[${PYTHON_USEDEP}]
+       >=dev-python/pyzmq-17.1[${PYTHON_USEDEP}]
+       >=dev-python/traitlets-5.2.2_p1[${PYTHON_USEDEP}]
+       >=dev-python/QtPy-2.0.1[${PYTHON_USEDEP},gui,printsupport,svg]
+"
+# The test suite tests both against pyqt5 *and* pyside2
+BDEPEND="
+       test? (
+               dev-python/QtPy[pyqt5,pyside2,${PYTHON_USEDEP},svg,testlib]
+       )
+"
+# required by the tests that are removed:
+#              dev-python/flaky[${PYTHON_USEDEP}]
+#              dev-python/pytest-qt[${PYTHON_USEDEP}]
+
+PDEPEND="
+       dev-python/ipython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
+distutils_enable_tests pytest
+
+python_test() {
+       # TODO: these tests require virtx; however, running under virtx
+       # causes pytest to segv on exit (even though tests pass)
+       EPYTEST_IGNORE=(
+               qtconsole/tests/test_00_console_widget.py
+               qtconsole/tests/test_jupyter_widget.py
+       )
+       epytest
+}

Reply via email to