24 lines
700 B
Bash
24 lines
700 B
Bash
# Template file for 'python3-xmlschema'
|
|
pkgname=python3-xmlschema
|
|
version=1.2.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@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/sissaschool/xmlschema"
|
|
distfiles="${PYPI_SITE}/x/xmlschema/xmlschema-${version}.tar.gz"
|
|
checksum=3d194332cc6d4b56e59d510ece63a5aa78b58e6e332765d46ce5746cb2c3ef20
|
|
|
|
do_check() {
|
|
PYTHONPATH=$(pwd)/build/lib python3 -m unittest
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|