From 64e92effa7eac91cddd5e5820ed174a8f55cd422 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 29 May 2016 23:24:12 +0200 Subject: [PATCH] python-jupyter_nbformat: use alternatives --- srcpkgs/python-jupyter_nbformat/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-jupyter_nbformat/template b/srcpkgs/python-jupyter_nbformat/template index f410da99264..52f9b3b5820 100644 --- a/srcpkgs/python-jupyter_nbformat/template +++ b/srcpkgs/python-jupyter_nbformat/template @@ -1,7 +1,7 @@ # Template file for 'python-jupyter_nbformat' pkgname=python-jupyter_nbformat version=4.0.1 -revision=1 +revision=2 noarch=yes wrksrc="nbformat-${version}" build_style=python-module @@ -15,9 +15,9 @@ homepage="https://github.com/jupyter/nbformat" license="3-clause-BSD" distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz" checksum=5261c957589b9dfcd387c338d59375162ba9ca82c69e378961a1f4e641285db5 +alternatives="jupyter-nbformat:jupyter-trust:/usr/bin/jupyter-trust2.7" post_install() { - vbin build-3.4/scripts-3.4/jupyter-trust jupyter-trust3.4 vlicense COPYING.md LICENSE } @@ -28,6 +28,7 @@ python3.4-jupyter_nbformat_package() { pycompile_version="3.4" pycompile_module="nbformat" short_desc="${short_desc/Python2/Python3.4}" + alternatives="jupyter-nbformat:jupyter-trust:/usr/bin/jupyter-trust3.4" pkg_install() { vmove usr/bin/jupyter-trust3.4 vmove usr/lib/python3.4