From b7ce94c73e3d00cbc1c9f07b11306666837868d0 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 2 Mar 2021 21:07:31 +0100 Subject: [PATCH] icdiff: update to 2.0.0. --- srcpkgs/icdiff/template | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/srcpkgs/icdiff/template b/srcpkgs/icdiff/template index 77ed89b259820d..c357948e27c263 100644 --- a/srcpkgs/icdiff/template +++ b/srcpkgs/icdiff/template @@ -1,39 +1,28 @@ # Template file for 'icdiff' pkgname=icdiff -version=1.9.5 -revision=3 +version=2.0.0 +revision=1 wrksrc="${pkgname}-release-${version}" -build_style=python-module -pycompile_module="icdiff.py" -hostmakedepends="python-setuptools python3-setuptools" -depends="python python-setuptools" -short_desc="Improved colored diff (Python2)" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-setuptools" +short_desc="Side-by-side highlighted command line diffs" maintainer="Duncaen " license="Python-2.0" homepage="http://www.jefftk.com/icdiff" changelog="https://github.com/jeffkaufman/icdiff/raw/master/ChangeLog" distfiles="https://github.com/jeffkaufman/icdiff/archive/release-${version}.tar.gz" -checksum=f2e3df30e93df92224538ef3c62a73891af92de4caf94e8117582835e1040fc7 +checksum=bce07ff4995aafe9de274ca0a322e56275dc264948b125457d2cc73dd7e9eee2 -alternatives=" - icdiff:icdiff:/usr/bin/icdiff2 - icdiff:git-icdiff:/usr/bin/git-icdiff2" +replaces="python3-icdiff>=0" +provides="python3-icdiff-${version}_${revision}" post_install() { vlicense LICENSE } python3-icdiff_package() { - depends="python3 python3-setuptools" - pycompile_module="icdiff.py" - alternatives=" - icdiff:icdiff:/usr/bin/icdiff3 - icdiff:git-icdiff:/usr/bin/git-icdiff3" - short_desc="${short_desc/2/3}" - pkg_install() { - vmove usr/bin/icdiff3 - vmove usr/bin/git-icdiff3 - vmove usr/lib/python3* - vlicense LICENSE - } + build_style=meta + short_desc+=" - transitional dummy pkg" + depends="icdiff" }