mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
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
This commit is contained in:
parent
fe29cf3817
commit
d727468126
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410084
@ -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@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>
|
||||
|
@ -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
|
||||
|
@ -1,17 +0,0 @@
|
||||
--- ./setup.py.orig 2012-06-11 20:52:21.000000000 +1000
|
||||
+++ ./setup.py 2012-06-11 20:52:35.000000000 +1000
|
||||
@@ -15,12 +15,8 @@
|
||||
|
||||
py3k = (sys.version_info[0] >= 3)
|
||||
|
||||
-try:
|
||||
- from setuptools import setup
|
||||
- has_distribute = True
|
||||
-except ImportError:
|
||||
- from distutils.core import setup
|
||||
- has_distribute = False
|
||||
+from distutils.core import setup
|
||||
+has_distribute = False
|
||||
|
||||
#=========================================================
|
||||
# init setup options
|
@ -4,4 +4,4 @@ as a framework for managing existing password hashes. It's designed to be
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user