freebsd-ports/security/vanguards-tor/Makefile
Yuri Victorovich 1341ea5be7 security/vanguards-tor: Update 0.3.0 -> 0.3.1
Reported by:	upstream notification
2019-04-11 03:30:57 +00:00

27 lines
804 B
Makefile

# $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 <bsd.port.mk>