ports/97144: Fix pkg-plist of x11-toolkits/py-wxPython26
Neal Nelson
neal at nelson.name
Thu May 11 17:10:33 UTC 2006
>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 at 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
- at 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:
More information about the freebsd-ports-bugs
mailing list