security/py-bcrypt: Update Test target

Test targets should always invoke a Python version specific binary.
Now using the setup.py test.

Reported by:	koobs
This commit is contained in:
Danilo G. Baio 2017-10-18 22:04:26 +00:00
parent 7dae16d7b1
commit 10c4037e9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452387

View file

@ -20,7 +20,7 @@ USES= python
USE_PYTHON= autoplist concurrent distutils USE_PYTHON= autoplist concurrent distutils
do-test: do-test:
@cd ${WRKSRC} && pytest -v @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
post-install: post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bcrypt/_bcrypt.so ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bcrypt/_bcrypt.so