pkgsrc/net/py-nyx/Makefile
riastradh 123fc317c8 Import stem-1.7.0, nyx-2.0.4, and sbws-0.8.0 from the Tor Project.
stem-1.7.0: Python library for controlling the tor daemon
nyx-2.0.4: curses monitor for the tor daemon
sbws-0.8.0: bandwidth scanner

nyx is a standalone application, so give it a meta-package net/nyx
with no py- prefix.

sbws is a standalone application too but only for designated Tor
plumbers, not for ordinary users, so leave it as py-sbws.
2018-10-23 01:42:34 +00:00

28 lines
698 B
Makefile

# $NetBSD: Makefile,v 1.1 2018/10/23 01:42:34 riastradh 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"