1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-12 16:19:48 +03:00

main/hwtest: add missing py3-setuptools makedepend

This is required to build.

Take the opportunity to clean up the APKBUILD a bit.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6594
[ci:skip-build]: already built successfully in CI
This commit is contained in:
Luca Weiss 2025-06-02 22:43:00 +02:00
parent d4c110d809
commit 3c8552ecc1
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -1,13 +1,25 @@
pkgname=hwtest
pkgver=0.7.0
pkgrel=3
pkgrel=4
pkgdesc="Small utility to check hardware functionality on phones"
url="https://gitlab.com/MartijnBraam/hwtest"
arch="noarch"
license="MIT"
depends="python3 py3-dbus py3-setuptools ffmpeg v4l-utils evtest alsa-utils linuxconsoletools"
makedepends="python3-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/MartijnBraam/hwtest/-/archive/$pkgver/hwtest-$pkgver.tar.gz"
depends="
alsa-utils
evtest
ffmpeg
linuxconsoletools
py3-dbus
py3-setuptools
python3
v4l-utils
"
makedepends="
py3-setuptools
python3-dev
"
source="https://gitlab.com/MartijnBraam/hwtest/-/archive/$pkgver/hwtest-$pkgver.tar.gz"
options="!check" # No tests
build() {
@ -17,6 +29,7 @@ build() {
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
06055bcab260c047fbe58ed2bf26588397f8386dc5b5445c0deb2adeccf0cfca652464dd317317a04303105e14b6873297261d947e8a3bdddebbfb822a3a03f4 hwtest-0.7.0.tar.gz
"