From ede88b6511bfe6d121cbbb40ee743a469c5d4fa2 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 24 May 2018 19:45:02 +0200 Subject: [PATCH] python-cram: fix alternatives --- srcpkgs/python-cram/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python-cram/template b/srcpkgs/python-cram/template index fcb19b3731f..191c71922ce 100644 --- a/srcpkgs/python-cram/template +++ b/srcpkgs/python-cram/template @@ -1,25 +1,25 @@ # Template file for 'python-cram' pkgname=python-cram version=0.7 -revision=1 +revision=2 +noarch=yes wrksrc="cram-${version}" build_style=python-module pycompile_module="cram" hostmakedepends="python-setuptools python3-setuptools" depends="python" -short_desc="Simple testing framework in Python2 for commandline applications" +short_desc="Simple testing framework for commandline applications (Python2)" maintainer="maxice8 " license="GPL-2" homepage="https://bitheap.org/cram/" distfiles="${PYPI_SITE}/c/cram/cram-${version}.tar.gz" checksum=7da7445af2ce15b90aad5ec4792f857cef5786d71f14377e9eb994d8b8337f2f -alternatives="python-cram:cram:/usr/bin/cram2" -noarch=yes +alternatives="cram:cram:/usr/bin/cram2" python3-cram_package() { noarch=yes pycompile_module="cram" - alternatives="python-cram:cram:/usr/bin/cram3" + alternatives="cram:cram:/usr/bin/cram3" short_desc="${short_desc/Python2/Python3}" depends="python3" pkg_install() {