summaryrefslogtreecommitdiff
path: root/sysutils/s-tui/Makefile
blob: c436c3e832889b0ebb4fd5219a6e6b314206d009 (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
PORTNAME=	s-tui
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.0-2
DISTVERSIONSUFFIX=	-gfb91ef6
CATEGORIES=	sysutils python

MAINTAINER=	kai@FreeBSD.org
COMMENT=	Stress Terminal UI: stress test and monitoring tool

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>=5.6.0:sysutils/py-psutil@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}urwid>=2.0.1:devel/py-urwid@${PY_FLAVOR}
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}

USES=		python
USE_GITHUB=	yes
GH_ACCOUNT=	amanusk
USE_PYTHON=	distutils noflavors autoplist

NO_ARCH=	yes

do-test:
	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs

.include <bsd.port.mk>