Date: Tue, 8 Jan 2002 23:04:25 -0800 (PST) From: Hye-Shik Chang <perky@fallin.lv> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/33717: Update port: print/py-reportlab (currently broken) Message-ID: <200201090704.g0974Pe90953@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 33717 >Category: ports >Synopsis: Update port: print/py-reportlab (currently broken) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jan 08 23:10:09 PST 2002 >Closed-Date: >Last-Modified: >Originator: Hye-Shik Chang >Release: FreeBSD 4.4 >Organization: Yonsei University >Environment: FreeBSD perky.dnip.net 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Fri Dec 28 21:27:47 KST 2001 root@perky.dnip.net:/usr/src/sys/compile/KENNY i386 >Description: - Update to 1.11 - Assign me as maintainer if I can - Change to use Distutils - Make installing examples optional (this port is broken on python2.2 because 2.2 doesn't have Makefile.pre.in) Added : files/patch-lib::setup.py >How-To-Repeat: >Fix: diff -ruN py-reportlab.orig/Makefile py-reportlab/Makefile --- py-reportlab.orig/Makefile Mon Sep 17 16:16:26 2001 +++ py-reportlab/Makefile Wed Jan 9 15:52:22 2002 @@ -6,13 +6,16 @@ # PORTNAME= reportlab -PORTVERSION= 1.09 +PORTVERSION= 1.11 CATEGORIES= print python MASTER_SITES= ftp://ftp.reportlab.com/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTFILES= ReportLab_${PORTVERSION:S/./_/}.tgz +DISTNAME= ReportLab_${PORTVERSION:S/./_/} +EXTRACT_SUFX= .tgz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= perky@fallin.lv + +BUILD_DEPENDS= ${PYDISTUTILS} USE_PYTHON= yes WRKSRC= ${WRKDIR}/reportlab @@ -24,33 +27,30 @@ DOCDIR= ${PREFIX}/share/doc/reportlab EXAMPLEDIR= ${PREFIX}/share/examples/reportlab -post-extract: - @${CP} ${PYTHON_LIBDIR}/config/Makefile.pre.in ${WRKSRC}/lib - -do-configure: - @(cd ${WRKSRC}/lib; \ - ${SETENV} ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot) +post-patch: + ${MV} ${WRKSRC}/lib/setup.py ${WRKDIR} do-build: - @(cd ${WRKSRC}/lib; \ - ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}) + @(cd ${WRKDIR}; \ + ${PYTHON_CMD} setup.py build) do-install: @${MKDIR} ${REPORTLABDIR} -.for dir in . lib pdfbase pdfgen platypus +.for dir in . lib extensions graphics pdfbase pdfgen platypus @${MKDIR} ${REPORTLABDIR}/${dir} ${INSTALL_DATA} ${WRKSRC}/${dir}/*.py ${REPORTLABDIR}/${dir} - -${INSTALL_DATA} ${WRKSRC}/${dir}/*.so ${REPORTLABDIR}/${dir} .endfor + @(cd ${WRKDIR}; \ + ${PYTHON_CMD} setup.py install) @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${REPORTLABDIR} @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${REPORTLABDIR} +.if !defined(NOPORTDOCS) @${MKDIR} ${EXAMPLEDIR} cd ${WRKSRC}/demos; tar cpf - * | (cd ${EXAMPLEDIR}; tar xpf -) -.if !defined(NOPORTDOCS) @${MKDIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/*.pdf ${DOCDIR} .endif .include <bsd.port.mk> diff -ruN py-reportlab.orig/distinfo py-reportlab/distinfo --- py-reportlab.orig/distinfo Mon Sep 17 16:16:26 2001 +++ py-reportlab/distinfo Wed Jan 9 15:30:47 2002 @@ -1 +1 @@ -MD5 (ReportLab_1_09.tgz) = 4f1e5c8cad64e1ae9b40ff49b1ba6410 +MD5 (ReportLab_1_11.tgz) = 4f76901de9a5d8f09052df4fc7c1eebd 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 Thu Jan 1 09:00:00 1970 +++ py-reportlab/files/patch-lib::setup.py Fri Jan 4 08:28:15 2002 @@ -0,0 +1,33 @@ +--- lib/setup.py.orig Fri Jan 4 08:08:55 2002 ++++ lib/setup.py Fri Jan 4 08:11:04 2002 +@@ -18,23 +18,23 @@ + author = "Robin Becker", + author_email = "robin@reportlab.com", + url = "http://www.reportlab.com", +- packages = [], +- ext_modules = [Extension( '_rl_accel', +- ['_rl_accel.c'], ++ packages = ['reportlab'], ++ ext_modules = [Extension( 'reportlab.lib._rl_accel', ++ ['reportlab/lib/_rl_accel.c'], + include_dirs=[], + define_macros=[], + library_dirs=[], + libraries=LIBS, # libraries to link against + ), +- Extension( 'sgmlop', +- ['sgmlop.c'], ++ Extension( 'reportlab.lib.sgmlop', ++ ['reportlab/lib/sgmlop.c'], + include_dirs=[], + define_macros=[], + library_dirs=[], + libraries=LIBS, # libraries to link against + ), +- Extension( 'pyHnj', +- ['pyHnjmodule.c','hyphen.c', 'hnjalloc.c'], ++ Extension( 'reportlab.lib.pyHnj', ++ ['reportlab/lib/pyHnjmodule.c','reportlab/lib/hyphen.c', 'reportlab/lib/hnjalloc.c'], + include_dirs=[], + define_macros=[], + library_dirs=[], diff -ruN py-reportlab.orig/pkg-plist py-reportlab/pkg-plist --- py-reportlab.orig/pkg-plist Tue Dec 25 07:39:08 2001 +++ py-reportlab/pkg-plist Wed Jan 9 15:54:28 2002 @@ -1,6 +1,36 @@ lib/%%PYTHON_VERSION%%/site-packages/reportlab/__init__.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/__init__.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/__init__.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/extensions/__init__.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/extensions/__init__.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/extensions/__init__.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/__init__.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/__init__.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/__init__.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderPDF.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderPDF.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderPDF.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderPM.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderPM.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderPM.pyo +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/renderbase.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderbase.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/renderbase.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/shapes.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/shapes.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/shapes.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/testdrawings.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/testdrawings.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/testdrawings.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/testshapes.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/testshapes.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/testshapes.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/widgetbase.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/widgetbase.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics/widgetbase.pyo lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/PyFontify.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/PyFontify.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/PyFontify.pyo @@ -14,27 +44,24 @@ lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/attrmap.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/attrmap.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/attrmap.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/codecharts.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/codecharts.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/codecharts.pyo lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/colors.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/colors.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/colors.pyo lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/corp.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/corp.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/corp.pyo -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/docpy.py -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/docpy.pyc -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/docpy.pyo lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/enums.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/enums.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/enums.pyo lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/fonts.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/fonts.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/fonts.pyo -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/graphdocpy.py -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/graphdocpy.pyc -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/graphdocpy.pyo -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/inspect.py -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/inspect.pyc -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/inspect.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/formatters.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/formatters.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/formatters.pyo lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/logger.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/logger.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/logger.pyo @@ -44,16 +71,13 @@ lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/pagesizes.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/pagesizes.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/pagesizes.pyo -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/pyHnjmodule.so +lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/pyHnj.so lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/randomtext.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/randomtext.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/randomtext.pyo lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/sequencer.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/sequencer.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/sequencer.pyo -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/setup.py -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/setup.pyc -lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/setup.pyo lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/sgmlop.so lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/styles.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib/styles.pyc @@ -79,9 +103,15 @@ lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/__init__.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/__init__.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/__init__.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/_cidfontdata.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/_cidfontdata.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/_cidfontdata.pyo lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/_fontdata.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/_fontdata.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/_fontdata.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/cidfonts.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/cidfonts.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/cidfonts.pyo lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfdoc.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfdoc.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase/pdfdoc.pyo @@ -115,6 +145,9 @@ lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/doctemplate.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/doctemplate.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/doctemplate.pyo +lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/figures.py +lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/figures.pyc +lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/figures.pyo lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/flowables.py lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/flowables.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus/flowables.pyo @@ -140,51 +173,31 @@ lib/%%PYTHON_VERSION%%/site-packages/reportlab/rl_config.pyc lib/%%PYTHON_VERSION%%/site-packages/reportlab/rl_config.pyo %%PORTDOCS%%share/doc/reportlab/graphguide.pdf +%%PORTDOCS%%share/doc/reportlab/graphics_reference.pdf %%PORTDOCS%%share/doc/reportlab/reference.pdf %%PORTDOCS%%share/doc/reportlab/userguide.pdf -share/examples/reportlab/colors/colortest.py -share/examples/reportlab/gadflypaper/00readme.txt -share/examples/reportlab/gadflypaper/gfe.py -share/examples/reportlab/odyssey/00readme.txt -share/examples/reportlab/odyssey/dodyssey.py -share/examples/reportlab/odyssey/fodyssey.py -share/examples/reportlab/odyssey/odyssey.py -share/examples/reportlab/odyssey/odyssey.txt -share/examples/reportlab/py2pdf/00readme.txt -share/examples/reportlab/py2pdf/demo-config.txt -share/examples/reportlab/py2pdf/demo.py -share/examples/reportlab/py2pdf/idle_print.py -share/examples/reportlab/py2pdf/py2pdf.py -share/examples/reportlab/py2pdf/vertpython.jpg -share/examples/reportlab/pythonpoint/00readme.txt -share/examples/reportlab/pythonpoint/customshapes.py -share/examples/reportlab/pythonpoint/leftlogo.a85 -share/examples/reportlab/pythonpoint/leftlogo.gif -share/examples/reportlab/pythonpoint/lj8100.jpg -share/examples/reportlab/pythonpoint/monterey.xml -share/examples/reportlab/pythonpoint/outline.gif -share/examples/reportlab/pythonpoint/python.gif -share/examples/reportlab/pythonpoint/pythonpoint.py -share/examples/reportlab/pythonpoint/pythonpoint.xml -share/examples/reportlab/pythonpoint/spectrum.png -share/examples/reportlab/pythonpoint/stdparser.py -share/examples/reportlab/pythonpoint/styles_horrible.py -share/examples/reportlab/pythonpoint/styles_modern.py -share/examples/reportlab/pythonpoint/vertpython.gif -share/examples/reportlab/stdfonts/00readme.txt -share/examples/reportlab/stdfonts/stdfonts.py -share/examples/reportlab/tests/testdemos.py -@dirrm share/examples/reportlab/tests -@dirrm share/examples/reportlab/stdfonts -@dirrm share/examples/reportlab/pythonpoint -@dirrm share/examples/reportlab/py2pdf -@dirrm share/examples/reportlab/odyssey -@dirrm share/examples/reportlab/gadflypaper -@dirrm share/examples/reportlab/colors -@dirrm share/examples/reportlab +%%PORTDOCS%%share/examples/reportlab/colors/colortest.py +%%PORTDOCS%%share/examples/reportlab/gadflypaper/00readme.txt +%%PORTDOCS%%share/examples/reportlab/gadflypaper/gfe.py +%%PORTDOCS%%share/examples/reportlab/odyssey/00readme.txt +%%PORTDOCS%%share/examples/reportlab/odyssey/dodyssey.py +%%PORTDOCS%%share/examples/reportlab/odyssey/fodyssey.py +%%PORTDOCS%%share/examples/reportlab/odyssey/odyssey.py +%%PORTDOCS%%share/examples/reportlab/odyssey/odyssey.txt +%%PORTDOCS%%share/examples/reportlab/stdfonts/00readme.txt +%%PORTDOCS%%share/examples/reportlab/stdfonts/stdfonts.py +%%PORTDOCS%%share/examples/reportlab/tests/testdemos.py +%%PORTDOCS%%@dirrm share/examples/reportlab/tests +%%PORTDOCS%%@dirrm share/examples/reportlab/stdfonts +%%PORTDOCS%%@dirrm share/examples/reportlab/odyssey +%%PORTDOCS%%@dirrm share/examples/reportlab/gadflypaper +%%PORTDOCS%%@dirrm share/examples/reportlab/colors +%%PORTDOCS%%@dirrm share/examples/reportlab %%PORTDOCS%%@dirrm share/doc/reportlab @dirrm lib/%%PYTHON_VERSION%%/site-packages/reportlab/platypus @dirrm lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfgen @dirrm lib/%%PYTHON_VERSION%%/site-packages/reportlab/pdfbase @dirrm lib/%%PYTHON_VERSION%%/site-packages/reportlab/lib +@dirrm lib/%%PYTHON_VERSION%%/site-packages/reportlab/graphics +@dirrm lib/%%PYTHON_VERSION%%/site-packages/reportlab/extensions @dirrm lib/%%PYTHON_VERSION%%/site-packages/reportlab >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?200201090704.g0974Pe90953>