freebsd-ports/security/py-bcrypt/Makefile
Danilo G. Baio 10c4037e9c 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
2017-10-18 22:04:26 +00:00

28 lines
704 B
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= bcrypt
PORTVERSION= 3.1.4
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Modern password hashing for your software and your servers
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.2.1:devel/py-pytest
USES= python
USE_PYTHON= autoplist concurrent distutils
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bcrypt/_bcrypt.so
.include <bsd.port.mk>