36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
# Template file for 'python-jupyter_console'
|
|
pkgname=python-jupyter_console
|
|
version=4.1.1
|
|
revision=2
|
|
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
|
|
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console2.7"
|
|
|
|
post_install() {
|
|
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}"
|
|
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console3.4"
|
|
pkg_install() {
|
|
vmove usr/bin/jupyter-console3.4
|
|
vmove usr/lib/python3.4
|
|
vlicense COPYING.md LICENSE
|
|
}
|
|
}
|