void-packages/srcpkgs/icdiff/template
2021-08-04 20:56:10 +02:00

33 lines
882 B
Bash

# Template file for 'icdiff'
pkgname=icdiff
version=2.0.4
revision=1
wrksrc="${pkgname}-release-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3 python3-setuptools"
checkdepends="flake8"
short_desc="Side-by-side highlighted command line diffs"
maintainer="Duncaen <duncaen@voidlinux.org>"
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=ec21632b64159990a1bcedc8b25f96b476e7a6d9e18b75422420c0ae9b694eac
replaces="python3-icdiff>=0"
provides="python3-icdiff-${version}_${revision}"
do_check() {
./test.sh python3
}
post_install() {
vlicense LICENSE
}
python3-icdiff_package() {
build_style=meta
short_desc+=" - transitional dummy pkg"
depends="icdiff"
}