svn commit: r410084 - in head/security/py-passlib: . files

Kubilay Kocak koobs at FreeBSD.org
Fri Mar 4 05:54:55 UTC 2016


Author: koobs
Date: Fri Mar  4 05:54:53 2016
New Revision: 410084
URL: https://svnweb.freebsd.org/changeset/ports/410084

Log:
  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

Deleted:
  head/security/py-passlib/files/
Modified:
  head/security/py-passlib/Makefile
  head/security/py-passlib/distinfo
  head/security/py-passlib/pkg-descr

Modified: head/security/py-passlib/Makefile
==============================================================================
--- head/security/py-passlib/Makefile	Fri Mar  4 05:22:26 2016	(r410083)
+++ head/security/py-passlib/Makefile	Fri Mar  4 05:54:53 2016	(r410084)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	passlib
-PORTVERSION=	1.6.2
+PORTVERSION=	1.6.5
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +11,22 @@ MAINTAINER=	koobs at 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>

Modified: head/security/py-passlib/distinfo
==============================================================================
--- head/security/py-passlib/distinfo	Fri Mar  4 05:22:26 2016	(r410083)
+++ head/security/py-passlib/distinfo	Fri Mar  4 05:54:53 2016	(r410084)
@@ -1,2 +1,2 @@
-SHA256 (passlib-1.6.2.tar.gz) = e987f6000d16272f75314c7147eb015727e8532a3b747b1a8fb58e154c68392d
-SIZE (passlib-1.6.2.tar.gz) = 408950
+SHA256 (passlib-1.6.5.tar.gz) = a83d34f53dc9b17aa42c9a35c3fbcc5120f3fcb07f7f8721ec45e6a27be347fc
+SIZE (passlib-1.6.5.tar.gz) = 417044

Modified: head/security/py-passlib/pkg-descr
==============================================================================
--- head/security/py-passlib/pkg-descr	Fri Mar  4 05:22:26 2016	(r410083)
+++ head/security/py-passlib/pkg-descr	Fri Mar  4 05:54:53 2016	(r410084)
@@ -4,4 +4,4 @@ as a framework for managing existing pas
 useful for a wide range of tasks, from verifying a hash found in /etc/shadow,
 to providing full-strength password hashing for multi-user application.
 
-WWW: http://passlib.googlecode.com
+WWW: https://bitbucket.org/ecollins/passlib


More information about the svn-ports-all mailing list