freebsd-ports/security/py-passlib/Makefile
Kubilay Kocak d727468126 security/py-passlib: Update to 1.6.5
- Update PORTVERSION and distinfo checksum (1.6.5)
- Add LICENSE_FILE
- Add TEST_DEPENDS and test target
- Add comment about failing tests which appear to require fixing bcrypt
  in FreeBSD base
- Remove setup.py patch (no longer necessary)
- Update pkg-descr WWW: URL (match setup.py:url)
- Enable NO_ARCH (architecture independent)

Changes:

  http://packages.python.org/passlib/history.html
2016-03-04 05:54:53 +00:00

32 lines
825 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= passlib
PORTVERSION= 1.6.5
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Python password hashing framework supporting over 30 schemes
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.1:${PORTSDIR}/devel/py-nose
USES= python
USE_PYTHON= distutils autoplist
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>