[MacPorts] #53365: py-Pillow: missing dependency py-olefile (unported)

MacPorts noreply at macports.org
Sat Jan 21 14:32:56 UTC 2017


#53365: py-Pillow: missing dependency py-olefile (unported)
--------------------+-----------------------
 Reporter:  Ionic   |      Owner:  stromnov
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  py-Pillow
--------------------+-----------------------
 Since `py-Pillow` was updated to version `4.0.0`, it now fails to
 function.

 Example from `rst2pdf`:

 {{{
 Traceback (most recent call last):
   File "/opt/local/bin/rst2pdf", line 5, 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 3019, in <module>
     @_call_aside
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 3003, 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 3032, 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 655, 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 963, 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 849, in resolve
     raise DistributionNotFound(req, requirers)
 pkg_resources.DistributionNotFound: The 'olefile' distribution was not
 found and is required by pillow
 }}}

 The problem at hand is that `olefile` was bundled with `Pillow` prior to
 `4.0.0`, but [https://github.com/python-
 pillow/Pillow/blob/master/CHANGES.rst according to the changelog] this
 copy was removed in `4.0.0`.

 The worst part is that we don't yet have a port for `py-olefile`, so we'll
 need to create one.

--
Ticket URL: <https://trac.macports.org/ticket/53365>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list