# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-numpy-stl pkgver=3.0.0 pkgrel=0 pkgdesc="Library for working with STLs" url="https://github.com/WoLpH/numpy-stl" # s390x: no py3-utils arch="noarch !s390x" license="BSD-3-Clause" depends="python3 py3-utils py3-numpy" makedepends="py3-setuptools" checkdepends="py3-pytest" source="$pkgname-$pkgver.tar.gz::https://github.com/wolph/numpy-stl/releases/download/v$pkgver/numpy-stl-$pkgver.tar.gz" builddir="$srcdir/numpy-stl-$pkgver" build() { python3 setup.py build } check() { # deselected test needs xvfb-run and fails pytest \ --deselect tests/test_ascii.py::test_use_with_qt_with_custom_locale_decimal_delimeter } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" e8240befbfb164ac819135c017295de26c83108b9fb1f6a46f7c8c7a861c27eb8d00a944654e9cfd6fcb4d3668ce62b44bb30552e0d0f841da338fe171c51dd1 py3-numpy-stl-3.0.0.tar.gz "