# Template file for 'xmldiff'
pkgname=xmldiff
version=0.6.10
revision=2
build_style=python-module
makedepends="python-devel libxslt openjade"
short_desc="Python classes to diff XML files"
homepage="http://www.logilab.org/project/xmldiff/"
license="GPL-2"
distfiles="http://ftp.logilab.org/pub/$pkgname/$pkgname-$version.tar.gz"
checksum=83aba252df2f760c8bf008b9c5d3080911eab2d2b39c371d3b47f67abf4b4ec5
long_desc="
 A python tool that figures out the differences between two similar XML files,
 in the same way the diff(1) utility does it."

post_install() {
	vmkdir usr/share/man/man1
	install -m644 man/*.1 ${DESTDIR}/usr/share/man/man1
}

xmldiff_package() {
	pycompile_module="xmldiff"
	depends="libxslt openjade"
	pkg_install() {
		vmove usr
	}
}
