icdiff: update to 2.0.0.
This commit is contained in:
parent
1311aff3b5
commit
b7ce94c73e
|
@ -1,39 +1,28 @@
|
||||||
# Template file for 'icdiff'
|
# Template file for 'icdiff'
|
||||||
pkgname=icdiff
|
pkgname=icdiff
|
||||||
version=1.9.5
|
version=2.0.0
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc="${pkgname}-release-${version}"
|
wrksrc="${pkgname}-release-${version}"
|
||||||
build_style=python-module
|
build_style=python3-module
|
||||||
pycompile_module="icdiff.py"
|
hostmakedepends="python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
depends="python3 python3-setuptools"
|
||||||
depends="python python-setuptools"
|
short_desc="Side-by-side highlighted command line diffs"
|
||||||
short_desc="Improved colored diff (Python2)"
|
|
||||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||||
license="Python-2.0"
|
license="Python-2.0"
|
||||||
homepage="http://www.jefftk.com/icdiff"
|
homepage="http://www.jefftk.com/icdiff"
|
||||||
changelog="https://github.com/jeffkaufman/icdiff/raw/master/ChangeLog"
|
changelog="https://github.com/jeffkaufman/icdiff/raw/master/ChangeLog"
|
||||||
distfiles="https://github.com/jeffkaufman/icdiff/archive/release-${version}.tar.gz"
|
distfiles="https://github.com/jeffkaufman/icdiff/archive/release-${version}.tar.gz"
|
||||||
checksum=f2e3df30e93df92224538ef3c62a73891af92de4caf94e8117582835e1040fc7
|
checksum=bce07ff4995aafe9de274ca0a322e56275dc264948b125457d2cc73dd7e9eee2
|
||||||
|
|
||||||
alternatives="
|
replaces="python3-icdiff>=0"
|
||||||
icdiff:icdiff:/usr/bin/icdiff2
|
provides="python3-icdiff-${version}_${revision}"
|
||||||
icdiff:git-icdiff:/usr/bin/git-icdiff2"
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-icdiff_package() {
|
python3-icdiff_package() {
|
||||||
depends="python3 python3-setuptools"
|
build_style=meta
|
||||||
pycompile_module="icdiff.py"
|
short_desc+=" - transitional dummy pkg"
|
||||||
alternatives="
|
depends="icdiff"
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue