summaryrefslogtreecommitdiff
path: root/testing/py3-simplespectral/APKBUILD
blob: 0ed84a80dc4bc268ef117d4c631660cc72c1b81c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-simplespectral
pkgver=1.0.0
pkgrel=2
pkgdesc="Heavily simplified scipy.signal.spectral module"
url="https://github.com/xmikos/simplespectral"
arch="noarch"
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 --skip-build --root="$pkgdir"
}

sha512sums="16da3cb19cd7c567b64709a26ed5def7eb3047b08e2cb48db6962036a6c3e34c122dadf71821b6a22df55ebcf3c2ff95e3af3898efc8b4a6d5902e48de8e050c  py3-simplespectral-1.0.0.tar.gz"