Bug 231217 - devel/py-mdv: Add missing pygments dependency
Summary: devel/py-mdv: Add missing pygments dependency
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: Emanuel Haupt
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2018-09-07 11:11 UTC by Mateusz Piotrowski
Modified: 2018-09-20 08:07 UTC (History)
2 users (show)

See Also:
ndowens04: maintainer-feedback? (ehaupt)
koobs: merge-quarterly?


Attachments
Fix Run depend (859 bytes, patch)
2018-09-20 01:01 UTC, Nathan
ndowens04: maintainer-approval? (ehaupt)
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Piotrowski freebsd_committer freebsd_triage 2018-09-07 11:11:27 UTC
I get the following error when trying to run a `mdv file.md`:

```
Traceback (most recent call last):
  File "/usr/local/bin/mdv", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3098, in <module>
    @_call_aside
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3082, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3111, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 573, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 891, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pygments' distribution was not found and is required by mdv
```

I installed py36-mdv with pkg and I'm running 12.0-ALPHA4. My mdv port version is 1.6.3.
Comment 1 Nathan 2018-09-20 01:01:08 UTC
Created attachment 197255 [details]
Fix Run depend
Comment 2 Nathan 2018-09-20 01:02:08 UTC
Comment on attachment 197255 [details]
Fix Run depend

Tested inside poudriere and did not give error mentioned in comment#1
Comment 3 Nathan 2018-09-20 01:02:35 UTC
(In reply to Nathan from comment #2)
Meant comment#0 :)
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2018-09-20 02:12:47 UTC
Correct title, assign to maintainer

MFH if quarterly version is also affected.
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2018-09-20 02:16:13 UTC
Comment on attachment 197255 [details]
Fix Run depend

Approved by: portmgr (blanket, broken dependencies)

@Mateusz This change is covered by implicit/blanket. Feel free to assign yourself & commit once completely QA'd and any other requisite approvals (if applicable, mentor, etc) are obtained.
Comment 6 commit-hook freebsd_committer freebsd_triage 2018-09-20 08:05:32 UTC
A commit references this bug:

Author: ehaupt
Date: Thu Sep 20 08:04:39 UTC 2018
New revision: 480155
URL: https://svnweb.freebsd.org/changeset/ports/480155

Log:
  - Add missing run dependency
  - While here pacify portlint

  PR:		231217
  Submitted by:	0mp
  MFH:		2018Q3 (blanket)

Changes:
  head/devel/py-mdv/Makefile
Comment 7 commit-hook freebsd_committer freebsd_triage 2018-09-20 08:06:35 UTC
A commit references this bug:

Author: ehaupt
Date: Thu Sep 20 08:05:38 UTC 2018
New revision: 480156
URL: https://svnweb.freebsd.org/changeset/ports/480156

Log:
  MFH: r480155

  - Add missing run dependency
  - While here pacify portlint

  PR:		231217
  Submitted by:	0mp
  Approved by:	ports-secteam (blanket)

Changes:
_U  branches/2018Q3/
  branches/2018Q3/devel/py-mdv/Makefile
Comment 8 Emanuel Haupt freebsd_committer freebsd_triage 2018-09-20 08:07:32 UTC
Committed and merged with 2018Q3. Thanks for reporting.