Bug 245756 - devel/hgsvn: Fails to run: pkg_resources.DistributionNotFound: The 'python-hglib' distribution was not found
Summary: devel/hgsvn: Fails to run: pkg_resources.DistributionNotFound: The 'python-hg...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Xin LI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-20 05:58 UTC by Pau Amma
Modified: 2020-04-21 03:29 UTC (History)
3 users (show)

See Also:
koobs: maintainer-feedback+
koobs: merge-quarterly+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pau Amma 2020-04-20 05:58:43 UTC
py37-hgsvn 0.5.2 installed from pkg.

% hgimportsvn -h
Traceback (most recent call last):
  File "/usr/local/bin/hgimportsvn", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3251, in <module>
    @_call_aside
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'python-hglib' distribution was not found and is required by hgsvn

"pkg search hglib" returns nothing.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2020-04-20 06:30:40 UTC
hgsvn has needed python-hglib since 2014 [1]

A new port will be needed 

[1] https://bitbucket.org/alexrayne/hgsvn/commits/fcdf3fd9bd742ebda6c47c88021ec308bf368278
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-04-20 17:21:35 UTC
A commit references this bug:

Author: delphij
Date: Mon Apr 20 17:21:26 UTC 2020
New revision: 532213
URL: https://svnweb.freebsd.org/changeset/ports/532213

Log:
  python-hglib is a library with a fast, convenient interface to
  Mercurial. It uses Mercurial's command server for communication
  with hg.

  PR:		245756

Changes:
  head/devel/Makefile
  head/devel/py-hglib/
  head/devel/py-hglib/Makefile
  head/devel/py-hglib/distinfo
  head/devel/py-hglib/pkg-descr
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-04-20 20:01:55 UTC
A commit references this bug:

Author: delphij
Date: Mon Apr 20 20:01:50 UTC 2020
New revision: 532225
URL: https://svnweb.freebsd.org/changeset/ports/532225

Log:
  Depend on devel/py-hglib.

  PR:		245756

Changes:
  head/devel/hgsvn/Makefile
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2020-04-21 01:53:03 UTC
Re-open for MFH to quarterly as hgsvn is broken there too
Comment 5 commit-hook freebsd_committer freebsd_triage 2020-04-21 03:27:30 UTC
A commit references this bug:

Author: delphij
Date: Tue Apr 21 03:27:08 UTC 2020
New revision: 532248
URL: https://svnweb.freebsd.org/changeset/ports/532248

Log:
  MFH: r532213 r532225

  python-hglib is a library with a fast, convenient interface to
  Mercurial. It uses Mercurial's command server for communication
  with hg.

  PR:		245756

  Depend on devel/py-hglib.

  PR:		245756

  Approved by:	ports-secteam (unbreak port)

Changes:
_U  branches/2020Q2/
  branches/2020Q2/devel/Makefile
  branches/2020Q2/devel/hgsvn/Makefile
  branches/2020Q2/devel/py-hglib/
Comment 6 commit-hook freebsd_committer freebsd_triage 2020-04-21 03:27:32 UTC
A commit references this bug:

Author: delphij
Date: Tue Apr 21 03:27:08 UTC 2020
New revision: 532248
URL: https://svnweb.freebsd.org/changeset/ports/532248

Log:
  MFH: r532213 r532225

  python-hglib is a library with a fast, convenient interface to
  Mercurial. It uses Mercurial's command server for communication
  with hg.

  PR:		245756

  Depend on devel/py-hglib.

  PR:		245756

  Approved by:	ports-secteam (unbreak port)

Changes:
_U  branches/2020Q2/
  branches/2020Q2/devel/Makefile
  branches/2020Q2/devel/hgsvn/Makefile
  branches/2020Q2/devel/py-hglib/
Comment 7 Kubilay Kocak freebsd_committer freebsd_triage 2020-04-21 03:29:40 UTC
Thanks Xin!