Date: Sat, 15 Aug 2009 08:44:08 GMT From: Wen Heping <wenheping@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137790: [NEW PORT]textproc/py-pisa:PDF generator using HTML and CSS Message-ID: <200908150844.n7F8i84U002963@www.freebsd.org> Resent-Message-ID: <200908150850.n7F8o3Pn072154@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137790 >Category: ports >Synopsis: [NEW PORT]textproc/py-pisa:PDF generator using HTML and CSS >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: Sat Aug 15 08:50:03 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: pisa is a html2pdf converter using the ReportLab Toolkit, the HTML5lib and pyPdf. It supports HTML 5 and CSS 2.1 (and some of CSS 3). It is completely written in pure Python so it is platform independent. The main benefit of this tool that a user with Web skills like HTML and CSS is able to generate PDF templates very quickly without learning new technologies. Easy integration into Python frameworks like CherryPy, KID Templating, TurboGears, Django, Zope, Plone, Google AppEngine (GAE) etc. WWW: http://www.xhtml2pdf.com/ >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-pisa # py-pisa/Makefile # py-pisa/distinfo # py-pisa/pkg-descr # py-pisa/pkg-plist # echo c - py-pisa mkdir -p py-pisa > /dev/null 2>&1 echo x - py-pisa/Makefile sed 's/^X//' >py-pisa/Makefile << '70cfc7dd90734b09176bc764948b69ac' X# New ports collection makefile for: py-pisa X# Date created: 15 Aug, 2009 X# Whom: Wen Heping <wenheping@wenheping.com> X# X# $FreeBSD$ X# X XPORTNAME= pisa XPORTVERSION= 3.0.32 XCATEGORIES= converters python XMASTER_SITES= CHEESESHOP XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= wenheping@gmail.com XCOMMENT= PDF generator using HTML and CSS X XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.11.1:${PORTSDIR}/www/py-html5lib \ X ${PYTHON_PKGNAMEPREFIX}reportlab>=0:${PORTSDIR}/print/py-reportlab \ X ${PYTHON_PKGNAMEPREFIX}imaging>=0.1:${PORTSDIR}/graphics/py-imaging \ X ${PYTHON_PKGNAMEPREFIX}pdf>=1.12:${PORTSDIR}/print/py-pdf X XUSE_PYTHON= yes XUSE_PYDISTUTILS= easy_install X X.include <bsd.port.mk> 70cfc7dd90734b09176bc764948b69ac echo x - py-pisa/distinfo sed 's/^X//' >py-pisa/distinfo << '781e604345cfd18b31ea7cc07e19a788' XMD5 (pisa-3.0.32.tar.gz) = d68f2f76e04b10f73c07ef4df937b243 XSHA256 (pisa-3.0.32.tar.gz) = 8214a5ea9f0917896a806374a1dd07302006621ea920063c663824c25689b189 XSIZE (pisa-3.0.32.tar.gz) = 4517663 781e604345cfd18b31ea7cc07e19a788 echo x - py-pisa/pkg-descr sed 's/^X//' >py-pisa/pkg-descr << '5bb7648f9552d52400460346e11511fc' Xpisa is a html2pdf converter using the ReportLab Toolkit, the XHTML5lib and pyPdf. It supports HTML 5 and CSS 2.1 (and some Xof CSS 3). It is completely written in pure Python so it is Xplatform independent. The main benefit of this tool that a user Xwith Web skills like HTML and CSS is able to generate PDF Xtemplates very quickly without learning new technologies. Easy Xintegration into Python frameworks like CherryPy, KID Templating, XTurboGears, Django, Zope, Plone, Google AppEngine (GAE) etc. X XWWW: http://www.xhtml2pdf.com/ 5bb7648f9552d52400460346e11511fc echo x - py-pisa/pkg-plist sed 's/^X//' >py-pisa/pkg-plist << 'cc8d5969b1822e7c1f5a841fa6f18649' Xbin/pisa Xbin/xhtml2pdf X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/__init__.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/__init__.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/__init__.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/pisa/__init__.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/pisa/__init__.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/pisa/__init__.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/__init__.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/__init__.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/__init__.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/__init__.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/__init__.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/__init__.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_context.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_context.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_context.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_default.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_default.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_default.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_document.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_document.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_document.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_paragraph.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_paragraph.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_paragraph.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_paragraph2.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_paragraph2.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_paragraph2.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_parser.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_parser.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_parser.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_pdf.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_pdf.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_pdf.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_reportlab.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_reportlab.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_reportlab.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_tables.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_tables.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_tables.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_tags.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_tags.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_tags.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_turbogears.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_turbogears.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_turbogears.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_util.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_util.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_util.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_version.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_version.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_version.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_wsgi.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_wsgi.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_wsgi.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/reportlab_paragraph.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/reportlab_paragraph.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/reportlab_paragraph.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/__init__.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/__init__.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/__init__.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/css.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/css.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/css.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssDOMElementInterface.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssDOMElementInterface.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssDOMElementInterface.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssParser.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssParser.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssParser.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssSpecial.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssSpecial.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssSpecial.pyo X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/pisa X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3 X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% cc8d5969b1822e7c1f5a841fa6f18649 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908150844.n7F8i84U002963>