From sw@gegenunendlich.de  Thu Jun  9 11:56:38 2005
Return-Path: <sw@gegenunendlich.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EFBA616A422;
	Thu,  9 Jun 2005 11:56:37 +0000 (GMT)
	(envelope-from sw@gegenunendlich.de)
Received: from mail.onlinefix.de (mail2-out.titan-networks.de [217.140.72.1])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1CF6443D55;
	Thu,  9 Jun 2005 11:56:33 +0000 (GMT)
	(envelope-from sw@gegenunendlich.de)
Received: from kyuzo.dunkelkammer.void ([217.140.77.242])
	(authenticated bits=0)
	by mail.onlinefix.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id j59BuVKe016156
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);
	Thu, 9 Jun 2005 13:56:32 +0200
Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002)
	id 90AFF3D46; Thu,  9 Jun 2005 13:56:30 +0200 (CEST)
Message-Id: <20050609115630.90AFF3D46@kyuzo.dunkelkammer.void>
Date: Thu,  9 Jun 2005 13:56:30 +0200 (CEST)
From: Stefan Walter <sw@gegenunendlich.de>
Reply-To: Stefan Walter <sw@gegenunendlich.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: lioux@freebsd.org
Subject: [PATCH] devel/py-dateutil: fix plist
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         82062
>Category:       ports
>Synopsis:       [PATCH] devel/py-dateutil: fix plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lioux
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 09 12:00:34 GMT 2005
>Closed-Date:    Wed Jul 20 11:28:45 GMT 2005
>Last-Modified:  Wed Jul 20 11:28:45 GMT 2005
>Originator:     Stefan Walter
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
Infinity Approximation Task Force
>Environment:
System: FreeBSD kyuzo.dunkelkammer.void 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat May 21 12:55:23 CEST 2005 root@kyuzo.dunkelkammer.void:/usr/obj/usr/src/sys/KYUZO i386
>Description:
The setup file of the distribution incorrectly installs a data file into a
hardcoded directory. The included patch fixes that, and adds the missing file
to pkg-plist.
>How-To-Repeat:
	
>Fix:

--- py-dateutil-plist.patch begins here ---
diff -urN /usr/ports/devel/py-dateutil/Makefile ./py-dateutil/Makefile
--- /usr/ports/devel/py-dateutil/Makefile	Tue May 24 20:16:47 2005
+++ ./py-dateutil/Makefile	Thu Jun  9 13:19:13 2005
@@ -15,8 +15,6 @@
 MAINTAINER=	lioux@FreeBSD.org
 COMMENT=	Provides powerful extensions to the standard datetime module
 
-BROKEN=		Incomplete pkg-plist
-
 USE_BZIP2=		yes
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
diff -urN /usr/ports/devel/py-dateutil/files/patch-setup.py ./py-dateutil/files/patch-setup.py
--- /usr/ports/devel/py-dateutil/files/patch-setup.py	Thu Jan  1 01:00:00 1970
+++ ./py-dateutil/files/patch-setup.py	Thu Jun  9 13:44:58 2005
@@ -0,0 +1,10 @@
+--- setup.py.orig	Thu Jun  9 13:41:05 2005
++++ setup.py	Thu Jun  9 13:43:15 2005
+@@ -22,6 +22,5 @@
+ datetime module, available in Python 2.3+.
+ """,
+       packages = ["dateutil", "dateutil.zoneinfo"],
+-      data_files = [(PYTHONLIB+"/dateutil/zoneinfo", 
+-                     glob.glob("dateutil/zoneinfo/zoneinfo*.tar.*"))],
++      package_data={"dateutil.zoneinfo": ["zoneinfo*.tar.*"]},
+       )
diff -urN /usr/ports/devel/py-dateutil/pkg-plist ./py-dateutil/pkg-plist
--- /usr/ports/devel/py-dateutil/pkg-plist	Sun May  8 09:17:40 2005
+++ ./py-dateutil/pkg-plist	Thu Jun  9 13:44:15 2005
@@ -22,6 +22,7 @@
 %%PYTHON_SITELIBDIR%%/dateutil/zoneinfo/__init__.py
 %%PYTHON_SITELIBDIR%%/dateutil/zoneinfo/__init__.pyc
 %%PYTHON_SITELIBDIR%%/dateutil/zoneinfo/__init__.pyo
+%%PYTHON_SITELIBDIR%%/dateutil/zoneinfo/zoneinfo-2005e.tar.gz
 @dirrm %%PYTHON_SITELIBDIR%%/dateutil/zoneinfo
 @dirrm %%PYTHON_SITELIBDIR%%/dateutil
 @unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || true
--- py-dateutil-plist.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lioux 
Responsible-Changed-By: pav 
Responsible-Changed-When: Fri Jun 10 18:29:20 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82062 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Wed Jul 20 11:28:37 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

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