void-packages/srcpkgs/python3-jupyter_console/template

25 lines
899 B
Bash

# Template file for 'python3-jupyter_console'
pkgname=python3-jupyter_console
version=6.0.0
revision=1
archs=noarch
wrksrc="jupyter_console-${version}"
build_style=python3-module
pycompile_module="jupyter_console"
hostmakedepends="python3-setuptools"
depends="python3-ipython python3-ipython_ipykernel python3-jupyter_client
python3-prompt_toolkit2 python3-Pygments"
short_desc="Jupyter terminal console (Python3)"
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=308ce876354924fb6c540b41d5d6d08acfc946984bf0c97777c1ddcb42e0b2f5
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console3"
post_install() {
# create versioned script for alternatives
mv ${DESTDIR}/usr/bin/jupyter-console{,3}
vlicense COPYING.md LICENSE
}