Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qtconsole/
Date: Tue, 30 Aug 2022 05:45:50
Message-Id: 1661838341.768db639168126ada8e791262cec18e35a6d66ae.mgorny@gentoo
1 commit: 768db639168126ada8e791262cec18e35a6d66ae
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 30 05:37:29 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 30 05:45:41 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=768db639
7
8 dev-python/qtconsole: Bump to 5.3.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/qtconsole/Manifest | 1 +
13 dev-python/qtconsole/qtconsole-5.3.2.ebuild | 59 +++++++++++++++++++++++++++++
14 2 files changed, 60 insertions(+)
15
16 diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest
17 index 8068dabd40ce..549a0cd39cae 100644
18 --- a/dev-python/qtconsole/Manifest
19 +++ b/dev-python/qtconsole/Manifest
20 @@ -1 +1,2 @@
21 DIST qtconsole-5.3.1.tar.gz 430680 BLAKE2B 4655d9aa78a95200fb3f4d2016749d4f1c75865d259da8583818259d05301469b9851b85a2716336084f022f546e97ae003483284f0305793da80a5de7635ac2 SHA512 bebf9c97ebe2a030feebd34f9dbc83294af5eb64946b252c5b5e6391e2760ff95efa7f0be89ec59c424de5fefb3f876ead897d17b679fc87896fe440ba936554
22 +DIST qtconsole-5.3.2.tar.gz 430792 BLAKE2B 246dadaab92851f8da65dfa4c7e80390defeb0855fdb3ea5ef6aab96bf56b28597dc65d7cb4fc95f0f795a19f4b826d0ec1e1e0b025f4fa49d4d5a78473a2b29 SHA512 715e7e4b185a656f395a30c575e8996271cea4672871d9471c74a13364be1ef0fe0e63951e8f52f10b9c887592dc899c399ae82e09f9934492d13119b1154796
23
24 diff --git a/dev-python/qtconsole/qtconsole-5.3.2.ebuild b/dev-python/qtconsole/qtconsole-5.3.2.ebuild
25 new file mode 100644
26 index 000000000000..e065753cbc2d
27 --- /dev/null
28 +++ b/dev-python/qtconsole/qtconsole-5.3.2.ebuild
29 @@ -0,0 +1,59 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +PYTHON_REQ_USE="threads(+)"
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Qt-based console for Jupyter with support for rich media output"
42 +HOMEPAGE="
43 + https://jupyter.org/
44 + https://github.com/jupyter/qtconsole/
45 + https://pypi.org/project/qtconsole/
46 +"
47 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="BSD"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
52 +
53 +RDEPEND="
54 + >=dev-python/ipykernel-4.1[${PYTHON_USEDEP}]
55 + dev-python/ipython_genutils[${PYTHON_USEDEP}]
56 + dev-python/jupyter_core[${PYTHON_USEDEP}]
57 + >=dev-python/jupyter_client-4.1.1[${PYTHON_USEDEP}]
58 + dev-python/pygments[${PYTHON_USEDEP}]
59 + >=dev-python/pyzmq-17.1[${PYTHON_USEDEP}]
60 + >=dev-python/traitlets-5.2.2_p1[${PYTHON_USEDEP}]
61 + >=dev-python/QtPy-2.0.1[${PYTHON_USEDEP},gui,printsupport,svg]
62 +"
63 +# The test suite tests both against pyqt5 *and* pyside2
64 +BDEPEND="
65 + test? (
66 + dev-python/QtPy[pyqt5,pyside2,${PYTHON_USEDEP},svg,testlib]
67 + )
68 +"
69 +# required by the tests that are removed:
70 +# dev-python/flaky[${PYTHON_USEDEP}]
71 +# dev-python/pytest-qt[${PYTHON_USEDEP}]
72 +
73 +PDEPEND="
74 + dev-python/ipython[${PYTHON_USEDEP}]
75 +"
76 +
77 +distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
78 +distutils_enable_tests pytest
79 +
80 +python_test() {
81 + # TODO: these tests require virtx; however, running under virtx
82 + # causes pytest to segv on exit (even though tests pass)
83 + EPYTEST_IGNORE=(
84 + qtconsole/tests/test_00_console_widget.py
85 + qtconsole/tests/test_jupyter_widget.py
86 + )
87 + epytest
88 +}