blob: 86c608b5d225d9b0ec2d2bd154ae0a197a027daa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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>
|