void-packages/srcpkgs/python3-jupyter_core/template

35 lines
992 B
Bash

# Template file for 'python3-jupyter_core'
pkgname=python3-jupyter_core
version=4.6.3
revision=1
archs=noarch
wrksrc="jupyter_core-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-traitlets"
checkdepends="$depends python3-pytest python3-six python3-ipython_genutils
python3-ipython_ipykernel python3-decorator python3-nose"
short_desc="Jupyter core package"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://jupyter.org"
distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz"
checksum=394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e
conflicts="python-jupyter_core<=4.4.0_3"
do_check() {
PYTHONPATH=$(pwd)/build/lib py.test
}
post_install() {
vlicense COPYING.md LICENSE
}
python3-jupyter_package() {
build_style=meta
archs=noarch
depends="python3-jupyter_notebook python3-jupyter_console
python3-jupyter_ipywidgets"
short_desc="Jupyter metapackage for Void Linux"
}