void-packages/srcpkgs/python-jupyter_console/template

36 lines
1.1 KiB
Bash
Raw Normal View History

# Template file for 'python-jupyter_console'
pkgname=python-jupyter_console
version=4.1.1
revision=1
noarch=yes
wrksrc="jupyter_console-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-ipython>=4.0.0 python-ipython_ipykernel python-jupyter_client"
pycompile_module="jupyter_console"
short_desc="Jupyter terminal console (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/jupyter/jupyter_console"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
checksum=d754cfd18d258fa9e7dde39a36e589c4a7241075b5d0f420691fa3d50e4c4ae3
post_install() {
vbin build-3.4/scripts-3.4/jupyter-console jupyter-console3.4
vlicense COPYING.md LICENSE
}
python3.4-jupyter_console_package() {
noarch=yes
depends="python3.4-ipython>=4.0.0 python3.4-ipython_ipykernel python3.4-jupyter_client"
pycompile_version="3.4"
pycompile_module="jupyter_console"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/bin/jupyter-console3.4
vmove usr/lib/python3.4
vlicense COPYING.md LICENSE
}
}