31 lines
852 B
Bash
31 lines
852 B
Bash
# Template file for 'xmldiff'
|
|
pkgname=xmldiff
|
|
version=2.5
|
|
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=6c5f30bc65ce6e81d9a70a3cb0269f7ba61852fd6caa7a0fbfc0edf33b3cb717
|
|
conflicts="python-xmldiff>=0"
|
|
|
|
post_extract() {
|
|
rm xmldiff/_diff_match_patch_py2.py
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-xmldiff_package() {
|
|
build_style=meta
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" (transitional dummy package)"
|
|
}
|