Opened 4 years ago

Closed 4 years ago

#52432 closed defect (fixed)

py-reportlab: requires pip, add dependency

Reported by: Ionic (Mihai Moldovan) Owned by: stromnov (Andrew Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: py-reportlab

Description

09:55:59 runner ' /opt/local/bin/rst2pdf -c --repeat-table-rows ../DOCS/man/mpv.rst -o DOCS/man/mpv.pdf '
Traceback (most recent call last):
  File "/opt/local/bin/rst2pdf", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2985, in <module>
    @_call_aside
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2971, in _call_aside
    f(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2998, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 660, in _build_master
    ws.require(__requires__)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 968, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 854, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pip>=1.4.1' distribution was not found and is required by reportlab

Attachments (1)

py-reportlab.patch (884 bytes) - added by Ionic (Mihai Moldovan) 4 years ago.
Add pip dependency to py-reportlab and revbump.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by Ionic (Mihai Moldovan)

Attachment: py-reportlab.patch added

Add pip dependency to py-reportlab and revbump.

comment:1 Changed 4 years ago by Ionic (Mihai Moldovan)

Resolution: fixed
Status: newclosed

Fixed in r153259.

comment:2 Changed 4 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: closedreopened

https://build.macports.org/builders/ports-10.12_x86_64-watcher/builds/537/steps/checkout/logs/stdio

Failed to parse file python/py-reportlab/Portfile with subport 'py27-reportlab': can't set "depends_lib": invalid depspec: py27-setuptools
Failed to parse file python/py-reportlab/Portfile with subport 'py34-reportlab': can't set "depends_lib": invalid depspec: py34-setuptools
Failed to parse file python/py-reportlab/Portfile with subport 'py35-reportlab': can't set "depends_lib": invalid depspec: py35-setuptools

Also, isn't setuptools usually a build dependency, not a library dependency?

comment:3 Changed 4 years ago by Ionic (Mihai Moldovan)

Mh, yeah, setuptools should be build dependency (wasn't part of my proposed patch in the first place.)

I'll fix that up, because in that state it's totally broken.

comment:4 Changed 4 years ago by Ionic (Mihai Moldovan)

Resolution: fixed
Status: reopenedclosed

Done in r153264. Closing again.

Note: See TracTickets for help on using tickets.