From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 9 12:00:36 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC43D16A422 for ; Thu, 9 Jun 2005 12:00:36 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB94943D5E for ; Thu, 9 Jun 2005 12:00:35 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j59C0ZGY082101 for ; Thu, 9 Jun 2005 12:00:35 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j59C0ZB4082095; Thu, 9 Jun 2005 12:00:35 GMT (envelope-from gnats) Resent-Date: Thu, 9 Jun 2005 12:00:35 GMT Resent-Message-Id: <200506091200.j59C0ZB4082095@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stefan Walter 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: lioux@FreeBSD.org Subject: ports/82062: [PATCH] devel/py-dateutil: fix plist X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stefan Walter List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2005 12:00:36 -0000 >Number: 82062 >Category: ports >Synopsis: [PATCH] devel/py-dateutil: fix plist >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Jun 09 12:00:34 GMT 2005 >Closed-Date: >Last-Modified: >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: >Unformatted: