python-jupyter: make it a pure metapackage

The 'jupyter' module was moved into the jupyter_core distribution.
This commit is contained in:
Alessio Sergi 2016-11-18 14:46:46 +01:00
parent 44d2298009
commit c32ab37c12

View file

@ -1,44 +1,37 @@
# Template file for 'python-jupyter'
pkgname=python-jupyter
version=1.0.0
revision=2
revision=3
noarch=yes
wrksrc="jupyter-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-jupyter_notebook python-jupyter_console python-jupyter_nbconvert
python-ipython_ipykernel python-ipython_ipywidgets"
pycompile_module="jupyter.py"
short_desc="Jupyter metapackage (Python2)"
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="http://jupyter.org"
homepage="https://jupyter.org/"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/j/jupyter/jupyter-${version}.tar.gz"
checksum=d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f
if [ -z "$CROSS_BUILD" ]; then
depends+=" python-jupyter_qtconsole"
fi
post_install() {
vlicense LICENSE
}
python3-jupyter_package() {
noarch=yes
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
pycompile_module="jupyter.py"
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}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}
python3.4-jupyter_package() {
noarch=yes