pkgsrc/devel/py-stem/Makefile
wiz 2d5c2f8404 py-stem: update to 1.7.1.
The only change is a small regex fix [2] so we have forward
compatibility with tor's upcoming 0.4.0.x series. Without this Stem's
launch_tor() method will fail, timing out due to being unable to find
a bootstrap message indicating 'success'

Nyx does *not* use this method so there's no need to worry about
bumping its dependency. This only impacts applications that launch tor
such as OnionLauncher and TorNova.
2019-02-28 06:22:28 +00:00

35 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2019/02/28 06:22:28 wiz Exp $
DISTNAME= stem-1.7.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/stem/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://stem.torproject.org/
COMMENT= Python controller library for the tor daemon
LICENSE= gnu-gpl-v3
USE_LANGUAGES= # none
TOOL_DEPENDS+= ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
TOOL_DEPENDS+= ${PYPKGPREFIX}-flakes-[0-9]*:../../devel/py-flakes
DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-nacl-[0-9]*:../../security/py-nacl
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
REPLACE_PYTHON+=cache_fallback_directories.py
REPLACE_PYTHON+=cache_manual.py
REPLACE_PYTHON+=run_tests.py
REPLACE_PYTHON+=setup.py
REPLACE_PYTHON+=tor-prompt
do-test:
cd ${WRKSRC} && ./run_tests.py --unit
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"