# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-xmlschema pkgver=2.4.0 pkgrel=0 pkgdesc="XML schema validator and conversion library" url="https://github.com/sissaschool/xmlschema" arch="noarch" license="MIT" depends="py3-elementpath" makedepends="py3-setuptools" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/sissaschool/xmlschema/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/xmlschema-$pkgver/" build() { python3 setup.py build } check() { # disabled test requires install/fake install pytest \ --deselect tests/test_etree_import.py::TestElementTreeImport::test_element_tree_import_script } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 03bc0903ee3472deedd1609fc0e15aa4abdd6cf783d9a8c0f87b6771642443b619db1464a9d5aa2f49999d7cc3915306ec505562571f11fd12a1c94ca8ae9584 py3-xmlschema-2.4.0.tar.gz "