Bug 226314 - www/py-mechanize: missing html5lib dependency
Summary: www/py-mechanize: missing html5lib dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Li-Wen Hsu
URL:
Keywords: easy, needs-patch
Depends on: 226317
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-03 00:11 UTC by Marcin Cieślak
Modified: 2019-03-04 13:25 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (lwhsu)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Cieślak 2018-03-03 00:11:49 UTC
After installing www/zope213 via pkg in a fresh jail an attempt to run mkzopeinstance fails:


root@zope:/ # /usr/local/bin/mkzopeinstance --dir /usr/local/www/Zope213/
Traceback (most recent call last):
  File "/usr/local/bin/mkzopeinstance", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3147, in <module>
    @_call_aside
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3131, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3160, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 666, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 984, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 870, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'html5lib>=0.999999999' distribution was not found and is required by mechanize

Looks like html5lib is not listed in the package dependencies:

# pkg -j zope info -d py27-mechanize
py27-mechanize-0.3.6:
	python27-2.7.14_1
	py27-setuptools-38.5.1
Comment 1 Marcin Cieślak 2018-03-03 00:16:28 UTC
Even worse, installing py-htmlize 0.9999999 we have in ports by hand does not work, html5lib>=0.999999999 seems to be required there.
Comment 2 Walter Schwarzenfeld freebsd_triage 2019-03-03 20:26:17 UTC
ping!
Comment 3 Li-Wen Hsu freebsd_committer freebsd_triage 2019-03-04 13:25:42 UTC
Fixed, sorry for the delay.
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-03-04 13:25:46 UTC
A commit references this bug:

Author: lwhsu
Date: Mon Mar  4 13:24:55 UTC 2019
New revision: 494597
URL: https://svnweb.freebsd.org/changeset/ports/494597

Log:
  Add missing dependencies

  PR:		226314
  Submitted by:	Marcin Cie?lak <saper@saper.info>

Changes:
  head/www/py-mechanize/Makefile