25 lines
779 B
Bash
25 lines
779 B
Bash
# Template file for 'python3-nbclassic'
|
|
pkgname=python3-nbclassic
|
|
version=0.3.5
|
|
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"
|
|
checksum=99444dd63103af23c788d9b5172992f12caf8c3098dd5a35c787f0df31490c29
|
|
# 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"
|
|
}
|