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, 18 Aug 2020 08:17:28
Message-Id: 1597738097.83d16891fda9709a728f40a3069a13c3de47383a.mgorny@gentoo
1 commit: 83d16891fda9709a728f40a3069a13c3de47383a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 18 08:08:17 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 18 08:08:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83d16891
7
8 dev-python/qtconsole: Bump to 4.7.6
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/qtconsole/Manifest | 1 +
13 dev-python/qtconsole/qtconsole-4.7.6.ebuild | 46 +++++++++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest
17 index 0d241da2e2e..07835d04d33 100644
18 --- a/dev-python/qtconsole/Manifest
19 +++ b/dev-python/qtconsole/Manifest
20 @@ -1,3 +1,4 @@
21 DIST qtconsole-4.3.1.tar.gz 416931 BLAKE2B ec47c2ae8527d7aee55d6cb8d2ebea39ab1bfd3a268c46306613b67f72c27904db1de52682a47d075d804dad9cd7c124296163b39532936fb1a497ae606b7ffc SHA512 f0f84d95143b4513c3d12af4712c6a5724143bf8c44e7a3fbc06d7a94e665b8d12072dd13eafb09476a3aa829155f4c75eb517ffb2bd6e8bd3c00af3c764e48f
22 DIST qtconsole-4.7.4.tar.gz 424884 BLAKE2B 79380a1619498a28eaf7e741a3408a63b58705fe7c0672108b57c5cd9bb7c35d77569ce59a3cdb8dc21b3e403cc41845a534c55838ecf2e82038677132e90fbb SHA512 4564c0ee15b1feaff235ae35a22bfb719497e5f74416ea0ab471018c4d68e13dd05cc4d0180b69151f81817180d4985589340698067b5a2166764a39147255fa
23 DIST qtconsole-4.7.5.tar.gz 424850 BLAKE2B e2d2ba50ce57b13504bdf8ad1ee3374b76abc980f0b74dfe1177c3f066ba24382bc51f8d3db2614a8d74b198ed20f01fac67c288602ae6e31fe90165e63ab9e9 SHA512 ee57ad2de5b840ee4e7f439be08a3c82fd39ef1bf6113b7eda95fa1aabd132c799ff584a2ac7f7e2c89df4bcd9a9409bbaeee108a6bb49e6197d2e3395336ad7
24 +DIST qtconsole-4.7.6.tar.gz 424919 BLAKE2B d973b3b94dfad1b38603695e22927bcdcb8a4f2db9f4a638d5fe6a83c24061153dbaa36c26e632708953af32a015af1d40ecbf175dd5314a3b954b15a6625cc0 SHA512 e4e12eb90533e922786b5b6517fba5d9c4dfedf00547f1403c8cd65fb464f5c1a13517df69924e4428e9a8a811dfc359a7768fbaa90adbe02d79cba9a5aa852e
25
26 diff --git a/dev-python/qtconsole/qtconsole-4.7.6.ebuild b/dev-python/qtconsole/qtconsole-4.7.6.ebuild
27 new file mode 100644
28 index 00000000000..b8f4e1d3bd9
29 --- /dev/null
30 +++ b/dev-python/qtconsole/qtconsole-4.7.6.ebuild
31 @@ -0,0 +1,46 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{6..9} )
38 +PYTHON_REQ_USE="threads(+)"
39 +DISTUTILS_USE_SETUPTOOLS=rdepend
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Qt-based console for Jupyter with support for rich media output"
44 +HOMEPAGE="https://jupyter.org"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="BSD"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm64 ~x86"
50 +
51 +RDEPEND="
52 + dev-python/ipykernel[${PYTHON_USEDEP}]
53 + dev-python/ipython_genutils[${PYTHON_USEDEP}]
54 + dev-python/jupyter_core[${PYTHON_USEDEP}]
55 + >=dev-python/jupyter_client-4.1.1[${PYTHON_USEDEP}]
56 + dev-python/pygments[${PYTHON_USEDEP}]
57 + dev-python/traitlets[${PYTHON_USEDEP}]
58 + dev-python/QtPy[${PYTHON_USEDEP},gui,printsupport,svg]
59 +"
60 +BDEPEND="
61 + test? (
62 + dev-python/QtPy[${PYTHON_USEDEP},svg,testlib]
63 + )
64 +"
65 +# required by removed tests:
66 +# dev-python/pytest-qt[${PYTHON_USEDEP}]
67 +PDEPEND="dev-python/ipython[${PYTHON_USEDEP}]"
68 +
69 +distutils_enable_sphinx docs/source
70 +distutils_enable_tests pytest
71 +
72 +src_prepare() {
73 + # TODO: these tests require virtx; however, running under virtx
74 + # causes pytest to segv on exit (even though tests pass)
75 + rm qtconsole/tests/test_00_console_widget.py || die
76 + distutils-r1_src_prepare
77 +}