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.3
|
|
revision=1
|
|
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 <al3hex@gmail.com>"
|
|
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
|
|
}
|
|
}
|