Re: libpsl doesn't build on older versions of Mac OS X because it depends on python38

2020-04-20 Thread Riccardo Mottola via macports-users
Hi Ken!

this is the good news, it is always best to patch a depeendency isntead
of working around down the tree.

Riccardo

Kenneth F. Cunningham wrote:
> I pushed the python38 fix I have been using the past four months or so.
>
> It works, and should get you moving. It has been well tested.
>
> Upstream is looking to see if they might do an official integration of a fix 
> that follows their usual Makefile pattern, and if they do, this fix may not 
> be needed in some future release of python.
>
> Thanks to everyone for their reviews and looking things over.
>
> For Chris, the patches have been restricted to ancient systems only, and 
> cannot affect 10.6 or newer in any way, as requested.
>
> Ken



Re: libpsl doesn't build on older versions of Mac OS X because it depends on python38

2020-04-15 Thread Jeffrey Walton
On Wed, Apr 15, 2020 at 3:53 AM Christian Calderon
 wrote:
>
> libpsl is one of curl's dependencies, meaning curl can't be built (and thus 
> any port depending on curl) on any version of OS X before Snow Leopard.  I've 
> looked a bit into libpsl and it seems that it doesn't actually require 
> python38 to build. Is this correct? If it is, how can we get libpsl to build 
> with python37 instead?

Related, Wget also uses libpsl.

Jeff


Re: libpsl doesn't build on older versions of Mac OS X because it depends on python38

2020-04-15 Thread Kenneth F. Cunningham
I pushed the python38 fix I have been using the past four months or so.

It works, and should get you moving. It has been well tested.

Upstream is looking to see if they might do an official integration of a fix 
that follows their usual Makefile pattern, and if they do, this fix may not be 
needed in some future release of python.

Thanks to everyone for their reviews and looking things over.

For Chris, the patches have been restricted to ancient systems only, and cannot 
affect 10.6 or newer in any way, as requested.

Ken

Re: libpsl doesn't build on older versions of Mac OS X because it depends on python38

2020-04-15 Thread Ken Cunningham
as there are many ports that now default to python38, the simpler approach 
would be to use one of the several proposed methods to make python 3.8 build on 
10.4 and 10.5 instead.

K