From ad7493009b401f60bd93349d536cb7e91132bf8c Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 29 May 2016 23:24:01 +0200 Subject: [PATCH] python-jupyter_nbconvert: use alternatives --- srcpkgs/python-jupyter_nbconvert/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-jupyter_nbconvert/template b/srcpkgs/python-jupyter_nbconvert/template index bb5e944b1ed..e903e34b591 100644 --- a/srcpkgs/python-jupyter_nbconvert/template +++ b/srcpkgs/python-jupyter_nbconvert/template @@ -1,7 +1,7 @@ # Template file for 'python-jupyter_nbconvert' pkgname=python-jupyter_nbconvert version=4.2.0 -revision=1 +revision=2 noarch=yes wrksrc="nbconvert-${version}" build_style=python-module @@ -16,9 +16,9 @@ homepage="https://github.com/jupyter/nbconvert" license="3-clause-BSD" distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz" checksum=55946d7522741294fcdd50799bd1777d16673ce721fecca0610cdb86749863c6 +alternatives="jupyter-nbconvert:jupyter-nbconvert:/usr/bin/jupyter-nbconvert2.7" post_install() { - vbin build-3.4/scripts-3.4/jupyter-nbconvert jupyter-nbconvert3.4 vlicense COPYING.md LICENSE } @@ -29,6 +29,7 @@ python3.4-jupyter_nbconvert_package() { pycompile_version="3.4" pycompile_module="nbconvert" short_desc="${short_desc/Python2/Python3.4}" + alternatives="jupyter-nbconvert:jupyter-nbconvert:/usr/bin/jupyter-nbconvert3.4" pkg_install() { vmove usr/bin/jupyter-nbconvert3.4 vmove usr/lib/python3.4