The following reply was made to PR ports/118301; it has been noted by GNATS.
From: Velko Ivanov <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: Subject: Re: ports/118301: devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it Date: Mon, 20 Oct 2008 17:59:32 +0300 I just hit the same thing and it fried all our Trac sites .. very unpleasant Somewhat quicker workaround - edit /usr/local/lib/pythonX.X/easy-install.pth and add the names of all directories under /usr/local/lib/pythonX.X/, that end in .egg For our setup after update easy-install.pth contains: import sys; sys.__plen = len(sys.path) ./setuptools-0.6c9-py2.5.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) should be: import sys; sys.__plen = len(sys.path) ./setuptools-0.6c9-py2.5.egg ./Trac-0.11.1-py2.5.egg ./Genshi-0.5.1-py2.5-freebsd-7.0-STABLE-amd64.egg ./Pygments-0.11.1-py2.5.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) _______________________________________________ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "[EMAIL PROTECTED]"