Changeset View
Changeset View
Standalone View
Standalone View
security/py-bcrypt/Makefile
# Created by: Martin Wilke <miwi@FreeBSD.org> | # Created by: Martin Wilke <miwi@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= bcrypt | PORTNAME= bcrypt | ||||
PORTVERSION= 3.1.4 | PORTVERSION= 3.1.4 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= security python | CATEGORIES= security python | ||||
MASTER_SITES= CHEESESHOP | MASTER_SITES= CHEESESHOP | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
MAINTAINER= dbaio@FreeBSD.org | MAINTAINER= dbaio@FreeBSD.org | ||||
COMMENT= Modern password hashing for your software and your servers | COMMENT= Modern password hashing for your software and your servers | ||||
LICENSE= APACHE20 | LICENSE= APACHE20 | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${FLAVOR} | BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi@${FLAVOR} | ||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.2.1:devel/py-pytest@${FLAVOR} | TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.2.1:devel/py-pytest@${FLAVOR} | ||||
USES= python | USES= python | ||||
USE_PYTHON= autoplist concurrent distutils | USE_PYTHON= autoplist concurrent distutils | ||||
do-test: | do-test: | ||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test | @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 | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |