# $FreeBSD$ PORTNAME= vanguards DISTVERSION= 0.3.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMESUFFIX= -tor MAINTAINER= yuri@FreeBSD.org COMMENT= Tor add-on to protect against guard discovery and related attacks LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}stem>0:security/py-stem@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= python USE_PYTHON= distutils autoplist noflavors NO_ARCH= yes do-test: # 3 testcases are known to fail: https://github.com/mikeperry-tor/vanguards/issues/27 @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} PYTHONPATH=${WRKSRC}/src ${PYTHON_CMD} -m pytest -rs tests .include