void-packages/srcpkgs/xmldiff/template

27 lines
824 B
Bash

# Template file for 'xmldiff'
pkgname=xmldiff
version=2.4
revision=3
wrksrc="xmldiff-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-lxml python3-six python3-setuptools"
short_desc="Python3 classes to diff XML files"
maintainer="prspkt <prspkt@protonmail.com>"
license="LGPL-3.0-or-later"
homepage="https://github.com/Shoobx/xmldiff"
changelog="https://raw.githubusercontent.com/Shoobx/xmldiff/master/CHANGES.rst"
distfiles="${PYPI_SITE}/x/xmldiff/xmldiff-${version}.tar.gz"
checksum=05bea20ce1f2c9678683bcce0c3ba9981f87d92b709d190e018bcbf047eccf63
conflicts="python-xmldiff>=0"
post_patch() {
rm -f xmldiff/_diff_match_patch_py2.py
}
python3-xmldiff_package() {
build_style=meta
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}