void-packages/srcpkgs/python-jupyter_qtconsole/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

39 lines
1.3 KiB
Bash

# Template file for 'python-jupyter_qtconsole'
pkgname=python-jupyter_qtconsole
version=4.3.1
revision=2
noarch=yes
wrksrc="qtconsole-${version}"
build_style=python-module
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"
pycompile_module="qtconsole"
short_desc="Jupyter Qt console (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/jupyter/qtconsole"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/q/qtconsole/qtconsole-${version}.tar.gz"
checksum=eff8c2faeda567a0bef5781f419a64e9977988db101652b312b9d74ec0a5109c
alternatives="jupyter-qtconsole:jupyter-qtconsole:/usr/bin/jupyter-qtconsole2"
post_install() {
vlicense COPYING.md LICENSE
}
python3-jupyter_qtconsole_package() {
noarch=yes
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 COPYING.md LICENSE
}
}