39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
# Template file for 'python-jupyter_qtconsole'
|
|
pkgname=python-jupyter_qtconsole
|
|
version=4.4.1
|
|
revision=1
|
|
noarch=yes
|
|
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 <al3hex@gmail.com>"
|
|
homepage="https://github.com/jupyter/qtconsole"
|
|
license="BSD-3-Clause"
|
|
distfiles="${PYPI_SITE}/q/qtconsole/qtconsole-${version}.tar.gz"
|
|
checksum=7870b19e6a6b0ab3acc09ee65463c0ca7568b3a01a6902d7c4e1ed2c4fc4e176
|
|
alternatives="jupyter-qtconsole:jupyter-qtconsole:/usr/bin/jupyter-qtconsole2"
|
|
|
|
post_install() {
|
|
vlicense 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 LICENSE
|
|
}
|
|
}
|