40 lines
1.3 KiB
Bash
40 lines
1.3 KiB
Bash
|
# Template file for 'python-jupyter_qtconsole'
|
||
|
pkgname=python-jupyter_qtconsole
|
||
|
version=4.1.1
|
||
|
revision=1
|
||
|
noarch=yes
|
||
|
replaces="python-ipython-qtconsole>=0"
|
||
|
wrksrc="qtconsole-${version}"
|
||
|
build_style=python-module
|
||
|
python_versions="2.7 3.4"
|
||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||
|
depends="python-traitlets python-jupyter_core python-jupyter_client
|
||
|
python-Pygments python-ipython_ipykernel 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=741906acae9e02c0df9138ac88b621ef22e438565aa96d783a9ef88faec3de46
|
||
|
|
||
|
post_install() {
|
||
|
vbin build-3.4/scripts-3.4/jupyter-qtconsole jupyter-qtconsole3.4
|
||
|
vlicense COPYING.md LICENSE
|
||
|
}
|
||
|
|
||
|
python3.4-jupyter_qtconsole_package() {
|
||
|
noarch=yes
|
||
|
replaces="python3.4-ipython-qtconsole>=0"
|
||
|
depends="python3.4-traitlets python3.4-jupyter_core python3.4-jupyter_client
|
||
|
python3.4-Pygments python3.4-ipython_ipykernel python3.4-PyQt5-svg"
|
||
|
pycompile_version="3.4"
|
||
|
pycompile_module="qtconsole"
|
||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||
|
pkg_install() {
|
||
|
vmove usr/bin/jupyter-qtconsole3.4
|
||
|
vmove usr/lib/python3.4
|
||
|
vlicense COPYING.md LICENSE
|
||
|
}
|
||
|
}
|