void-packages/srcpkgs/python3-xmlschema/template
2020-03-26 20:48:22 +01:00

24 lines
704 B
Bash

# Template file for 'python3-xmlschema'
pkgname=python3-xmlschema
version=1.1.2
revision=1
archs=noarch
wrksrc=xmlschema-${version}
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-elementpath"
checkdepends="python3-elementpath python3-lxml"
short_desc="XML Schema validator and decoder for Python"
maintainer="Đoàn Trần Công Danh <congdanhqx+sgn@gmail.com>"
license="MIT"
homepage="https://github.com/sissaschool/xmlschema"
distfiles="${PYPI_SITE}/x/xmlschema/xmlschema-${version}.tar.gz"
checksum=57bfda48a864f1d6e10bd06288c87e18eee4fd5a79d0ddfbf9d81f0fab748b39
do_check() {
PYTHONPATH=$(pwd)/build/lib python3 -m unittest
}
post_install() {
vlicense LICENSE
}