icdiff: update to 1.8.1.
This commit is contained in:
parent
dc7459b5b3
commit
e6c8e7dd3e
|
@ -1,15 +1,39 @@
|
||||||
# Template file for 'icdiff'
|
# Template file for 'icdiff'
|
||||||
pkgname=icdiff
|
pkgname=icdiff
|
||||||
version=1.7.3
|
version=1.8.1
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc=${pkgname}-release-${version}
|
wrksrc=${pkgname}-release-${version}
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python2-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools"
|
pycompile_module="icdiff.py"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="Improved colored diff"
|
short_desc="Improved colored diff (Python2)"
|
||||||
maintainer="Duncaen <mail@duncano.de>"
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||||
license="PSF"
|
license="PSF"
|
||||||
homepage="http://www.jefftk.com/icdiff"
|
homepage="http://www.jefftk.com/icdiff"
|
||||||
distfiles="https://github.com/jeffkaufman/icdiff/archive/release-${version}.tar.gz"
|
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*
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
icdiff
|
Loading…
Reference in New Issue