1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/py3-simplespectral/APKBUILD
2021-07-23 02:52:17 -06:00

29 lines
1 KiB
Text

# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-simplespectral
pkgver=1.0.0
pkgrel=0
pkgdesc="Heavily simplified scipy.signal.spectral module"
url="https://github.com/xmikos/simplespectral"
arch="noarch !mips64" # blocked by numpy and scipy
license="MIT"
depends="python3 py3-numpy py3-scipy py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/xmikos/simplespectral/archive/v$pkgver.tar.gz"
builddir="$srcdir/simplespectral-$pkgver"
options="!check" # no checks provided
build() {
python3 setup.py build
}
check() {
# Currently all 0 of the 0 existing tests are passing :-) But it doesn't
# hurt to have this in place in case some tests are added
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="16da3cb19cd7c567b64709a26ed5def7eb3047b08e2cb48db6962036a6c3e34c122dadf71821b6a22df55ebcf3c2ff95e3af3898efc8b4a6d5902e48de8e050c py3-simplespectral-1.0.0.tar.gz"