aboutsummaryrefslogtreecommitdiff
path: root/sysutils/s-tui/Makefile
blob: 3d11cb3f53c781fa1d6d3894f44b4a285b0f6bb8 (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
29
# $FreeBSD$

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>