aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-bcrypt
diff options
context:
space:
mode:
authordbaio <dbaio@FreeBSD.org>2017-10-13 00:00:30 +0800
committerdbaio <dbaio@FreeBSD.org>2017-10-13 00:00:30 +0800
commit777c839e7ac2a2ec8162da9927f95a948aa0a5a4 (patch)
tree39e8c08b4876e5d6eae366a7efd4c0d7a6dd76b6 /security/py-bcrypt
parentc0753cee143fae1f39b92cb83a9d69070eb901d7 (diff)
downloadfreebsd-ports-gnome-777c839e7ac2a2ec8162da9927f95a948aa0a5a4.tar.gz
freebsd-ports-gnome-777c839e7ac2a2ec8162da9927f95a948aa0a5a4.tar.zst
freebsd-ports-gnome-777c839e7ac2a2ec8162da9927f95a948aa0a5a4.zip
security/py-bcrypt: Update to 3.1.4, Take MAINTAINER'ship
Some improvements: LICENSE; Test target; Allow concurrent installation;
Diffstat (limited to 'security/py-bcrypt')
-rw-r--r--security/py-bcrypt/Makefile13
-rw-r--r--security/py-bcrypt/distinfo6
2 files changed, 13 insertions, 6 deletions
diff --git a/security/py-bcrypt/Makefile b/security/py-bcrypt/Makefile
index eff3b66e0065..bd846705470f 100644
--- a/security/py-bcrypt/Makefile
+++ b/security/py-bcrypt/Makefile
@@ -2,18 +2,25 @@
# $FreeBSD$
PORTNAME= bcrypt
-PORTVERSION= 3.1.3
+PORTVERSION= 3.1.4
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= dbaio@FreeBSD.org
COMMENT= Modern password hashing for your software and your servers
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.2.1:devel/py-pytest
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist concurrent distutils
+
+do-test:
+ @cd ${WRKSRC} && pytest -v
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bcrypt/_bcrypt.so
diff --git a/security/py-bcrypt/distinfo b/security/py-bcrypt/distinfo
index 1881dbfc1bff..92aa15d14f0e 100644
--- a/security/py-bcrypt/distinfo
+++ b/security/py-bcrypt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1500609980
-SHA256 (bcrypt-3.1.3.tar.gz) = 6645c8d0ad845308de3eb9be98b6fd22a46ec5412bfc664a423e411cdd8f5488
-SIZE (bcrypt-3.1.3.tar.gz) = 40806
+TIMESTAMP = 1507818303
+SHA256 (bcrypt-3.1.4.tar.gz) = 67ed1a374c9155ec0840214ce804616de49c3df9c5bc66740687c1c9b1cd9e8d
+SIZE (bcrypt-3.1.4.tar.gz) = 42575