summaryrefslogtreecommitdiff
path: root/testing/bootinfo/APKBUILD
blob: ac453821fba63024b5912487d90913b973415c79 (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
pkgname=bootinfo
pkgver=0.1.0
pkgrel=1
pkgdesc="Bootloader info for ARM devices"
url="https://git.sr.ht/~martijnbraam/bootinfo"
arch="noarch"
license="GPL-3.0"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~martijnbraam/bootinfo/archive/$pkgver.tar.gz"
depends="python3"
makedepends="py3-setuptools python3-dev"
checkdepends="py3-pytest"

build() {
	python3 setup.py build
}

check() {
	pytest bootinfo
}

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

sha512sums="
88723e0cd5d8e52b21badb47d1ccbd258934b473256092a919301492d2a45e2d2dc045a8ff98c92a26be1c03975b01767879b1d671e2fd63a135b7ec39924c44  bootinfo-0.1.0.tar.gz
"