Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2019 14:48:08 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491735 - head/security/py-zxcvbn
Message-ID:  <201901311448.x0VEm8nH034753@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Jan 31 14:48:07 2019
New Revision: 491735
URL: https://svnweb.freebsd.org/changeset/ports/491735

Log:
  security/py-zxcvbn: update to 4.4.27
  
  Upstream switched to universal wheel[1] on PyPI which isn't supported
  by USES=python or MASTER_SITES=CHEESESHOP. Instead switch to GitHub
  which also allows to disambiguate MIT[2] and add support for "make test".
  
  [1] https://packaging.python.org/discussions/wheel-vs-egg/
  [2] https://fedoraproject.org/wiki/Licensing:MIT
  
  Changes:	https://github.com/dwolfhub/zxcvbn-python/compare/v4.4.26...v4.4.27
  PR:		235328
  Submitted by:	tobias.rehbein@web.de (based on)

Modified:
  head/security/py-zxcvbn/Makefile   (contents, props changed)
  head/security/py-zxcvbn/distinfo   (contents, props changed)

Modified: head/security/py-zxcvbn/Makefile
==============================================================================
--- head/security/py-zxcvbn/Makefile	Thu Jan 31 14:28:16 2019	(r491734)
+++ head/security/py-zxcvbn/Makefile	Thu Jan 31 14:48:07 2019	(r491735)
@@ -1,18 +1,27 @@
 # $FreeBSD$
 
 PORTNAME=	zxcvbn
-PORTVERSION=	4.4.26
+DISTVERSIONPREFIX=	v
+DISTVERSION=	4.4.27
 CATEGORIES=	security python
-MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Realistic password strength estimator
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
 NO_ARCH=	yes
 USES=		python
+USE_GITHUB=	yes
 USE_PYTHON=	autoplist distutils
+GH_ACCOUNT=	dwolfhub
+GH_PROJECT=	${PORTNAME}-python
+
+do-test:
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
 
 .include <bsd.port.mk>

Modified: head/security/py-zxcvbn/distinfo
==============================================================================
--- head/security/py-zxcvbn/distinfo	Thu Jan 31 14:28:16 2019	(r491734)
+++ head/security/py-zxcvbn/distinfo	Thu Jan 31 14:48:07 2019	(r491735)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1525982731
-SHA256 (zxcvbn-4.4.26.tar.gz) = b722650a7e331892b3d88b0f11822efcea95334391b2dcf3cd43edbcaebca9ab
-SIZE (zxcvbn-4.4.26.tar.gz) = 407795
+TIMESTAMP = 1530542872
+SHA256 (dwolfhub-zxcvbn-python-v4.4.27_GH0.tar.gz) = 9b84927fff7b4cc557b63a49adbd74f7a92026e25edd9e1b2867c1610d15fa5d
+SIZE (dwolfhub-zxcvbn-python-v4.4.27_GH0.tar.gz) = 9391971



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901311448.x0VEm8nH034753>