summaryrefslogtreecommitdiff
path: root/security/py-zxcvbn/Makefile
blob: 0d875b97ce7ae6115c30d8b385ca20fb728b6ddc (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=	zxcvbn
DISTVERSIONPREFIX=	v
DISTVERSION=	4.4.28
CATEGORIES=	security python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Realistic password strength estimator

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}

NO_ARCH=	yes
USES=		python:3.6+
USE_GITHUB=	yes
USE_PYTHON=	autoplist distutils
GH_ACCOUNT=	dwolfhub
GH_PROJECT=	${PORTNAME}-python

do-test:
	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)

.include <bsd.port.mk>