void-packages/srcpkgs/python3-nbclassic/template

26 lines
866 B
Bash

# Template file for 'python3-nbclassic'
pkgname=python3-nbclassic
version=0.4.8
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-jupyter_notebook python3-jupyter_server"
checkdepends="${depends} python3-pytest python3-pytest-fixture-config python3-pytest-subtests"
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"
checksum=c74d8a500f8e058d46b576a41e5bc640711e1032cf7541dde5f73ea49497e283
# missing fixtures: jp_create_notebook jp_fetch
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"
}