On Sun, Jan 04, 2009 at 08:31:09AM +0000, Federico G. Schwindt wrote:
> > Could some python expert step in, please?
>
> removing patch-reportlab_setup_py fixes this.
Oh, life can be so easy. Thanks.
Update diff:
Index: Makefile
===================================================================
RCS file: /cvs/ports/print/py-reportlab/reportlab/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile 5 Nov 2007 09:44:19 -0000 1.9
+++ Makefile 4 Jan 2009 12:02:28 -0000
@@ -4,7 +4,7 @@ COMMENT= PDF-generating toolkit for Pyth
VERSION= 2.1
DISTNAME= ReportLab_${VERSION:S/./_/}
-PKGNAME= py-reportlab-${VERSION}
+PKGNAME= py-reportlab-${VERSION}p0
CATEGORIES= print graphics
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
@@ -14,7 +14,7 @@ HOMEPAGE= http://www.reportlab.org/rl_to
MAINTAINER= Aleksander Piotrowski <[email protected]>
-# BSD - LGPL
+# BSD, LGPLv2, MPL1.0, MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
@@ -26,8 +26,7 @@ EXTRACT_SUFX= .tgz
MODULES= lang/python
-RUN_DEPENDS= :py-Imaging-*:graphics/py-Imaging \
- ${MODPY_EXPAT_DEPENDS}
+RUN_DEPENDS= :py-Imaging-*:graphics/py-Imaging
WRKDIST= ${WRKDIR}/reportlab_${VERSION:S/./_/}
WRKSRC= ${WRKDIST}/reportlab
Index: patches/patch-reportlab_setup_py
===================================================================
RCS file: patches/patch-reportlab_setup_py
diff -N patches/patch-reportlab_setup_py
--- patches/patch-reportlab_setup_py 5 Nov 2007 09:44:19 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-reportlab_setup_py,v 1.2 2007/11/05 09:44:19 ajacoutot Exp $
---- reportlab/setup.py.orig Fri Nov 2 09:30:14 2007
-+++ reportlab/setup.py Fri Nov 2 09:30:48 2007
-@@ -18,7 +18,7 @@ abspath = os.path.abspath
- isfile = os.path.isfile
- isdir = os.path.isfile
- dirname = os.path.dirname
--package_path = pjoin(package_home(distutils.__dict__), 'site-packages',
'reportlab')
-+package_path =
pjoin(os.environ['PREFIX']+package_home(distutils.__dict__).replace(os.environ['LOCALBASE'],
''), 'site-packages', 'reportlab')
-
- def get_version():
- #determine Version