void-packages/srcpkgs/python3-xmlschema/template

25 lines
720 B
Bash

# Template file for 'python3-xmlschema'
pkgname=python3-xmlschema
version=1.2.3
revision=1
archs=noarch
wrksrc=xmlschema-${version}
build_style=python3-module
hostmakedepends="python3-setuptools python3-elementpath"
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@gmail.com>"
license="MIT"
homepage="https://github.com/sissaschool/xmlschema"
distfiles="${PYPI_SITE}/x/xmlschema/xmlschema-${version}.tar.gz"
checksum=c981db622f9f00bffcb61648ab9a6f21d6655cfb66ad994918b079705b9b9a34
do_check() {
PYTHONPATH=$(pwd)/build/lib python3 -m unittest
}
post_install() {
vlicense LICENSE
}