diff options
author | miwi <miwi@FreeBSD.org> | 2008-06-28 22:56:35 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-06-28 22:56:35 +0800 |
commit | 0fc766edafe785287f8d222709affb12fc7a161a (patch) | |
tree | bc925fdcfa73890dd81c46cadfbdf3a5b2d1d582 /devel/py-odfpy | |
parent | 7bbb21d2f3f7b6bba65ddcf1b6150a5395a2e74f (diff) | |
download | freebsd-ports-gnome-0fc766edafe785287f8d222709affb12fc7a161a.tar.gz freebsd-ports-gnome-0fc766edafe785287f8d222709affb12fc7a161a.tar.zst freebsd-ports-gnome-0fc766edafe785287f8d222709affb12fc7a161a.zip |
Odfpy aims to be a complete API for OpenDocument in Python. Unlike other more
convenient APIs, this one is essentially an abstraction layer just above the
XML format. The main focus has been to prevent the programmer from creating
invalid documents. It has checks that raise an exception if the programmer adds
an invalid element, adds an attribute unknown to the grammar, forgets to add
a required attribute or adds text to an element that doesn't allow it.
WWW: http://opendocumentfellowship.com/development/projects/odfpy
PR: ports/125038
Submitted by: Wen Heping <wenheping at gmail.com>
Diffstat (limited to 'devel/py-odfpy')
-rw-r--r-- | devel/py-odfpy/Makefile | 23 | ||||
-rw-r--r-- | devel/py-odfpy/distinfo | 3 | ||||
-rw-r--r-- | devel/py-odfpy/pkg-descr | 8 | ||||
-rw-r--r-- | devel/py-odfpy/pkg-plist | 104 |
4 files changed, 138 insertions, 0 deletions
diff --git a/devel/py-odfpy/Makefile b/devel/py-odfpy/Makefile new file mode 100644 index 000000000000..b5897262f40c --- /dev/null +++ b/devel/py-odfpy/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: odfpy +# Date created: 27 June 2008 +# Whom: Wen Heping <wenheping@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= odfpy +PORTVERSION= 0.7 +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_CHEESESHOP}source/o/odfpy/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wenheping@gmail.com +COMMENT= Python API and Tools to Manipulate OpenDocument Files + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_PKGNAME= odf +PYDISTUTILS_NOEGGINFO= yes +#PYDISTUTILS_EGGINFO= odfpy-0.7-py${PYTHON_VER}.egg-info + +.include <bsd.port.mk> diff --git a/devel/py-odfpy/distinfo b/devel/py-odfpy/distinfo new file mode 100644 index 000000000000..c9ab2c25a6ee --- /dev/null +++ b/devel/py-odfpy/distinfo @@ -0,0 +1,3 @@ +MD5 (odfpy-0.7.tar.gz) = 47299cfe587c01913aea2fe6d40a8806 +SHA256 (odfpy-0.7.tar.gz) = 9480a23e3066bbe76110f1ef13a7ec6b2c0335c94b82633c53af44a40427e829 +SIZE (odfpy-0.7.tar.gz) = 190427 diff --git a/devel/py-odfpy/pkg-descr b/devel/py-odfpy/pkg-descr new file mode 100644 index 000000000000..ca698cdcb70f --- /dev/null +++ b/devel/py-odfpy/pkg-descr @@ -0,0 +1,8 @@ +Odfpy aims to be a complete API for OpenDocument in Python. Unlike other more +convenient APIs, this one is essentially an abstraction layer just above the +XML format. The main focus has been to prevent the programmer from creating +invalid documents. It has checks that raise an exception if the programmer adds +an invalid element, adds an attribute unknown to the grammar, forgets to add +a required attribute or adds text to an element that doesn't allow it. + +WWW: http://opendocumentfellowship.com/development/projects/odfpy diff --git a/devel/py-odfpy/pkg-plist b/devel/py-odfpy/pkg-plist new file mode 100644 index 000000000000..5ca554448efb --- /dev/null +++ b/devel/py-odfpy/pkg-plist @@ -0,0 +1,104 @@ +%%PYTHON_SITELIBDIR%%/odf/__init__.py +%%PYTHON_SITELIBDIR%%/odf/__init__.pyc +%%PYTHON_SITELIBDIR%%/odf/__init__.pyo +%%PYTHON_SITELIBDIR%%/odf/anim.py +%%PYTHON_SITELIBDIR%%/odf/anim.pyc +%%PYTHON_SITELIBDIR%%/odf/anim.pyo +%%PYTHON_SITELIBDIR%%/odf/attrconverters.py +%%PYTHON_SITELIBDIR%%/odf/attrconverters.pyc +%%PYTHON_SITELIBDIR%%/odf/attrconverters.pyo +%%PYTHON_SITELIBDIR%%/odf/chart.py +%%PYTHON_SITELIBDIR%%/odf/chart.pyc +%%PYTHON_SITELIBDIR%%/odf/chart.pyo +%%PYTHON_SITELIBDIR%%/odf/config.py +%%PYTHON_SITELIBDIR%%/odf/config.pyc +%%PYTHON_SITELIBDIR%%/odf/config.pyo +%%PYTHON_SITELIBDIR%%/odf/dc.py +%%PYTHON_SITELIBDIR%%/odf/dc.pyc +%%PYTHON_SITELIBDIR%%/odf/dc.pyo +%%PYTHON_SITELIBDIR%%/odf/dr3d.py +%%PYTHON_SITELIBDIR%%/odf/dr3d.pyc +%%PYTHON_SITELIBDIR%%/odf/dr3d.pyo +%%PYTHON_SITELIBDIR%%/odf/draw.py +%%PYTHON_SITELIBDIR%%/odf/draw.pyc +%%PYTHON_SITELIBDIR%%/odf/draw.pyo +%%PYTHON_SITELIBDIR%%/odf/element.py +%%PYTHON_SITELIBDIR%%/odf/element.pyc +%%PYTHON_SITELIBDIR%%/odf/element.pyo +%%PYTHON_SITELIBDIR%%/odf/form.py +%%PYTHON_SITELIBDIR%%/odf/form.pyc +%%PYTHON_SITELIBDIR%%/odf/form.pyo +%%PYTHON_SITELIBDIR%%/odf/grammar.py +%%PYTHON_SITELIBDIR%%/odf/grammar.pyc +%%PYTHON_SITELIBDIR%%/odf/grammar.pyo +%%PYTHON_SITELIBDIR%%/odf/load.py +%%PYTHON_SITELIBDIR%%/odf/load.pyc +%%PYTHON_SITELIBDIR%%/odf/load.pyo +%%PYTHON_SITELIBDIR%%/odf/manifest.py +%%PYTHON_SITELIBDIR%%/odf/manifest.pyc +%%PYTHON_SITELIBDIR%%/odf/manifest.pyo +%%PYTHON_SITELIBDIR%%/odf/math.py +%%PYTHON_SITELIBDIR%%/odf/math.pyc +%%PYTHON_SITELIBDIR%%/odf/math.pyo +%%PYTHON_SITELIBDIR%%/odf/meta.py +%%PYTHON_SITELIBDIR%%/odf/meta.pyc +%%PYTHON_SITELIBDIR%%/odf/meta.pyo +%%PYTHON_SITELIBDIR%%/odf/namespaces.py +%%PYTHON_SITELIBDIR%%/odf/namespaces.pyc +%%PYTHON_SITELIBDIR%%/odf/namespaces.pyo +%%PYTHON_SITELIBDIR%%/odf/number.py +%%PYTHON_SITELIBDIR%%/odf/number.pyc +%%PYTHON_SITELIBDIR%%/odf/number.pyo +%%PYTHON_SITELIBDIR%%/odf/odf2xhtml.py +%%PYTHON_SITELIBDIR%%/odf/odf2xhtml.pyc +%%PYTHON_SITELIBDIR%%/odf/odf2xhtml.pyo +%%PYTHON_SITELIBDIR%%/odf/odfmanifest.py +%%PYTHON_SITELIBDIR%%/odf/odfmanifest.pyc +%%PYTHON_SITELIBDIR%%/odf/odfmanifest.pyo +%%PYTHON_SITELIBDIR%%/odf/office.py +%%PYTHON_SITELIBDIR%%/odf/office.pyc +%%PYTHON_SITELIBDIR%%/odf/office.pyo +%%PYTHON_SITELIBDIR%%/odf/ooostyles.py +%%PYTHON_SITELIBDIR%%/odf/ooostyles.pyc +%%PYTHON_SITELIBDIR%%/odf/ooostyles.pyo +%%PYTHON_SITELIBDIR%%/odf/opendocument.py +%%PYTHON_SITELIBDIR%%/odf/opendocument.pyc +%%PYTHON_SITELIBDIR%%/odf/opendocument.pyo +%%PYTHON_SITELIBDIR%%/odf/presentation.py +%%PYTHON_SITELIBDIR%%/odf/presentation.pyc +%%PYTHON_SITELIBDIR%%/odf/presentation.pyo +%%PYTHON_SITELIBDIR%%/odf/script.py +%%PYTHON_SITELIBDIR%%/odf/script.pyc +%%PYTHON_SITELIBDIR%%/odf/script.pyo +%%PYTHON_SITELIBDIR%%/odf/style.py +%%PYTHON_SITELIBDIR%%/odf/style.pyc +%%PYTHON_SITELIBDIR%%/odf/style.pyo +%%PYTHON_SITELIBDIR%%/odf/svg.py +%%PYTHON_SITELIBDIR%%/odf/svg.pyc +%%PYTHON_SITELIBDIR%%/odf/svg.pyo +%%PYTHON_SITELIBDIR%%/odf/table.py +%%PYTHON_SITELIBDIR%%/odf/table.pyc +%%PYTHON_SITELIBDIR%%/odf/table.pyo +%%PYTHON_SITELIBDIR%%/odf/text.py +%%PYTHON_SITELIBDIR%%/odf/text.pyc +%%PYTHON_SITELIBDIR%%/odf/text.pyo +%%PYTHON_SITELIBDIR%%/odf/thumbnail.py +%%PYTHON_SITELIBDIR%%/odf/thumbnail.pyc +%%PYTHON_SITELIBDIR%%/odf/thumbnail.pyo +%%PYTHON_SITELIBDIR%%/odf/userfield.py +%%PYTHON_SITELIBDIR%%/odf/userfield.pyc +%%PYTHON_SITELIBDIR%%/odf/userfield.pyo +%%PYTHON_SITELIBDIR%%/odf/xforms.py +%%PYTHON_SITELIBDIR%%/odf/xforms.pyc +%%PYTHON_SITELIBDIR%%/odf/xforms.pyo +%%PYTHON_SITELIBDIR%%/odfpy-0.7-py2.5.egg-info +@dirrm %%PYTHON_SITELIBDIR%%/odf/ +bin/mailodf +bin/odf2mht +bin/odf2war +bin/odfimgimport +bin/odflint +bin/odfmeta +bin/odfoutline +bin/odfuserfield +bin/xml2odf |