Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2006 19:02:27 +0200
From:      Neal Nelson <neal@nelson.name>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97144: Fix pkg-plist of x11-toolkits/py-wxPython26
Message-ID:  <courier.44636E23.00007BCF@neal.nelson.name>
Resent-Message-ID: <200605111710.k4BHACIc043039@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97144
>Category:       ports
>Synopsis:       Fix pkg-plist of x11-toolkits/py-wxPython26
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 11 17:10:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Neal Nelson
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD server.home 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May 9 11:53:34 CEST 2006 nealie@server.home:/usr/obj/usr/src/sys/SERVER i386


	
>Description:
	The file wx.pth is created if no other wxPython version is installed but it not
deleted on port removal. On deinstallation the path of the version being
deinstalled should be removed from the file and if the file contains no other
paths it should be deleted.
>How-To-Repeat:
	Install and deinstall the port and the file wx.pth will be in /usr/local/lib/python2.4/site-packages.
>Fix:

	--- pkg-plist.orig   Thu May 11 18:01:48 2006
+++ pkg-plist   Thu May 11 16:24:34 2006
@@ -824,4 +824,3 @@
 @dirrm %%PYTHON_SITELIBDIR%%/%%WX_PYTHON_DIR%%
 @exec echo %%WX_PYTHON_DIR%% >> %D/%%PYTHON_SITELIBDIR%%/wx.pth 2>/dev/null || true
 @exec chmod 0444 %D/%%PYTHON_SITELIBDIR%%/wx.pth 2>/dev/null || true
-@unexec sed -i -e /%%WX_PYTHON_DIR%%/d %D/%%PYTHON_SITELIBDIR%%/wx.pth; if [ ! -s %D/%%PYTHON_SITELIBDIR%%/wx.pth ]; then rm %D/%%PYTHON_SITELIBDIR%%/wx.pth; fi

--- Makefile.orig    Thu May 11 16:48:07 2006
+++ Makefile    Thu May 11 16:24:34 2006
@@ -19,6 +19,8 @@

 RUN_DEPENDS=   ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl

+BROKEN=                Incomplete pkg-plist
+
 WRKSRC=                ${WRKDIR}/${DISTNAME}/wxPython

 USE_GMAKE=     yes



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?courier.44636E23.00007BCF>