void-packages/srcpkgs/xmldiff/template

27 lines
798 B
Bash

# Template file for 'xmldiff'
pkgname=xmldiff
version=2.7.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-lxml python3-setuptools"
checkdepends="${depends} python3-pytest"
short_desc="Python3 classes to diff XML files"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
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=c0910b1f800366dd7ec62923e5d06e8b06a1bd9120569a1c27f4f2446b9c68a2
conflicts="python-xmldiff>=0"
post_install() {
vlicense LICENSE.txt
}
python3-xmldiff_package() {
build_style=meta
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}