1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

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)
This commit is contained in:
Jan Beich 2019-01-31 14:48:07 +00:00
parent c8533748ac
commit 0e48b9d9d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491735
2 changed files with 14 additions and 5 deletions

View File

@ -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>

View File

@ -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