mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-28 22:22:01 +01:00
34 lines
978 B
Plaintext
34 lines
978 B
Plaintext
# Contributor: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
|
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
|
pkgname=py3-qtgraph
|
|
pkgver=0.13.4
|
|
pkgrel=0
|
|
pkgdesc="Scientific Graphics and GUI Library for Python"
|
|
url="https://www.pyqtgraph.org/"
|
|
# x86: segfaults in tests
|
|
arch="noarch !x86"
|
|
license="MIT"
|
|
depends="python3 py3-qt5 py3-numpy py3-scipy py3-opengl"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest xvfb-run"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pyqtgraph/pyqtgraph/archive/pyqtgraph-$pkgver.tar.gz"
|
|
builddir="$srcdir/pyqtgraph-pyqtgraph-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
unset DISPLAY WAYLAND_DISPLAY
|
|
xvfb-run python3 test.py
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
9c5c276d1e191bbb72ce1ce66fcf2cfe34f5f31318bbc3069c634a77b0373b2df6a7572eccb3cfec9a45d225f5f5da71d6ca9db3f9ef520eaab27b76176a8904 py3-qtgraph-0.13.4.tar.gz
|
|
"
|