Re: PLIST/Python issue
Ruben Gonzalez Arnau <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.general |
|---|---|
| Message-ID | <[email protected]> |
On 08/01/11 13:52, OBATA Akio wrote: > On Sat, 08 Jan 2011 21:32:56 +0900, Ruben Gonzalez Arnau<[email protected]> wrote: > >> Hello, >> >> After importing wip/arandr, it creates a file on >> /usr/pkg/lib/python2.6/site-packages/arandr-0.1.4-py2.6.egg-info, but if >> I want to put this on PLIST file, it shows a typical warning using make >> install/deinstall like: >> >> pkg_admin: arandr-0.1.4: File ${PYSITELIB}/arandr-0.1.4-py2.6.egg-info' >> is in +CONTENTS but not on filesystem! >> >> I tried to use on PLIST >> lib/python${PY_VER_SUFFIX}/site-packages/arandr-0.1.4-py2.6.egg-info and >> ${PYSITELIB}/arandr-0.1.4-py2.6.egg-info and both methods fails, only >> hardcoded version of python works >> >> PLIST: >> lib/python2.6/site-packages/arandr-0.1.4-py2.6.egg-info > ${PYSITELIB} will not be substitute unless PY_PATCHPLIST is defined. > >> ¿Some idea how to fix that? >> >> It's not a real problem, since everything installs/uninstalls except >> that file, but I think that is better if it's possible to have a full >> clean up. > Anyway, this package is using distutils, so lang/python/distutils.mk > should be included, and most of settings in arandr/Makefile will not be > required, then put following to PLIST: > ${PLIST.eggfile}${PYSITELIB}/${EGG_FILE} > Lot of thanks, it works as expected now. See you! -- [email protected] ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ pkgsrc-wip-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss