forked from Lainports/freebsd-ports
Changes: - https://passlib.readthedocs.io/en/stable/history/1.7.html#id2 - https://passlib.readthedocs.io/en/stable/history/1.7.html#id1 PR: 256189 Approved by: koobs (maintainer)
32 lines
847 B
Makefile
32 lines
847 B
Makefile
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
|
|
PORTNAME= passlib
|
|
PORTVERSION= 1.7.4
|
|
CATEGORIES= security python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= Comprehensive password hashing framework supporting over 30 schemes
|
|
|
|
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:3.6+
|
|
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>
|