From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 3 16:10:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E3241065670 for ; Mon, 3 Aug 2009 16:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 594498FC15 for ; Mon, 3 Aug 2009 16:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n73GA1rr024567 for ; Mon, 3 Aug 2009 16:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n73GA1Cb024566; Mon, 3 Aug 2009 16:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 3 Aug 2009 16:10:01 GMT Resent-Message-Id: <200908031610.n73GA1Cb024566@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, Wen Heping Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 487611065670 for ; Mon, 3 Aug 2009 16:00:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3649D8FC2F for ; Mon, 3 Aug 2009 16:00:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n73G0UHB091295 for ; Mon, 3 Aug 2009 16:00:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n73G0TVC091294; Mon, 3 Aug 2009 16:00:29 GMT (envelope-from nobody) Message-Id: <200908031600.n73G0TVC091294@www.freebsd.org> Date: Mon, 3 Aug 2009 16:00:29 GMT From: Wen Heping To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/137396: [Patch]print/py-reportlab:welcome python2.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2009 16:10:01 -0000 >Number: 137396 >Category: ports >Synopsis: [Patch]print/py-reportlab:welcome python2.6 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Aug 03 16:10:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Wen Heping >Release: FreeBSD 8.0-Current >Organization: ChangAn Middle School >Environment: FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Mar 22 22:12:06 CST 2009 root@fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: Since "with" is keyword in Python2.6 now, we could not use "with" as the variable name. It could fix the build error of print/py-reportlab itself and fix the run error of ports which require print/py-reportlab, such as openerp-server. Thanks to Peter Pieczora. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2009-08-03 23:51:17.000000000 +0800 +++ Makefile 2009-08-03 23:51:17.000000000 +0800 @@ -7,7 +7,7 @@ PORTNAME= reportlab PORTVERSION= 1.21.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print python MASTER_SITES= http://www.reportlab.org/ftp/ \ ftp://ftp.reportlab.org/ \ @@ -34,6 +34,7 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/rl_config.py + @${REINPLACE_CMD} -e 's#with#with26#g' ${WRKSRC}/lib/PyFontify.py .include --- pkg-plist.orig 2009-08-03 23:51:17.000000000 +0800 +++ pkg-plist 2009-08-03 23:51:17.000000000 +0800 @@ -210,6 +210,8 @@ %%PYTHON_SITELIBDIR%%/reportlab/graphics/widgets/signsandsymbols.pyc %%PYTHON_SITELIBDIR%%/reportlab/graphics/widgets/signsandsymbols.pyo %%PYTHON_SITELIBDIR%%/reportlab/lib/PyFontify.py +%%PYTHON_SITELIBDIR%%/reportlab/lib/PyFontify.pyc +%%PYTHON_SITELIBDIR%%/reportlab/lib/PyFontify.pyo %%PYTHON_SITELIBDIR%%/reportlab/lib/__init__.py %%PYTHON_SITELIBDIR%%/reportlab/lib/__init__.pyc %%PYTHON_SITELIBDIR%%/reportlab/lib/__init__.pyo >Release-Note: >Audit-Trail: >Unformatted: