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: Mon, 03 May 2021 09:16:45
Message-Id: 1620033393.738d8af1ec010a59dff6800a5801f6e7395548e4.mgorny@gentoo
1 commit: 738d8af1ec010a59dff6800a5801f6e7395548e4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 3 08:05:52 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 3 09:16:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=738d8af1
7
8 dev-python/qtconsole: Bump to 5.1.0
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.1.0.ebuild | 47 +++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest
17 index d605e4963b9..98e26765731 100644
18 --- a/dev-python/qtconsole/Manifest
19 +++ b/dev-python/qtconsole/Manifest
20 @@ -1 +1,2 @@
21 DIST qtconsole-5.0.3.tar.gz 428599 BLAKE2B 3110d597fe8692d46ac64c8f058f96356be62b95e74ebba8476eae148a9aa51193da0fe67fecf8a2de90d280121367802866bf17f68c7ad5b52ce3f84914af82 SHA512 efe88c66a508eac4ed14efb698b99d80b1a292e4b90fb04f76be829e95cf12b36e3afd968a6c7203bdd077a8bedbf7207c3a717809aaa3a514dfd99f7d4d5dcb
22 +DIST qtconsole-5.1.0.tar.gz 428856 BLAKE2B 4176c8add4fb949a82ce33fe9df598d2141c42dfa9ce57ae09ea201398df6ea54e00b890ad2b548b51e95f4dc0c7b2793640ced9b39b7adea910e3d2b90ec900 SHA512 50d2f1466d1fd5ebd33da1778f8271c5a328a61551f665e488c5c45326fabb4b431090d89b39c130a064b3c117cd24dc92e160c68c1eecf6647f2b662b01b2db
23
24 diff --git a/dev-python/qtconsole/qtconsole-5.1.0.ebuild b/dev-python/qtconsole/qtconsole-5.1.0.ebuild
25 new file mode 100644
26 index 00000000000..9fea2d480c0
27 --- /dev/null
28 +++ b/dev-python/qtconsole/qtconsole-5.1.0.ebuild
29 @@ -0,0 +1,47 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{7..9} )
36 +PYTHON_REQ_USE="threads(+)"
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Qt-based console for Jupyter with support for rich media output"
41 +HOMEPAGE="https://jupyter.org"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="BSD"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm64 ~x86"
47 +
48 +RDEPEND="
49 + dev-python/ipykernel[${PYTHON_USEDEP}]
50 + dev-python/ipython_genutils[${PYTHON_USEDEP}]
51 + dev-python/jupyter_core[${PYTHON_USEDEP}]
52 + >=dev-python/jupyter_client-4.1.1[${PYTHON_USEDEP}]
53 + dev-python/pygments[${PYTHON_USEDEP}]
54 + dev-python/traitlets[${PYTHON_USEDEP}]
55 + dev-python/QtPy[${PYTHON_USEDEP},gui,printsupport,svg]
56 +"
57 +BDEPEND="
58 + test? (
59 + dev-python/QtPy[${PYTHON_USEDEP},svg,testlib]
60 + )
61 +"
62 +# required by the tests that are removed:
63 +# dev-python/flaky[${PYTHON_USEDEP}]
64 +# dev-python/pytest-qt[${PYTHON_USEDEP}]
65 +
66 +PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
67 +
68 +distutils_enable_sphinx docs/source
69 +distutils_enable_tests pytest
70 +
71 +src_prepare() {
72 + # TODO: these tests require virtx; however, running under virtx
73 + # causes pytest to segv on exit (even though tests pass)
74 + rm qtconsole/tests/test_00_console_widget.py || die
75 + distutils-r1_src_prepare
76 +}