ports/160807: [patch] print/py-reportlab2 unbreak
Pawel Pekala
pawel at FreeBSD.org
Sun Sep 18 18:00:27 UTC 2011
>Number: 160807
>Category: ports
>Synopsis: [patch] print/py-reportlab2 unbreak
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 18 18:00:25 UTC 2011
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list