summaryrefslogtreecommitdiff
path: root/community/py3-pylspci/APKBUILD
blob: 979eccfd5e24c484bb3e48f91b491f462d1d657f (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
# Contributor: Erwan Rouchet <lucidiot@brainshit.fr>
# Maintainer: Erwan Rouchet <lucidiot@brainshit.fr>
pkgname=py3-pylspci
pkgver=0.4.3
pkgrel=1
pkgdesc="Python wrapper for lspci"
url="https://lucidiot.tildepages.org/pylspci"
arch="noarch"
license="GPL-3.0-only"
depends="py3-cached-property>=1.5.1 pciutils"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://tildegit.org/lucidiot/pylspci/archive/$pkgver.tar.gz"
builddir="$srcdir/pylspci"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
f1e86b5b4d7272944d274bdd198628b0ed79c8f9a9bb440262ad2e24173abcd287af3caf798d504d3dfa1b9c6f8f8ad4de910d7b1f02c10eb00990d59c1d8017  py3-pylspci-0.4.3.tar.gz
"