summaryrefslogtreecommitdiff
path: root/testing/qspectrumanalyzer/APKBUILD
blob: 6fd17ca5fea7b0b17e768b11ad59558dde5a684e (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
30
31
32
33
34
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=qspectrumanalyzer
pkgver=2.2.0
pkgrel=2
pkgdesc="Spectrum analyzer for multiple SDR platforms"
url="https://github.com/xmikos/qspectrumanalyzer"
arch="noarch !armhf" # no py3-qt on armhf
license="GPL-3.0-only"
depends="
	hackrf
	py3-qt.py
	py3-qtgraph
	py3-setuptools
	py3-soapy_power
	python3
	"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://github.com/xmikos/qspectrumanalyzer/archive/v$pkgver.tar.gz"
options="!check" # Test seems windows only :-/

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="8aad19d4f02fac579a65279eb0a26bab18f9e1243a626419640b91eab488eb21c96b0a9c83e6cc0141760c887b2481b533d0a32432de0919e41904c5b279c627  qspectrumanalyzer-2.2.0.tar.gz"