pkgsrc/net/py-nyx/Makefile

29 lines
698 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.2 2019/11/03 11:45:51 rillig Exp $
.include "../../net/py-nyx/Makefile.common"
DISTNAME= nyx-${VERSION}
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/nyx/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://nyx.torproject.org/
COMMENT= Command-line monitor for the tor daemon
LICENSE= gnu-gpl-v3
USE_LANGUAGES= # none
DEPENDS+= ${PYPKGPREFIX}-stem>=1.7.0:../../devel/py-stem
REPLACE_PYTHON+= run_nyx
REPLACE_PYTHON+= run_tests.py
REPLACE_PYTHON+= setup.py
do-test:
cd ${WRKSRC} && ./run_tests.py
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"