From nobody@FreeBSD.org  Sun Sep 18 17:52:03 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E60671065672
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Sep 2011 17:52:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id BCBFE8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Sep 2011 17:52:03 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8IHq3Dc084240
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Sep 2011 17:52:03 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8IHq3uN084239;
	Sun, 18 Sep 2011 17:52:03 GMT
	(envelope-from nobody)
Message-Id: <201109181752.p8IHq3uN084239@red.freebsd.org>
Date: Sun, 18 Sep 2011 17:52:03 GMT
From: Pawel Pekala <pawel@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] print/py-reportlab2 unbreak
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         160807
>Category:       ports
>Synopsis:       [patch] print/py-reportlab2 unbreak
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lwhsu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 18 18:00:25 UTC 2011
>Closed-Date:    Thu Sep 29 05:53:48 UTC 2011
>Last-Modified:  Thu Sep 29 05:53:48 UTC 2011
>Originator:     Pawel Pekala
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD blaviken.slowicza.org 8.2-STABLE FreeBSD 8.2-STABLE #1: Sun Jul  3 15:11:21 CEST 2011     corn@blaviken.slowicza.org:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Couple font files changed name resulting in error while packaging.
This simple patch fixes issue for me.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN -x CVS /usr/ports/print/py-reportlab2/Makefile py-reportlab2/Makefile
--- /usr/ports/print/py-reportlab2/Makefile	2011-09-18 19:20:59.000000000 +0200
+++ py-reportlab2/Makefile	2011-09-18 19:31:26.000000000 +0200
@@ -7,7 +7,7 @@
 
 PORTNAME=	reportlab2
 PORTVERSION=	2.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print python
 MASTER_SITES=	http://www.reportlab.com/ftp/ \
 		ftp://ftp.reportlab.org/
@@ -21,8 +21,6 @@
 
 CONFLICTS=	py2[0-9]-reportlab-[0-9]*
 
-#BROKEN=		does not package
-
 USE_PYTHON=	2.5+
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	reportlab
diff -urN -x CVS /usr/ports/print/py-reportlab2/files/patch-setup.py py-reportlab2/files/patch-setup.py
--- /usr/ports/print/py-reportlab2/files/patch-setup.py	1970-01-01 01:00:00.000000000 +0100
+++ py-reportlab2/files/patch-setup.py	2011-09-18 19:37:31.000000000 +0200
@@ -0,0 +1,17 @@
+--- setup.py.orig	2011-09-18 19:35:35.000000000 +0200
++++ setup.py	2011-09-18 19:36:41.000000000 +0200
+@@ -209,10 +209,10 @@
+         'fonts/_eb_____.pfb',
+         'fonts/_ei_____.pfb',
+         'fonts/_er_____.pfb',
+-        'fonts/Sy______.pfb',
+-        'fonts/Zd______.pfb',
+-        'fonts/Zx______.pfb',
+-        'fonts/Zy______.pfb',
++        'fonts/sy______.pfb',
++        'fonts/zd______.pfb',
++        'fonts/zx______.pfb',
++        'fonts/zy______.pfb',
+         ]
+ 
+ def get_fonts(PACKAGE_DIR, reportlab_files):
diff -urN -x CVS /usr/ports/print/py-reportlab2/pkg-plist py-reportlab2/pkg-plist
--- /usr/ports/print/py-reportlab2/pkg-plist	2010-05-26 14:40:23.000000000 +0200
+++ py-reportlab2/pkg-plist	2011-09-18 19:31:48.000000000 +0200
@@ -29,10 +29,10 @@
 %%PYTHON_SITELIBDIR%%/reportlab/fonts/_eb_____.pfb
 %%PYTHON_SITELIBDIR%%/reportlab/fonts/_ei_____.pfb
 %%PYTHON_SITELIBDIR%%/reportlab/fonts/_er_____.pfb
-%%PYTHON_SITELIBDIR%%/reportlab/fonts/Sy______.pfb
-%%PYTHON_SITELIBDIR%%/reportlab/fonts/Zd______.pfb
-%%PYTHON_SITELIBDIR%%/reportlab/fonts/Zx______.pfb
-%%PYTHON_SITELIBDIR%%/reportlab/fonts/Zy______.pfb
+%%PYTHON_SITELIBDIR%%/reportlab/fonts/sy______.pfb
+%%PYTHON_SITELIBDIR%%/reportlab/fonts/zd______.pfb
+%%PYTHON_SITELIBDIR%%/reportlab/fonts/zx______.pfb
+%%PYTHON_SITELIBDIR%%/reportlab/fonts/zy______.pfb
 %%PYTHON_SITELIBDIR%%/reportlab/graphics/__init__.py
 %%PYTHON_SITELIBDIR%%/reportlab/graphics/__init__.pyc
 %%PYTHON_SITELIBDIR%%/reportlab/graphics/__init__.pyo


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lwhsu 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Sep 18 18:00:38 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160807 
State-Changed-From-To: open->analyzed 
State-Changed-By: lwhsu 
State-Changed-When: Wed Sep 21 05:45:08 UTC 2011 
State-Changed-Why:  
This port downloads external files during process of building, which is prohibited and needs more effort to fix this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160807 
State-Changed-From-To: analyzed->closed 
State-Changed-By: lwhsu 
State-Changed-When: Thu Sep 29 05:53:47 UTC 2011 
State-Changed-Why:  
Fixed in ports/159548. 

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