summaryrefslogtreecommitdiff
path: root/security/py-passlib/Makefile
blob: 1de8552c3cfb05bd96d91efb0f6058c6c4d709ca (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
26
27
28
29
30
31
PORTNAME=	passlib
PORTVERSION=	1.7.4
CATEGORIES=	security python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Comprehensive password hashing framework supporting over 30 schemes
WWW=		https://bitbucket.org/ecollins/passlib

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=1.1:devel/py-nose@${PY_FLAVOR}

# Python 2.6,3.3-3.8
USES=		python
USE_PYTHON=	autoplist distutils

NO_ARCH=	yes

# A number of (bcrypt) tests are failing due to:
# AssertionError: sanity check failed: 'os_crypt' backend supports $2b$ but has wraparound bug
# See:
#   WRKSRC/passlib/handlers/bcrypt.py#306
#   http://www.openwall.com/lists/oss-security/2012/01/02/4

do-test:
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>