pmaports/main/hwtest/APKBUILD
Martijn Braam 07cbc8cf18
main/hwtest: Update to 0.2.0 (!401)
This adds the first interactive tests for inputs, interactive tests are
only run when specifying --interactive/-i. This also adds --export and
--verify. The export option will write the test results to an .ini file.
The verify option will run the tests and compare it to the saved export
and then will show a diff of hardware functionality.
2019-05-31 03:30:09 +02:00

22 lines
721 B
Text

pkgname=hwtest
pkgver=0.2.0
pkgrel=0
pkgdesc="Small utility to check hardware functionality on phones"
url="https://gitlab.com/MartijnBraam/hwtest"
arch="noarch"
license="MIT"
depends="python3 ffmpeg v4l-utils evtest"
makedepends="python3-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/MartijnBraam/hwtest/-/archive/$pkgver/$pkgname-$pkgver.tar.gz"
options="!check" # Doesn't like making chroot directories
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="3f722da76908315fcedc5b74be6c353aa4f2addc63a5f5a972753c8f878148d60bf1a1856ed0088e71108cf9402c8e87a6648d4e6c08772f90c2b833d9a9f69b hwtest-0.2.0.tar.gz"