diff options
author | miwi <miwi@FreeBSD.org> | 2009-08-18 04:36:03 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-08-18 04:36:03 +0800 |
commit | 598f7c19314be9bfb8bc9e2335482b6d06ba2836 (patch) | |
tree | c3ccc3fc8192d8d3b9c164841eee35f4cd72f57d /converters | |
parent | 8442a8c4b5dc04c591ff2248231267d5676aa47b (diff) | |
download | freebsd-ports-gnome-598f7c19314be9bfb8bc9e2335482b6d06ba2836.tar.gz freebsd-ports-gnome-598f7c19314be9bfb8bc9e2335482b6d06ba2836.tar.zst freebsd-ports-gnome-598f7c19314be9bfb8bc9e2335482b6d06ba2836.zip |
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/
PR: ports/137790
Submitted by: Wen Heping <wenheping at wenheping.com>
Diffstat (limited to 'converters')
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | converters/py-pisa/Makefile | 25 | ||||
-rw-r--r-- | converters/py-pisa/distinfo | 3 | ||||
-rw-r--r-- | converters/py-pisa/pkg-descr | 10 | ||||
-rw-r--r-- | converters/py-pisa/pkg-plist | 90 |
5 files changed, 129 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile index 5658f4be710f..c2ad52745894 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -103,6 +103,7 @@ SUBDIR += py-cjkcodecs SUBDIR += py-iconv SUBDIR += py-iconvcodec + SUBDIR += py-pisa SUBDIR += py-svglib SUBDIR += recode SUBDIR += ruby-dump.rb diff --git a/converters/py-pisa/Makefile b/converters/py-pisa/Makefile new file mode 100644 index 000000000000..b3b54c3692a4 --- /dev/null +++ b/converters/py-pisa/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: py-pisa +# Date created: 15 Aug, 2009 +# Whom: Wen Heping <wenheping@wenheping.com> +# +# $FreeBSD$ +# + +PORTNAME= pisa +PORTVERSION= 3.0.32 +CATEGORIES= converters python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wenheping@gmail.com +COMMENT= PDF generator using HTML and CSS + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.11.1:${PORTSDIR}/www/py-html5lib \ + ${PYTHON_PKGNAMEPREFIX}reportlab>=0:${PORTSDIR}/print/py-reportlab \ + ${PYTHON_PKGNAMEPREFIX}imaging>=0.1:${PORTSDIR}/graphics/py-imaging \ + ${PYTHON_PKGNAMEPREFIX}pdf>=1.12:${PORTSDIR}/print/py-pdf + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install + +.include <bsd.port.mk> diff --git a/converters/py-pisa/distinfo b/converters/py-pisa/distinfo new file mode 100644 index 000000000000..e182ac62a362 --- /dev/null +++ b/converters/py-pisa/distinfo @@ -0,0 +1,3 @@ +MD5 (pisa-3.0.32.tar.gz) = d68f2f76e04b10f73c07ef4df937b243 +SHA256 (pisa-3.0.32.tar.gz) = 8214a5ea9f0917896a806374a1dd07302006621ea920063c663824c25689b189 +SIZE (pisa-3.0.32.tar.gz) = 4517663 diff --git a/converters/py-pisa/pkg-descr b/converters/py-pisa/pkg-descr new file mode 100644 index 000000000000..90488377b72e --- /dev/null +++ b/converters/py-pisa/pkg-descr @@ -0,0 +1,10 @@ +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/ diff --git a/converters/py-pisa/pkg-plist b/converters/py-pisa/pkg-plist new file mode 100644 index 000000000000..ccdd2fb22388 --- /dev/null +++ b/converters/py-pisa/pkg-plist @@ -0,0 +1,90 @@ +bin/pisa +bin/xhtml2pdf +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/pisa/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/pisa/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/pisa/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_context.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_context.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_context.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_default.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_default.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_default.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_document.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_document.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_document.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_paragraph.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_paragraph.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_paragraph.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_paragraph2.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_paragraph2.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_paragraph2.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_parser.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_parser.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_parser.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_pdf.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_pdf.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_pdf.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_reportlab.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_reportlab.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_reportlab.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_tables.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_tables.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_tables.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_tags.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_tags.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_tags.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_turbogears.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_turbogears.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_turbogears.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_util.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_util.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_util.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_version.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_version.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_version.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_wsgi.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_wsgi.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/pisa_wsgi.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/reportlab_paragraph.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/reportlab_paragraph.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3/reportlab_paragraph.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/css.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/css.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/css.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssDOMElementInterface.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssDOMElementInterface.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssDOMElementInterface.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssParser.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssParser.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssParser.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssSpecial.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssSpecial.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c/cssSpecial.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho/pisa +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ho +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/pisa3 +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx/w3c +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sx +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |