python-jupyter: make it a pure metapackage
The 'jupyter' module was moved into the jupyter_core distribution.
This commit is contained in:
parent
44d2298009
commit
c32ab37c12
1 changed files with 23 additions and 30 deletions
|
@ -1,44 +1,37 @@
|
||||||
# Template file for 'python-jupyter'
|
# Template file for 'python-jupyter'
|
||||||
pkgname=python-jupyter
|
pkgname=python-jupyter
|
||||||
version=1.0.0
|
version=1.0.0
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="jupyter-${version}"
|
build_style=meta
|
||||||
build_style=python-module
|
depends="
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
python-jupyter_notebook
|
||||||
depends="python-jupyter_notebook python-jupyter_console python-jupyter_nbconvert
|
python-jupyter_console
|
||||||
python-ipython_ipykernel python-ipython_ipywidgets"
|
python-jupyter_nbconvert
|
||||||
pycompile_module="jupyter.py"
|
python-ipython_ipykernel
|
||||||
short_desc="Jupyter metapackage (Python2)"
|
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>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="http://jupyter.org"
|
homepage="https://jupyter.org/"
|
||||||
license="3-clause-BSD"
|
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() {
|
python3-jupyter_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3-jupyter_notebook python3-jupyter_console
|
build_style=meta
|
||||||
python3-jupyter_nbconvert python3-ipython_ipykernel
|
depends="
|
||||||
python3-ipython_ipywidgets"
|
python3-jupyter_notebook
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
python3-jupyter_console
|
||||||
depends+=" python3-jupyter_qtconsole"
|
python3-jupyter_nbconvert
|
||||||
fi
|
python3-ipython_ipykernel
|
||||||
pycompile_module="jupyter.py"
|
python3-ipython_ipywidgets"
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
depends+=" python3-jupyter_qtconsole"
|
||||||
|
fi
|
||||||
replaces="python3.4-jupyter>=0"
|
replaces="python3.4-jupyter>=0"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
python3.4-jupyter_package() {
|
python3.4-jupyter_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
|
Loading…
Reference in a new issue