aboutsummaryrefslogtreecommitdiffstats
path: root/community/s-tui/APKBUILD
blob: 7317033349f46b58064b0f43968a7aa56d13bbf6 (plain) (blame)
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
# Contributor: Kevin Thomas <me@kevinthomas.dev>
# Maintainer: Kevin Thomas <me@kevinthomas.dev>
pkgname=s-tui
pkgver=1.1.1
pkgrel=1
pkgdesc="Terminal-based CPU stress and monitoring utility"
url="https://github.com/amanusk/s-tui"
arch="noarch !mips !mips64" # blocked by stress-ng
license="GPL-2.0-or-later"
makedepends="py3-setuptools"
depends="python3 py3-urwid py3-psutil stress-ng"
source="$pkgname-$pkgver.tar.gz::https://github.com/amanusk/s-tui/archive/v$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="$builddir" python3 s_tui/tests/test_util_source.py
}

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

sha512sums="
71de8fbdad7ebcf9e0ef84b35276315b6c23782c1e24cec1cabb5397e768aa2d5c3f0d3945e1693625b06c52dc1c4ceb7290f6262bf6cddca7afecdcff059bae  s-tui-1.1.1.tar.gz
"