Bug 231392 - print/py-psautohint: Update to 1.9.1
Summary: print/py-psautohint: Update to 1.9.1
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords: needs-qa
Depends on: 234492
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-16 08:05 UTC by Ting-Wei Lan
Modified: 2019-03-03 04:23 UTC (History)
1 user (show)

See Also:


Attachments
Update print/py-psautohint to 1.8.1 (1.88 KB, text/plain)
2018-09-16 08:05 UTC, Ting-Wei Lan
no flags Details
Update print/py-psautohint to 1.8.1 (1.22 KB, patch)
2018-09-16 08:07 UTC, Ting-Wei Lan
no flags Details | Diff
Update print/py-psautohint to 1.8.1, version 2 (1.34 KB, patch)
2018-10-28 06:06 UTC, Ting-Wei Lan
no flags Details | Diff
Update print/py-psautohint to 1.9.1 (1.28 KB, patch)
2018-12-29 16:59 UTC, Ting-Wei Lan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ting-Wei Lan 2018-09-16 08:05:41 UTC
Created attachment 197132 [details]
Update print/py-psautohint to 1.8.1

This update adds a new dependency, ufoLib, which is still not in ports. You can find the print/py-ufoLib port made by me on this bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228027.

cantarell-fonts can be built successfully with this version of PSAutoHint.
Comment 1 Ting-Wei Lan 2018-09-16 08:07:27 UTC
Created attachment 197133 [details]
Update print/py-psautohint to 1.8.1

Sorry, I should upload a patch file instead of a shar file.
Comment 2 Ting-Wei Lan 2018-10-28 06:06:17 UTC
Created attachment 198711 [details]
Update print/py-psautohint to 1.8.1, version 2
Comment 3 Ting-Wei Lan 2018-10-28 06:06:49 UTC
The new patch uses PY_FLAVOR instead of FLAVOR.
Comment 4 Ting-Wei Lan 2018-12-29 16:59:10 UTC
Created attachment 200609 [details]
Update print/py-psautohint to 1.9.1
Comment 5 commit-hook freebsd_committer 2019-01-31 12:47:15 UTC
A commit references this bug:

Author: swills
Date: Thu Jan 31 12:46:25 UTC 2019
New revision: 491712
URL: https://svnweb.freebsd.org/changeset/ports/491712

Log:
  print/py-psautohint: update to 1.8.1

  PR:		231392
  Submitted by:	Ting-Wei Lan <lantw44@gmail.com> (maintainer)

Changes:
  head/print/py-psautohint/Makefile
  head/print/py-psautohint/distinfo
Comment 6 Steve Wills freebsd_committer 2019-01-31 12:48:42 UTC
Committed, thanks!
Comment 7 Ting-Wei Lan 2019-03-03 04:20:12 UTC
(In reply to Steve Wills from comment #6)
Please revert the commit. PSAutoHint 1.9.1 depends on ufo feature of print/py-fonttools, and ufo feature depends on devel/py-fs ≥ 2.2.0. It is safe to update PSAutoHint to 1.8.1, but it is not to update it to 1.9.1 until devel/py-fs is updated.

$ psautohint --version
Traceback (most recent call last):
  File "/usr/local/bin/psautohint", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3191, in <module>
    @_call_aside
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3175, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3204, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'fs<3,>=2.2.0' distribution was not found and is required by fonttools