icdiff: update to 1.8.1.

This commit is contained in:
Duncaen 2017-04-07 17:54:40 +02:00
parent dc7459b5b3
commit e6c8e7dd3e
2 changed files with 32 additions and 7 deletions

View file

@ -1,15 +1,39 @@
# Template file for 'icdiff'
pkgname=icdiff
version=1.7.3
revision=3
version=1.8.1
revision=1
wrksrc=${pkgname}-release-${version}
noarch=yes
build_style=python2-module
hostmakedepends="python-setuptools"
build_style=python-module
pycompile_module="icdiff.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Improved colored diff"
maintainer="Duncaen <mail@duncano.de>"
short_desc="Improved colored diff (Python2)"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="PSF"
homepage="http://www.jefftk.com/icdiff"
distfiles="https://github.com/jeffkaufman/icdiff/archive/release-${version}.tar.gz"
checksum=5161265f72a7c9c1d2d7b0780a381743ef3d3127944a96786422802a6bc14ca5
checksum=57a2f1164e9cce98e44cba35473203a19034e919a69762589779f54f4612d8f7
alternatives="
icdiff:icdiff:/usr/bin/icdiff2
icdiff:git-icdiff:/usr/bin/git-icdiff2"
pre_build() {
cp ${pkgname}{,.py}
}
python3-icdiff_package() {
noarch=yes
depends="python3"
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*
}
}

1
srcpkgs/python3-icdiff Symbolic link
View file

@ -0,0 +1 @@
icdiff