void-packages/srcpkgs/python3-nbclassic/template

26 lines
779 B
Bash
Raw Normal View History

2021-05-22 20:20:05 +02:00
# Template file for 'python3-nbclassic'
pkgname=python3-nbclassic
2021-06-19 16:09:01 +02:00
version=0.3.1
2021-05-22 20:20:05 +02:00
revision=1
wrksrc=nbclassic-${version}
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-jupyter_notebook python3-jupyter_server"
short_desc="Jupyter Notebook as a Jupyter Server Extension"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="BSD-3-Clause"
homepage="https://jupyter.org"
distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
2021-06-19 16:09:01 +02:00
checksum=f920f8d09849bea7950e1017ff3bd101763a8d68f565a51ce053572e65aa7947
2021-05-22 20:20:05 +02:00
# Tarball includes no tests
make_check=no
conf_files="/etc/jupyter/jupyter_server_config.d/*.json"
post_install() {
vlicense LICENSE
# jupyter honors /etc/juypter; move config files there
mv "${DESTDIR}/usr/etc" "${DESTDIR}/etc"
}