From c32ab37c121e98a42723af924999e2acd593fc32 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 18 Nov 2016 14:46:46 +0100 Subject: [PATCH] python-jupyter: make it a pure metapackage The 'jupyter' module was moved into the jupyter_core distribution. --- srcpkgs/python-jupyter/template | 53 ++++++++++++++------------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/srcpkgs/python-jupyter/template b/srcpkgs/python-jupyter/template index 835ae11fa51..02bb0ad083d 100644 --- a/srcpkgs/python-jupyter/template +++ b/srcpkgs/python-jupyter/template @@ -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 " -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