void-packages/srcpkgs/xmldiff/template

27 lines
797 B
Bash

# Template file for 'xmldiff'
pkgname=xmldiff
version=2.6.1
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="prspkt <prspkt@protonmail.com>"
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=81b817ef2fd0de9b30336b47fd1d4648c99b30685024a07bc34f2c146404e159
conflicts="python-xmldiff>=0"
post_install() {
vlicense LICENSE.txt
}
python3-xmldiff_package() {
build_style=meta
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}