# Contributor: Marian Buschsieweke # Maintainer: Marian Buschsieweke pkgname=py3-qtgraph pkgver=0.13.1 pkgrel=0 pkgdesc="Scientific Graphics and GUI Library for Python" url="http://www.pyqtgraph.org/" # armhf: blocked by py3-qt5 # x86: segfaults in tests # aarch64, armv7: also segfaults but is a dep for gnuradio so keep it.. arch="noarch !x86 !armhf" license="MIT" depends="python3 py3-qt5 py3-numpy py3-scipy py3-opengl" makedepends="py3-setuptools" checkdepends="py3-pytest xvfb-run" source="$pkgname-$pkgver.tar.gz::https://github.com/pyqtgraph/pyqtgraph/archive/pyqtgraph-$pkgver.tar.gz" builddir="$srcdir/pyqtgraph-pyqtgraph-$pkgver" case "$CARCH" in armv7|aarch64) # segfaults in tests options="$options !check" ;; esac build() { python3 setup.py build } check() { xvfb-run python3 test.py } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" bcd3d0c9c1d91ad2ea3f85f8e34e68ab999fce636ed336362253f09a7863a62c4b635d71c137c9458532c7d1f76dfc8433d476cd84121cf89488fb0860039b8f py3-qtgraph-0.13.1.tar.gz "