pkgsrc-Users archive

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

Re: textproc/py27-expat requires python27-2.7.16



Joerg Sonnenberger <joerg%bec.de@localhost> writes:

> On Mon, Jun 03, 2019 at 09:34:32PM +0200, Sijmen J. Mulder wrote:
>> I had an older version of Python 2.7 installed which caused the
>> py27-expat build to fail on a missing struct field
>> PyExpat_CAPI.SetHashSalt, introduced in Python 2.7.16.
>
> Most of the modules shipped with Python itself depend on a more or less
> precise match, so this is not exactly surprising.
>
>> The attached patch updates the python27 buildlink3.mk to require Python
>> 2.7.16 or later. I'm not sure if that's the right solution.
>
> This is completely wrong though, since it changes the requirement for
> every single Python module.

It would be helpful to explain what the right solution is, then.

Perhaps it is for py-expat to, if for python 2.7, set the buildlink
API_DEPENDS variable.


Home | Main Index | Thread Index | Old Index