pkgsrc-Users archive

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

Re: Python and graphics/MesaLib



On 2016-10-20 08:05 AM, Thomas Klausner wrote:
On Wed, Oct 19, 2016 at 04:37:30PM -0400, D'Arcy Cain wrote:
The subject package has the following line in the Makefile:

PYTHON_VERSIONS_INCOMPATIBLE=  34 35 # as of 10.6.7

However, the current version is 11.2.2 which seems to build fine with Python
3.5.

I can not confirm this:

gmake[2]: Entering directory '/scratch/graphics/MesaLib/work/mesa-11.2.2/src/mapi'
  GEN      es2api/glapi_mapi_tmp.h
  GEN      es1api/glapi_mapi_tmp.h
  GEN      shared-glapi/glapi_mapi_tmp.h
  File "./mapi_abi.py", line 574
  File "./mapi_abi.py", line 574
    print self.c_notice()
    print self.c_notice()

Hmm. It worked for me once but not now. I think I may have neglected to make clean before trying it and it used Python 2.7 anyway.

I may try to get upstream to fix it. The changes are pretty minor as far as I can tell. Or, perhaps the package can go in and run 2to3 in the relevant directory. I will try that later.

Meanwhile, I will update the comment.

--
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