Bug 222798 - textproc/pootle: Missing dependency of py27-argparse
Summary: textproc/pootle: Missing dependency of py27-argparse
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: Rene Ladan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-05 14:27 UTC by Guangyuan Yang
Modified: 2017-12-07 21:10 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (rene)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guangyuan Yang freebsd_committer freebsd_triage 2017-10-05 14:27:14 UTC
py27-argparse was not automatically installed when installing pootle. This will result in an obvious error:

# pootle --version
Traceback (most recent call last):
  File "/usr/local/bin/pootle", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3038, in <module>
    @_call_aside
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3022, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3051, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 657, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 971, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 857, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'argparse' distribution was not found and is required by Pootle

Add py27-argparse to the dependency list can fix this.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-10-05 21:45:25 UTC
A commit references this bug:

Author: rene
Date: Thu Oct  5 21:44:31 UTC 2017
New revision: 451347
URL: https://svnweb.freebsd.org/changeset/ports/451347

Log:
  textproc/pootle: add missing dependency on devel/py-argparse

  PR:		222798
  Submitted by:	ygy
  MFH:		2017Q4

Changes:
  head/textproc/pootle/Makefile
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-12-07 21:10:02 UTC
A commit references this bug:

Author: rene
Date: Thu Dec  7 21:09:15 UTC 2017
New revision: 455756
URL: https://svnweb.freebsd.org/changeset/ports/455756

Log:
  MFH: r451347

  textproc/pootle: add missing dependency on devel/py-argparse

  PR:		222798
  Submitted by:	ygy

  Approved by:	ports-secteam (missing-dependency blanket)

Changes:
_U  branches/2017Q4/
  branches/2017Q4/textproc/pootle/Makefile