void-packages/srcpkgs/python-jupyter_console/template

25 lines
891 B
Bash

# Template file for 'python-jupyter_console'
pkgname=python-jupyter_console
version=5.2.0
revision=4
archs=noarch
wrksrc="jupyter_console-${version}"
build_style=python2-module
pycompile_module="jupyter_console"
hostmakedepends="python-setuptools"
depends="python-ipython python-ipython_ipykernel python-jupyter_client
python-prompt_toolkit1 python-Pygments"
short_desc="Jupyter terminal console (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/jupyter/jupyter_console"
distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
checksum=545dedd3aaaa355148093c5609f0229aeb121b4852995c2accfa64fe3e0e55cd
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console2"
post_install() {
# create versioned script for alternatives
mv ${DESTDIR}/usr/bin/jupyter-console{,2}
vlicense COPYING.md LICENSE
}