tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Drop imaging support from reportlab



I never received a reply to my message. Does that mean that there is no controversy? I guess I will go ahead then.

On 2017-03-11 08:40 AM, D'Arcy Cain wrote:
I would like to make the following change to print/py-reportlab:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/py-reportlab/Makefile,v
retrieving revision 1.55
diff -r1.55 Makefile
16c16
< DEPENDS+=
{${PYPKGPREFIX}-Pillow-[0-9]*,${PYPKGPREFIX}-imaging-[0-9]*}:../../graphics/py-Pillow

---
DEPENDS+=     ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow

The reason is that the original fails if it is a dependency of a Python
2.7 package.  It builds the ${PYTHON_VERSION_DEFAULT} version anyway.
Since imaging is no longer maintained and Pillow is a plug and play
replacement this seems like the simplest solution.

There are two other ways to fix this as I see it.  We could fix the
dependency logic but that is a bit beyond my current skills and
available time.  The other way is to create a PREFER_IMAGING variable
that can be tested by packages such as these.

What say you all?

--
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/ IM:darcy%Vex.Net@localhost


Home | Main Index | Thread Index | Old Index