# Template file for 'python-jupyter'
pkgname=python-jupyter
version=1.0.0
revision=3
noarch=yes
build_style=meta
depends="
	python-jupyter_notebook
	python-jupyter_console
	python-jupyter_nbconvert
	python-ipython_ipykernel
	python-ipython_ipywidgets"
	if [ -z "$CROSS_BUILD" ]; then
		depends+=" python-jupyter_qtconsole"
	fi
short_desc="The Jupyter metapackage for Void Linux (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://jupyter.org/"
license="3-clause-BSD"

python3-jupyter_package() {
	noarch=yes
	build_style=meta
	depends="
		python3-jupyter_notebook
		python3-jupyter_console
		python3-jupyter_nbconvert
		python3-ipython_ipykernel
		python3-ipython_ipywidgets"
		if [ -z "$CROSS_BUILD" ]; then
			depends+=" python3-jupyter_qtconsole"
		fi
	replaces="python3.4-jupyter>=0"
	short_desc="${short_desc/Python2/Python3}"
}
python3.4-jupyter_package() {
	noarch=yes
	build_style=meta
	short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
	depends="python3-jupyter>=${version}_${revision}"
}
