PIL + ReportLab vs Pillow
petr at macports.org
petr at macports.org
Tue Jul 8 04:27:38 PDT 2014
On 7 Jul 2014, at 11:32, Peter Danecek <Peter.Danecek at bo.ingv.it> wrote:
>
>
>
> On 5 Jul 2014, at 21:31, Mihai Moldovan <ionic at ionic.de> wrote:
>
>> Hi,
>>
>> I've actually hit this "issue" today.
>>
>> I need rst2pdf, which has an (undeclared, I'll fix this) runtime dependency on
>> py27-Pillow and py27-reportlab.
>>
>> py27-reportlab currently depends on py27-pil, while newer subports depend on Pillow.
>>
>> I've been in touch with the maintainer, I hope I can quote his answer freely.
>>
>> * On 05.07.2014 05:27 pm, Andrew Stromnov wrote:
>>> Dependency on PIL (py27-pil) comes from good old times, when Pillow even did not exist.
>>>
>>> PIL software was abandoned in 2007, and so don’t have any support for py3k.
>>
>> This said, my proposal is to also switch py27-reportlab to py27-Pillow, as I see
>> no good reason to keep depending on pil. I have already patched this, but have
>> to test it (only lightly with rst2pdf) before filing a trac ticket and posting
>> the patch.
>
>
> Why not allowing that either PIL or Pillow satisfies the dependency where possible. This is from the py-cartopy port:
>
> {{{
> # PIL dependency: allow both PIL and Pillow to satisfy it.
> depends_run-append path:${python.pkgd}/PIL:py${python.version}-Pillow
> }}}
>
> This would avoid potential conflicts if users need to install other (still) PIL dependent software. Of cause, other packages might want to adopt this approach as well.
>
> ~petr
>
>
More information about the macports-users
mailing list