Bug 235328 - security/py-zxcvbn: Update to version 4.4.27
Summary: security/py-zxcvbn: Update to version 4.4.27
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-30 18:12 UTC by Tobias Rehbein
Modified: 2019-01-31 14:52 UTC (History)
0 users

See Also:
jbeich: maintainer-feedback+


Attachments
Patch to update security/py-zxcvbn to 4.4.27 (1.33 KB, patch)
2019-01-30 18:12 UTC, Tobias Rehbein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Rehbein 2019-01-30 18:12:56 UTC
Created attachment 201538 [details]
Patch to update security/py-zxcvbn to 4.4.27

I am preparing a new port that depends on zxcvbn and noticed, that an update is available. A patch updating the port from 4.4.26 to 4.4.27 is attached.

portlint and poudriere testport are okay with my changes.

Cave: The download link on pythonhosted.org is somewhat scary (https://files.pythonhosted.org/packages/d0/a0/e232b0685e7dcc0ea3bbe1d5a749b2bc96b33ac1b4665f6e9bbeb9709da2/zxcvbn-4.4.27-py2.py3-none-any.whl). As I couldn't find out to handle this in a sane way, and as I couldnt find out how to handle whl-files using the ports system, I decided to fetch the distfile directly from GitHub. If you know a better way to handle this, please let me know :)

Best regards,
Tobias
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-01-31 14:48:58 UTC
A commit references this bug:

Author: jbeich
Date: Thu Jan 31 14:48:08 UTC 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)

Changes:
  head/security/py-zxcvbn/Makefile
  head/security/py-zxcvbn/distinfo
Comment 2 Jan Beich freebsd_committer freebsd_triage 2019-01-31 14:52:53 UTC
Thanks. Landed.