pkgsrc-WIP-discuss archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PLIST/Python issue
On Sat, 08 Jan 2011 21:32:56 +0900, Ruben Gonzalez Arnau
<rga%sdf.lonestar.org@localhost> 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}
--
OBATA Akio / obache%users.sourceforge.net@localhost
------------------------------------------------------------------------------
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
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss
Home |
Main Index |
Thread Index |
Old Index