[MacPorts] #44472: py27-pyphant-imageprocessing @1.0b3 replace py27-pil dependency by py27-Pillow

MacPorts noreply at macports.org
Tue Jul 29 08:31:47 PDT 2014


#44472: py27-pyphant-imageprocessing @1.0b3 replace py27-pil dependency by
py27-Pillow
-------------------------------------------+---------------------
  Reporter:  alexander.held@…              |      Owner:  rowue@…
      Type:  enhancement                   |     Status:  new
  Priority:  Normal                        |  Milestone:
 Component:  ports                         |    Version:  2.3.1
Resolution:                                |   Keywords:
      Port:  py27-pyphant-imageprocessing  |
-------------------------------------------+---------------------

Comment (by mojca@…):

 Replying to [comment:5 alexander.held@…]:
 >
 > I experimented around a bit. My problem is that the patch phase is not
 run at all, when a pre-built version is fetched from the macports server.

 Which is why the port should use port variants (one variant for dependency
 on pil and the other variant for dependency on pillow).

 You cannot use path-based dependency for that, but it is straightforward
 to do. You can check whether `Pil` is activated and if so, use `+pil`.
 Else use `+pillow`. You then define the patching inside the variant.

-- 
Ticket URL: <https://trac.macports.org/ticket/44472#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list