diff --git a/srcpkgs/python3-xmlschema/template b/srcpkgs/python3-xmlschema/template new file mode 100644 index 00000000000..506e6fb640e --- /dev/null +++ b/srcpkgs/python3-xmlschema/template @@ -0,0 +1,24 @@ +# Template file for 'python3-xmlschema' +pkgname=python3-xmlschema +version=1.1.1 +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 " +license="MIT" +homepage="https://github.com/sissaschool/xmlschema" +distfiles="${PYPI_SITE}/x/xmlschema/xmlschema-${version}.tar.gz" +checksum=43d4d60b032ddbe484c562d65fcdba34e85d7c3ad59f2490795740b5a579c540 + +do_check() { + PYTHONPATH=$(pwd)/build/lib python3 -m unittest +} + +post_install() { + vlicense LICENSE +}