diff --git a/srcpkgs/python3-nbclassic/template b/srcpkgs/python3-nbclassic/template new file mode 100644 index 00000000000..7229b52cdd4 --- /dev/null +++ b/srcpkgs/python3-nbclassic/template @@ -0,0 +1,25 @@ +# Template file for 'python3-nbclassic' +pkgname=python3-nbclassic +version=0.2.8 +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 " +license="BSD-3-Clause" +homepage="https://jupyter.org" +distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz" +checksum=9553dcd9ae4d932db640dad0daa186fe6c64e69ec2159868c0b38d7adef9b3b5 +# 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" +}