mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
29 lines
996 B
Text
29 lines
996 B
Text
# 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"
|