Date: Wed, 28 May 2008 14:06:45 -0400 From: "Greg Larkin" <glarkin@sourcehosting.net> To: <freebsd-ports@freebsd.org> Subject: RE: what do I do with python eggs? Message-ID: <004201c8c0ed$97db8f70$0c01a8c0@FIREBALL> In-Reply-To: <20080528061932.GM6447@it.ca> References: <20080528061932.GM6447@it.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hiya. > > I'm making a port that uses Python and easy_install. I'm not > familiar with this installer ... but the port I've created > follows the example of some others, and does appear to install. > > The catch is, it doesn't clean up. A `make deinstall` or > pkg_delete will leave stuff in > /usr/local/lib/python2.5/site-packages/*-py2.5.egg/ > and I'm not sure what to add to pkg-plist, since this is > something that easy_install is doing. > > Is this enough information? What am I failing to understand > about eggs? > > Thanks. :) > > p > Hi Paul, Have a look at the www/trac-wikirename port, and I think you'll get some ideas there. The pkg-plist includes the following: %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% That should clean up the .egg file for you, but check this section of the Makefile, as you'll need something similar in yours: USE_PYTHON= 2.3+ USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= TracWikiRename If you want, post some of your Makefile and pkg-plist for review here. Regards, Greg Larkin SourceHosting.net, LLC http://www.sourcehosting.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004201c8c0ed$97db8f70$0c01a8c0>