23 lines
702 B
Bash
23 lines
702 B
Bash
# Template file for 'python3-xmlschema'
|
|
pkgname=python3-xmlschema
|
|
version=1.6.2
|
|
revision=1
|
|
wrksrc=xmlschema-${version}
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools python3-elementpath"
|
|
depends="python3-elementpath"
|
|
checkdepends="python3-lxml python3-Sphinx"
|
|
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=31ddf77a44e4b121de212beeb2cc039e2e8b7a7a4f1678c9b29be1f5341aec52
|
|
|
|
do_check() {
|
|
PYTHONPATH=$(pwd)/build/lib python3 -m unittest
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|