#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 alexander.held@…): Replying to [comment:6 mojca@…]:
...
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. This seems to be a cleaner solution. I'll try to go this way. -- Ticket URL: <https://trac.macports.org/ticket/44472#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X