diff --git a/srcpkgs/python-jupyter_qtconsole/template b/srcpkgs/python-jupyter_qtconsole/template deleted file mode 100644 index ea7f89a62af..00000000000 --- a/srcpkgs/python-jupyter_qtconsole/template +++ /dev/null @@ -1,38 +0,0 @@ -# Template file for 'python-jupyter_qtconsole' -pkgname=python-jupyter_qtconsole -version=4.4.3 -revision=2 -archs=noarch -wrksrc="qtconsole-${version}" -build_style=python-module -pycompile_module="qtconsole" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-traitlets python-jupyter_core python-jupyter_client - python-Pygments python-ipython_ipykernel python-ipython_genutils - python-PyQt5-svg" -short_desc="Jupyter Qt console (Python2)" -maintainer="Alessio Sergi " -license="BSD-3-Clause" -homepage="https://github.com/jupyter/qtconsole" -distfiles="${PYPI_SITE}/q/qtconsole/qtconsole-${version}.tar.gz" -checksum=bc1ba15f50c29ed50f1268ad823bb6543be263c18dd093b80495e9df63b003ac -alternatives="jupyter-qtconsole:jupyter-qtconsole:/usr/bin/jupyter-qtconsole2" - -post_install() { - vlicense LICENSE -} - -python3-jupyter_qtconsole_package() { - archs=noarch - depends="python3-traitlets python3-jupyter_core python3-jupyter_client - python3-Pygments python3-ipython_ipykernel python3-ipython_genutils - python3-PyQt5-svg" - pycompile_module="qtconsole" - short_desc="${short_desc/Python2/Python3}" - alternatives="jupyter-qtconsole:jupyter-qtconsole:/usr/bin/jupyter-qtconsole3" - pkg_install() { - vmove usr/bin/jupyter-qtconsole3 - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-jupyter_qtconsole b/srcpkgs/python3-jupyter_qtconsole deleted file mode 120000 index 964d4d35037..00000000000 --- a/srcpkgs/python3-jupyter_qtconsole +++ /dev/null @@ -1 +0,0 @@ -python-jupyter_qtconsole \ No newline at end of file diff --git a/srcpkgs/python3-jupyter_qtconsole/template b/srcpkgs/python3-jupyter_qtconsole/template new file mode 100644 index 00000000000..44e8639e502 --- /dev/null +++ b/srcpkgs/python3-jupyter_qtconsole/template @@ -0,0 +1,27 @@ +# Template file for 'python3-jupyter_qtconsole' +pkgname=python3-jupyter_qtconsole +version=4.4.3 +revision=3 +archs=noarch +wrksrc="qtconsole-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-traitlets python3-jupyter_core python3-jupyter_client + python3-Pygments python3-ipython_ipykernel python3-ipython_genutils + python3-PyQt5-svg" +checkdepends="$depends python3-pytest" +short_desc="Jupyter Qt console" +maintainer="Alessio Sergi " +license="BSD-3-Clause" +homepage="https://github.com/jupyter/qtconsole" +distfiles="${PYPI_SITE}/q/qtconsole/qtconsole-${version}.tar.gz" +checksum=bc1ba15f50c29ed50f1268ad823bb6543be263c18dd093b80495e9df63b003ac +conflicts="python-jupyter_qtconsole<=4.4.3_2" + +do_check() { + QT_QPA_PLATFORM=offscreen pytest +} + +post_install() { + vlicense LICENSE +}