mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
5b7d18464c
* Use a slightly newer commit that introduces support for displaying CPU names in FreeBSD. * Add a "do-test" target to make future QA easier. Changelog: https://github.com/amanusk/s-tui/releases/tag/v1.0.0
30 lines
682 B
Makefile
30 lines
682 B
Makefile
# $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>
|