From 0e52cbae2c719c3ef794ebeb0f4374fb96efcff3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 6 May 2023 11:33:44 +0100 Subject: gentoo auto-resync : 06:05:2023 - 11:33:44 --- dev-python/qtconsole/Manifest | 2 + dev-python/qtconsole/qtconsole-5.4.3.ebuild | 59 +++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 dev-python/qtconsole/qtconsole-5.4.3.ebuild (limited to 'dev-python/qtconsole') diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest index 63228466a2c6..c4dcc5256204 100644 --- a/dev-python/qtconsole/Manifest +++ b/dev-python/qtconsole/Manifest @@ -1,3 +1,5 @@ DIST qtconsole-5.4.2.tar.gz 437031 BLAKE2B 8db9c6cebf39cda995f88796d4b8da37731212fd5464728cee32ecd537a90e07b80585d30870ef236d66a293977382372f8629739e334f641526518b3ab15a0e SHA512 9796cc917e010878acef135f54e150217646526c3d6cc2754d670990cddee14334e32e7f5fb88d0a44d6dc0099eecf3300f10a188d36ced57c6b25c982249c3f +DIST qtconsole-5.4.3.tar.gz 437303 BLAKE2B ead6676dabf342a74c30ecba1f280e697c7e58fb970813a572bcacf4adbc71e525df4323b50c30100433373e89eeea464dc382844066416e121a0f1c140487db SHA512 9c2061441775daa3045c1788ed57048de9197938a927647197d29a0b7cada836d5fe4e3329b5126c984064070a275cccbe0341622c3b8591f63842a619b859e8 EBUILD qtconsole-5.4.2.ebuild 1593 BLAKE2B c432d4dd9ba6aaff230dd18c5cd6c5c85bd0ee2dab63fccb9c6d2e656961de3921f7997e22296b7eff6498fee278c3420b4e36124d39e056fe95e7e214e5d17f SHA512 b6fdf75bda7fa6e46b8ee92596d79dac857938a5eaa08507e2f8818e258c1071b11dceb32ac9813fde31b3ce4bdd76f220dd2aadd2411473435ea4c245bb9e02 +EBUILD qtconsole-5.4.3.ebuild 1596 BLAKE2B 69186ee4fbef1311b2b96c595066b844ad44da6939bd19004f091ec06b1029a9c111aa3dd7fc653d20c04802a50dd005bf3dae11ec71e8e5dbff4b6c83a3a641 SHA512 fcb8b0689ff6186cd9e3a5620687b5e63866aa583098a04908ab1f278e71878035f2273301c892517d615217b6633fdc77c1a8c7a2778d11af4fc90ba730d746 MISC metadata.xml 690 BLAKE2B f2ddc6515f66ac4549e99bd6f152c16431875508bf12b6319e0e6a2b1596d86abc50b87ee424d3876eb55e92d1a506ade6567cbad535b4b2b54fad924a1891a7 SHA512 28bb7360ac7775d9c72c4d0f34d4c9a35c63905c4e870722236cc6c66e98f6c0eb165c8d7a9ce28948b25808a053dd1bb667d1f4783ca95319bb216310dc9f60 diff --git a/dev-python/qtconsole/qtconsole-5.4.3.ebuild b/dev-python/qtconsole/qtconsole-5.4.3.ebuild new file mode 100644 index 000000000000..9496ecd342ea --- /dev/null +++ b/dev-python/qtconsole/qtconsole-5.4.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +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/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~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/packaging[${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 +} -- cgit v1.2.3