mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +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
27 lines
857 B
Text
27 lines
857 B
Text
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
pkgname=py3-soapy_power
|
|
pkgver=1.6.1
|
|
pkgrel=2
|
|
pkgdesc="Obtain power spectrum from SoapySDR devices"
|
|
url="https://github.com/xmikos/soapy_power"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-numpy py3-simplesoapy py3-simplespectral py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/xmikos/soapy_power/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/soapy_power-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="19aa0e80a7b67cb29d842343c09b8ca2e3068583c8117a8151c5b47f1a34369f0ec833f038595323712986c9348b14a43dc1fdc6516adb40de6b42a281d782e1 py3-soapy_power-1.6.1.tar.gz"
|