Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 08:15:56 +0900 (KST)
From:      Hye-Shik Chang <perky@fallin.lv>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38754: Update port: print/py-reportlab
Message-ID:  <200205302315.g4UNFuFn029866@akaraka.yonsei.ac.kr>

next in thread | raw e-mail | index | archive | help

>Number:         38754
>Category:       ports
>Synopsis:       Update port: print/py-reportlab
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 30 16:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Yonsei University
>Environment:
System: FreeBSD akaraka.yonsei.ac.kr 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Sun May 5 12:24:46 KST 2002 root@akaraka.yonsei.ac.kr:/usr/src/sys/i386/compile/JOARRA i386

>Description:
Update to 1.14

>How-To-Repeat:
>Fix:

diff -ruN py-reportlab.orig/Makefile py-reportlab/Makefile
--- py-reportlab.orig/Makefile	Sat May 11 17:23:24 2002
+++ py-reportlab/Makefile	Fri May 31 08:10:01 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	reportlab
-PORTVERSION=	1.13
+PORTVERSION=	1.14
 CATEGORIES=	print python
 MASTER_SITES=	ftp://ftp.reportlab.com/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,25 +19,14 @@
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
-WRKSRC=		${WRKDIR}/reportlab
-CONFIGURE_ENV=	PYTHON=${PYTHON_CMD}
-ALL_TARGET=	sharedmods
-MAKE_FLAGS=	OPT="${CFLAGS}"
+NO_WRKSUBDIR=	yes
 
 REPORTLABDIR=	${PREFIX}/lib/${PYTHON_VERSION}/site-packages/reportlab
 DOCDIR=		${PREFIX}/share/doc/reportlab
 EXAMPLEDIR=	${PREFIX}/share/examples/reportlab
 
 post-patch:
-	${MV} ${WRKSRC}/lib/setup.py ${WRKDIR}
-
-do-build:
-	@(cd ${WRKDIR}; \
-		${PYTHON_CMD} setup.py build)
-
-do-install:
-	@(cd ${WRKDIR}; \
-		${PYTHON_CMD} setup.py install -c -O1 --prefix="${PREFIX}")
+	${MV} ${WRKSRC}/reportlab/lib/setup.py ${WRKDIR}
 
 post-install:
 	${MKDIR} ${REPORTLABDIR}/fonts
@@ -48,10 +37,10 @@
 
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${EXAMPLEDIR}
-	cd ${WRKSRC}/demos; tar cpf - * | (cd ${EXAMPLEDIR}; tar xpf -)
+	cd ${WRKSRC}/reportlab/demos; tar cpf - * | (cd ${EXAMPLEDIR}; tar xpf -)
 
 	@${MKDIR} ${DOCDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/*.pdf ${DOCDIR}
+	${INSTALL_DATA} ${WRKSRC}/reportlab/docs/*.pdf ${DOCDIR}
 .endif
 
 .include <bsd.port.mk>
diff -ruN py-reportlab.orig/distinfo py-reportlab/distinfo
--- py-reportlab.orig/distinfo	Sat Mar 30 12:34:39 2002
+++ py-reportlab/distinfo	Fri May 31 07:34:10 2002
@@ -1 +1 @@
-MD5 (ReportLab_1_13.tgz) = 849f5dbd9c5afa51d7ff748b83385eec
+MD5 (ReportLab_1_14.tgz) = 15a53dcad45bbbdf125c8ff64e535f36
diff -ruN py-reportlab.orig/files/patch-lib::setup.py py-reportlab/files/patch-lib::setup.py
--- py-reportlab.orig/files/patch-lib::setup.py	Sat Mar 23 21:53:34 2002
+++ py-reportlab/files/patch-lib::setup.py	Fri May 31 08:04:04 2002
@@ -1,11 +1,11 @@
---- lib/setup.py.orig	Mon Jul 23 20:38:19 2001
-+++ lib/setup.py	Sat Mar 23 09:14:04 2002
+--- reportlab/lib/setup.py.orig	Sun May 26 18:30:32 2002
++++ reportlab/lib/setup.py	Fri May 31 07:38:09 2002
 @@ -7,7 +7,7 @@
  	import os, sys
  	from distutils.core import setup, Extension
  
--	if sys.platform in ['win32', 'sunos5', 'freebsd4', 'aix4', 'mac']:
-+	if sys.platform in ['win32', 'sunos5', 'freebsd4', 'freebsd5', 'aix4', 'mac']:
+-	if sys.platform in ['win32', 'sunos5', 'freebsd4', 'aix4', 'mac', 'darwin']:
++	if sys.platform in ['win32', 'sunos5', 'freebsd4', 'freebsd5', 'aix4', 'mac', 'darwin']:
  		LIBS=[]
  	else:
  		raise ValueError, "Don't know about platform:"+sys.platform
diff -ruN py-reportlab.orig/pkg-plist py-reportlab/pkg-plist
--- py-reportlab.orig/pkg-plist	Sat Mar 23 21:53:34 2002
+++ py-reportlab/pkg-plist	Fri May 31 07:46:20 2002
@@ -18,6 +18,9 @@
 lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderPS.py
 lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderPS.pyc
 lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderPS.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderSVG.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderSVG.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderSVG.pyo
 lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderbase.py
 lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderbase.pyc
 lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderbase.pyo
@@ -123,6 +126,9 @@
 lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfutils.py
 lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfutils.pyc
 lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfutils.pyo
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/ttfonts.py
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/ttfonts.pyc
+lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/ttfonts.pyo
 lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/__init__.py
 lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/__init__.pyc
 lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen/__init__.pyo
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205302315.g4UNFuFn029866>