pkgsrc-Bugs archive

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

Re: pkg/44826: packages for python stdlib modules should not install to site-packages



The following reply was made to PR pkg/44826; it has been noted by GNATS.

From: =?ISO-8859-15?Q?Joachim_K=F6nig?= <him%online.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: OBATA Akio <obache%netbsd.org@localhost>
Subject: Re: pkg/44826: packages for python stdlib modules should not install
 to site-packages
Date: Wed, 04 May 2011 10:31:20 +0200

 On 28/04/2011 10:25, OBATA Akio wrote:
 >   Usually, it should be in lib/python2.6/lib-dynload.
 >   Is it really required to be in lib/python2.6 for plone-4
 
 No, you're right, it should be in lib/python2.6/lib-dynload. So the fix 
 should
 be as folllows:
 
 In all the Makefiles of the above mentioned packages add the following
 
 line:
 
 PYSETUPINSTALLARGS=        --install-lib ${PREFIX}/${PYLIB}/lib-dynload
 
 and replace ${PYSITELIB} by ${PYLIB}/lib-dynload in the PLIST files.
 
 Unfortunately, PYLIB is not yet replaced in PLIST files, though
 PRINT_PLIST_AWK already supports it. So to make it work change
 the line in lang/python/extension.mk from:
 
 PLIST_SUBST+= PYINC=${PYINC} PYSITELIB=${PYSITELIB}
 
 to
 
 PLIST_SUBST+= PYINC=${PYINC} PYLIB=${PYLIB} PYSITELIB=${PYSITELIB}
 
 and of course: bump PKGREVISION
 
 
 


Home | Main Index | Thread Index | Old Index