New package: python3-xmlschema-1.1.1

This commit is contained in:
Đoàn Trần Công Danh 2020-02-21 17:03:47 +07:00 committed by Juan RP
parent cf6b54008c
commit 738550af6d

View file

@ -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 <congdanhqx+sgn@gmail.com>"
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
}