diff options
Diffstat (limited to 'dev-python/qtconsole')
-rw-r--r-- | dev-python/qtconsole/Manifest | 2 | ||||
-rw-r--r-- | dev-python/qtconsole/qtconsole-5.5.1.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/qtconsole/Manifest b/dev-python/qtconsole/Manifest index 7ad40e588f75..3a8dea36ad46 100644 --- a/dev-python/qtconsole/Manifest +++ b/dev-python/qtconsole/Manifest @@ -1,8 +1,10 @@ DIST qtconsole-5.4.3.tar.gz 437303 BLAKE2B ead6676dabf342a74c30ecba1f280e697c7e58fb970813a572bcacf4adbc71e525df4323b50c30100433373e89eeea464dc382844066416e121a0f1c140487db SHA512 9c2061441775daa3045c1788ed57048de9197938a927647197d29a0b7cada836d5fe4e3329b5126c984064070a275cccbe0341622c3b8591f63842a619b859e8 DIST qtconsole-5.4.4.tar.gz 437213 BLAKE2B 2def481c7ceb29c8ce92dfb96055310a8ee3a664a77c76da0eac672c6fd036326402a47cdaab25d504a855172067ae73e7f94b874545951674395d82f18374b5 SHA512 95d00a7896579eeba75896dd96efe9f07a54a687eca4ec2c4d9c7cf05029570788cd23267682ee4bce9943cf4d6cb36d7bd1d77be66f6bfd0f37e7d15e0d8f0f DIST qtconsole-5.5.0.tar.gz 438967 BLAKE2B f9833f18ecb0ddadd55793d3dc38b9f421add4ac22cd98849f8770b5762df01c9e4e0e6f5c42baf8e3715e87aa0b6ca5a207f5d2d954b1f6b2a5f9e2664f7669 SHA512 8e128ae3988b29398eb4b0cde4f18668c6ad22718c6f8d1c0feec09eb632f5b3c2bdf004932b8e2931eb4553f70c4a6d73104dcb611b09a41a744f0f8036a7eb +DIST qtconsole-5.5.1.tar.gz 438961 BLAKE2B 6b65ce4bbba888ca96e5fae7b0067308a0fe188d35ceb309c454eacae784188bffa01ebb5344400c74f46cbffc6518db10ef135e699174187d221e7a76ee9628 SHA512 b9ca316fe7cc305cff33a0e924cb78d5c3bad7d11cbd553a7944a01e726cd59e283f7df4e82fce4da80d52b00b7366d538c567486ba3db4ad08d5b5f48a1e4f1 EBUILD qtconsole-5.4.3-r1.ebuild 1715 BLAKE2B 8ed2fd542d50e9ecdb7a039b1da4fafb0fbfb2b54bf9b14da133ef160c726685068c4e80cee27d6869fc174045c418ab6eee4f737bacd87606d94a86a7849bd8 SHA512 e559590ba514ec35b57dc2b1f78efe1cc8ae6efb758ac9c64cd43ae65285184b2cfbbd6e35b6675e3f540b85a6e0f718ce5ac72b0fe1fbbb3670c4665ecad081 EBUILD qtconsole-5.4.3.ebuild 1729 BLAKE2B f5e78bb0ae94f4b3bea511be44370afbf5f61b5c654a7d28b964388d0c67c60d18d17ad51ead87b943e5bd1df0960029fbc30cdb157d172edbfa21ed21a0173c SHA512 0a5cff7c0101e9c418296d62326eaae393eb1b3b92625d9e0eaf489fb82262944ebd17cc779190cd33285c8ed37078c8141fd38a26c3bb0ff403344f0289c914 EBUILD qtconsole-5.4.4.ebuild 1722 BLAKE2B a88233fb6f495ac5bbbb29d89a3b39b3c774113a863edf1ffb6222030aa06954e9f66d19629ee448a942dc2e0d72b0664bde5b04da3d08b3eacadf0eea503411 SHA512 bac34cb771551ab859735d242bc83db73fae035fcf887c1e6bc2fe7be64239729f2184a7b6424e453410148d3b96c69af18c1a436c1cdef6f08ec888855ff4fe EBUILD qtconsole-5.5.0.ebuild 1675 BLAKE2B 5007a2b43e9f29d784e6e53f9487ba411fdee5fb1fa9876d76b4900d53d442b23f147d9efc09a2357c8a3f737a73d4935e8c2b9c27fb473180596ab912b1f337 SHA512 2544a8d7bad4b4b64dee9115b1cf71196f2a5b3c1ae0404ee367a23e3813fe00f745e3781370802249772b1fca0c9df117974c5208fcfbbb2224d8900253431b +EBUILD qtconsole-5.5.1.ebuild 1675 BLAKE2B 5007a2b43e9f29d784e6e53f9487ba411fdee5fb1fa9876d76b4900d53d442b23f147d9efc09a2357c8a3f737a73d4935e8c2b9c27fb473180596ab912b1f337 SHA512 2544a8d7bad4b4b64dee9115b1cf71196f2a5b3c1ae0404ee367a23e3813fe00f745e3781370802249772b1fca0c9df117974c5208fcfbbb2224d8900253431b MISC metadata.xml 690 BLAKE2B f2ddc6515f66ac4549e99bd6f152c16431875508bf12b6319e0e6a2b1596d86abc50b87ee424d3876eb55e92d1a506ade6567cbad535b4b2b54fad924a1891a7 SHA512 28bb7360ac7775d9c72c4d0f34d4c9a35c63905c4e870722236cc6c66e98f6c0eb165c8d7a9ce28948b25808a053dd1bb667d1f4783ca95319bb216310dc9f60 diff --git a/dev-python/qtconsole/qtconsole-5.5.1.ebuild b/dev-python/qtconsole/qtconsole-5.5.1.ebuild new file mode 100644 index 000000000000..5ceced5c22c0 --- /dev/null +++ b/dev-python/qtconsole/qtconsole-5.5.1.ebuild @@ -0,0 +1,66 @@ +# 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_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi virtualx + +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 ~arm64 ~loong ~x86" + +RDEPEND=" + >=dev-python/ipykernel-4.1[${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.4.0[${PYTHON_USEDEP},gui,printsupport,svg] +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] + dev-python/QtPy[${PYTHON_USEDEP},svg,testlib] + ) +" + +PDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO; expects exact HTML, so perhaps fragile + qtconsole/tests/test_jupyter_widget.py::TestJupyterWidget::test_other_output + ) + local -x QT_API + for QT_API in pyqt5 pyqt6 pyside2 pyside6; do + if has_version "dev-python/QtPy[${QT_API}]"; then + local -x PYTEST_QT_API=${QT_API} + einfo "Testing with ${QT_API}" + nonfatal epytest || + die "Tests failed with ${EPYTHON} / ${QT_API}" + fi + done +} |