aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-soapy_power/APKBUILD
blob: b3504b1fdd3bc3080eae29014f7f9eafe5d5d9e1 (plain) (tree)
1
2
3
4
5
6
7
8



                                                                
        

                                                     
             


















                                                                                                                                                                           
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-soapy_power
pkgver=1.6.1
pkgrel=1
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 --prefix=/usr --root="$pkgdir"
}

sha512sums="19aa0e80a7b67cb29d842343c09b8ca2e3068583c8117a8151c5b47f1a34369f0ec833f038595323712986c9348b14a43dc1fdc6516adb40de6b42a281d782e1  py3-soapy_power-1.6.1.tar.gz"