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:
+17
-4
@@ -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
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user