27 lines
769 B
Bash
27 lines
769 B
Bash
|
# Template file for 'python3-jupyter_nbformat'
|
||
|
pkgname=python3-jupyter_nbformat
|
||
|
version=4.4.0
|
||
|
revision=4
|
||
|
archs=noarch
|
||
|
wrksrc="nbformat-${version}"
|
||
|
build_style=python3-module
|
||
|
hostmakedepends="python3-setuptools"
|
||
|
depends="python3-jsonschema python3-ipython_genutils python3-traitlets
|
||
|
python3-jupyter_core"
|
||
|
checkdepends="$depends python3-pytest python3-testpath"
|
||
|
short_desc="Jupyter notebook format"
|
||
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||
|
license="BSD-3-Clause"
|
||
|
homepage="https://github.com/jupyter/nbformat"
|
||
|
distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz"
|
||
|
checksum=f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402
|
||
|
conflicts="python-jupyter_nbformat<=4.4.0_3"
|
||
|
|
||
|
do_check() {
|
||
|
pytest
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
vlicense COPYING.md LICENSE
|
||
|
}
|