New package: python-jupyter_console-4.0.3

This commit is contained in:
Alessio Sergi 2015-12-02 14:12:13 +01:00
parent b859722a7b
commit a3e2037e8d
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# Template file for 'python-jupyter_console'
pkgname=python-jupyter_console
version=4.0.3
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=555be6963a8f6431fbe1d424c7ffefee90824758058e4c9a2ab3aa045948eb85
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
}
}

View File

@ -0,0 +1 @@
python-jupyter_console