aboutsummaryrefslogtreecommitdiffstats
path: root/community/s-tui/APKBUILD
blob: b7af9a7e46a80d521457b442c09847d7aec55830 (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.3
pkgrel=0
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="
80a746187d7d4e4581b6a7c68c3939772eed95ae16530ca38692c9fcfdb98068e60fbe401cf741e1896d8a303a240b231c27a7bf5471c24357fe06df6fdfb153  s-tui-1.1.3.tar.gz
"