diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2017-03-23 13:26:02 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2017-03-23 13:26:02 +0000 |
commit | 16b03d1b4edf90bf86bffeaa5f3c2aea880c873e (patch) | |
tree | b5e215c46528e1622e71bf77231a23e492de96a6 /security/py-pynacl | |
parent | 96b6c282f5c21c504035d21316baed12880a4093 (diff) | |
download | ports-16b03d1b4edf90bf86bffeaa5f3c2aea880c873e.tar.gz ports-16b03d1b4edf90bf86bffeaa5f3c2aea880c873e.zip |
Notes
Diffstat (limited to 'security/py-pynacl')
-rw-r--r-- | security/py-pynacl/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/security/py-pynacl/Makefile b/security/py-pynacl/Makefile index 198bd592870b..b81b785486ea 100644 --- a/security/py-pynacl/Makefile +++ b/security/py-pynacl/Makefile @@ -18,6 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six BUILD_DEPENDS= ${RUN_DEPENDS} LIB_DEPENDS= libsodium.so:security/libsodium +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest USES= python USE_PYTHON= autoplist distutils @@ -27,4 +28,7 @@ CFLAGS+= -I ${LOCALBASE}/include post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/nacl/_sodium.so +do-test: + @cd ${WRKSRC} && ${SETENV} PYTHONPATH=../src ${PYTHON_CMD} -m pytest -rs tests + .include <bsd.port.mk> |