From nealie@neal.nelson.name  Thu May 11 17:02:30 2006
Return-Path: <nealie@neal.nelson.name>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4A22616A407
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 May 2006 17:02:30 +0000 (UTC)
	(envelope-from nealie@neal.nelson.name)
Received: from neal.nelson.name (neal.nelson.name [82.139.192.177])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 43CB84425C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 May 2006 17:02:28 +0000 (GMT)
	(envelope-from nealie@neal.nelson.name)
Received: from localhost (localhost [127.0.0.1])
  (uid 1001)
  by neal.nelson.name with local; Thu, 11 May 2006 19:02:27 +0200
  id 000D4C19.44636E23.00007BCF
Message-Id: <courier.44636E23.00007BCF@neal.nelson.name>
Date: Thu, 11 May 2006 19:02:27 +0200
From: Neal Nelson <neal@nelson.name>
Reply-To: Neal Nelson <neal@nelson.name>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Fix pkg-plist of x11-toolkits/py-wxPython26
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         97144
>Category:       ports
>Synopsis:       Fix pkg-plist of x11-toolkits/py-wxPython26
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    stefan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 11 17:10:12 GMT 2006
>Closed-Date:    Sat May 13 21:41:15 GMT 2006
>Last-Modified:  Sat May 13 21:41:15 GMT 2006
>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:
State-Changed-From-To: open->closed 
State-Changed-By: stefan 
State-Changed-When: Sat May 13 19:07:20 UTC 2006 
State-Changed-Why:  
Port has already been marked BROKEN. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97144 
State-Changed-From-To: closed->open 
State-Changed-By: stefan 
State-Changed-When: Sat May 13 19:19:45 UTC 2006 
State-Changed-Why:  
Reopen this PR. Sorry, the reversed patch confused me. 


Responsible-Changed-From-To: freebsd-ports-bugs->stefan 
Responsible-Changed-By: stefan 
Responsible-Changed-When: Sat May 13 19:19:45 UTC 2006 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97144 
State-Changed-From-To: open->closed 
State-Changed-By: stefan 
State-Changed-When: Sat May 13 21:40:48 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97144 
>Unformatted:
