(Expanding to a wider audience again) On Thu, Feb 11, 2010 at 9:29 AM, Philip M. Gollucci <pgollu...@p6m7g8.com> wrote: > On 2/11/2010 11:57 AM, Garrett Cooper wrote: >>> Sorry -- I accidentally omitted the following line from pkg-plist: >>> >>> bin/nosetests-%%PYTHON_VER%% >>> >>> It wasn't picked up in the last version either and deinstalls >>> cleanly because it's in ${PREFIX}/usr/local/bin >> >> Except the variable `%%PYTHON_VER%%' isn't exported via >> bsd.python.mk... what's the equivalent to 2.5, 2.6, etc that's >> accessible via pkg-plist? >> -Garrett > > Sure it is > $ make -V PYTHON_VER > > You just need to add > PLIST_SUB+= PYTHON_VER=${PYHON_VER} > > in the port Makefile
Awesome -- thanks for the info Philip ;)!!! This patch will fix the cleanup issue... Cheers, -Garrett Index: Makefile =================================================================== RCS file: /usr/local/cvsroot/freebsd/ports/devel/py-nose/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- Makefile 11 Feb 2010 06:15:57 -0000 1.11 +++ Makefile 11 Feb 2010 23:26:40 -0000 @@ -14,6 +14,8 @@ MASTER_SITE_SUBDIR= dryice PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PLIST_SUB+= PYTHON_VER=${PYTHON_VER} + MAINTAINER= gcoo...@freebsd.org COMMENT= A discovery-based unittest extension Index: pkg-plist =================================================================== RCS file: /usr/local/cvsroot/freebsd/ports/devel/py-nose/pkg-plist,v retrieving revision 1.6 diff -u -r1.6 pkg-plist --- pkg-plist 11 Feb 2010 06:15:58 -0000 1.6 +++ pkg-plist 11 Feb 2010 23:26:40 -0000 @@ -1,4 +1,5 @@ bin/nosetests +bin/nosetests-%%PYTHON_VER%% %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe The patch listed immediately above this will resolve the `tidiness issue' that QAT was warning about in the original email sent out. Could someone help me please commit this as I don't have a commit bit? Thanks, -Garrett _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscr...@freebsd.org"