Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2008 05:03:12 GMT
From:      Wen heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125038: [NEW PORT]devel/py-odfpy:Python API and Tools to Manipulate OpenDocument Files
Message-ID:  <200806270503.m5R53C3b046213@www.freebsd.org>
Resent-Message-ID: <200806270510.m5R5A2Qr055515@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125038
>Category:       ports
>Synopsis:       [NEW PORT]devel/py-odfpy:Python API and Tools to Manipulate OpenDocument Files
>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:   Fri Jun 27 05:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wen heping
>Release:        FreeBSD 7.0 release
>Organization:
ChangAn Middle School
>Environment:
FreeBSD tinderbox.wenjing.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
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
>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-odfpy
#	py-odfpy/Makefile
#	py-odfpy/distinfo
#	py-odfpy/pkg-descr
#	py-odfpy/pkg-plist
#
echo c - py-odfpy
mkdir -p py-odfpy > /dev/null 2>&1
echo x - py-odfpy/Makefile
sed 's/^X//' >py-odfpy/Makefile << 'END-of-py-odfpy/Makefile'
X# New ports collection makefile for:	odfpy
X# Date created:		27 June 2008
X# Whom:			Wen Heping <wenheping@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	odfpy
XPORTVERSION=	0.7
XCATEGORIES=	devel python
XMASTER_SITES=	${MASTER_SITE_CHEESESHOP}source/o/odfpy/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	wenheping@gmail.com
XCOMMENT=	Python API and Tools to Manipulate OpenDocument Files
X
XUSE_PYTHON=		yes
XUSE_PYDISTUTILS=	yes
XPYDISTUTILS_PKGNAME=	odf
XPYDISTUTILS_NOEGGINFO=	yes
X#PYDISTUTILS_EGGINFO=	odfpy-0.7-py${PYTHON_VER}.egg-info
X
X.include <bsd.port.mk>
END-of-py-odfpy/Makefile
echo x - py-odfpy/distinfo
sed 's/^X//' >py-odfpy/distinfo << 'END-of-py-odfpy/distinfo'
XMD5 (odfpy-0.7.tar.gz) = 47299cfe587c01913aea2fe6d40a8806
XSHA256 (odfpy-0.7.tar.gz) = 9480a23e3066bbe76110f1ef13a7ec6b2c0335c94b82633c53af44a40427e829
XSIZE (odfpy-0.7.tar.gz) = 190427
END-of-py-odfpy/distinfo
echo x - py-odfpy/pkg-descr
sed 's/^X//' >py-odfpy/pkg-descr << 'END-of-py-odfpy/pkg-descr'
XOdfpy aims to be a complete API for OpenDocument in Python. 
XUnlike other more convenient APIs, this one is essentially 
Xan abstraction layer just above the XML format. The main 
Xfocus has been to prevent the programmer from creating 
Xinvalid documents. It has checks that raise an exception if 
Xthe programmer adds an invalid element, adds an attribute 
Xunknown to the grammar, forgets to add a required attribute 
Xor adds text to an element that doesn't allow it.
X
XWWW: http://opendocumentfellowship.com/development/projects/odfpy
END-of-py-odfpy/pkg-descr
echo x - py-odfpy/pkg-plist
sed 's/^X//' >py-odfpy/pkg-plist << 'END-of-py-odfpy/pkg-plist'
X%%PYTHON_SITELIBDIR%%/odf/__init__.py
X%%PYTHON_SITELIBDIR%%/odf/__init__.pyc
X%%PYTHON_SITELIBDIR%%/odf/__init__.pyo
X%%PYTHON_SITELIBDIR%%/odf/anim.py
X%%PYTHON_SITELIBDIR%%/odf/anim.pyc
X%%PYTHON_SITELIBDIR%%/odf/anim.pyo
X%%PYTHON_SITELIBDIR%%/odf/attrconverters.py
X%%PYTHON_SITELIBDIR%%/odf/attrconverters.pyc
X%%PYTHON_SITELIBDIR%%/odf/attrconverters.pyo
X%%PYTHON_SITELIBDIR%%/odf/chart.py
X%%PYTHON_SITELIBDIR%%/odf/chart.pyc
X%%PYTHON_SITELIBDIR%%/odf/chart.pyo
X%%PYTHON_SITELIBDIR%%/odf/config.py
X%%PYTHON_SITELIBDIR%%/odf/config.pyc
X%%PYTHON_SITELIBDIR%%/odf/config.pyo
X%%PYTHON_SITELIBDIR%%/odf/dc.py
X%%PYTHON_SITELIBDIR%%/odf/dc.pyc
X%%PYTHON_SITELIBDIR%%/odf/dc.pyo
X%%PYTHON_SITELIBDIR%%/odf/dr3d.py
X%%PYTHON_SITELIBDIR%%/odf/dr3d.pyc
X%%PYTHON_SITELIBDIR%%/odf/dr3d.pyo
X%%PYTHON_SITELIBDIR%%/odf/draw.py
X%%PYTHON_SITELIBDIR%%/odf/draw.pyc
X%%PYTHON_SITELIBDIR%%/odf/draw.pyo
X%%PYTHON_SITELIBDIR%%/odf/element.py
X%%PYTHON_SITELIBDIR%%/odf/element.pyc
X%%PYTHON_SITELIBDIR%%/odf/element.pyo
X%%PYTHON_SITELIBDIR%%/odf/form.py
X%%PYTHON_SITELIBDIR%%/odf/form.pyc
X%%PYTHON_SITELIBDIR%%/odf/form.pyo
X%%PYTHON_SITELIBDIR%%/odf/grammar.py
X%%PYTHON_SITELIBDIR%%/odf/grammar.pyc
X%%PYTHON_SITELIBDIR%%/odf/grammar.pyo
X%%PYTHON_SITELIBDIR%%/odf/load.py
X%%PYTHON_SITELIBDIR%%/odf/load.pyc
X%%PYTHON_SITELIBDIR%%/odf/load.pyo
X%%PYTHON_SITELIBDIR%%/odf/manifest.py
X%%PYTHON_SITELIBDIR%%/odf/manifest.pyc
X%%PYTHON_SITELIBDIR%%/odf/manifest.pyo
X%%PYTHON_SITELIBDIR%%/odf/math.py
X%%PYTHON_SITELIBDIR%%/odf/math.pyc
X%%PYTHON_SITELIBDIR%%/odf/math.pyo
X%%PYTHON_SITELIBDIR%%/odf/meta.py
X%%PYTHON_SITELIBDIR%%/odf/meta.pyc
X%%PYTHON_SITELIBDIR%%/odf/meta.pyo
X%%PYTHON_SITELIBDIR%%/odf/namespaces.py
X%%PYTHON_SITELIBDIR%%/odf/namespaces.pyc
X%%PYTHON_SITELIBDIR%%/odf/namespaces.pyo
X%%PYTHON_SITELIBDIR%%/odf/number.py
X%%PYTHON_SITELIBDIR%%/odf/number.pyc
X%%PYTHON_SITELIBDIR%%/odf/number.pyo
X%%PYTHON_SITELIBDIR%%/odf/odf2xhtml.py
X%%PYTHON_SITELIBDIR%%/odf/odf2xhtml.pyc
X%%PYTHON_SITELIBDIR%%/odf/odf2xhtml.pyo
X%%PYTHON_SITELIBDIR%%/odf/odfmanifest.py
X%%PYTHON_SITELIBDIR%%/odf/odfmanifest.pyc
X%%PYTHON_SITELIBDIR%%/odf/odfmanifest.pyo
X%%PYTHON_SITELIBDIR%%/odf/office.py
X%%PYTHON_SITELIBDIR%%/odf/office.pyc
X%%PYTHON_SITELIBDIR%%/odf/office.pyo
X%%PYTHON_SITELIBDIR%%/odf/ooostyles.py
X%%PYTHON_SITELIBDIR%%/odf/ooostyles.pyc
X%%PYTHON_SITELIBDIR%%/odf/ooostyles.pyo
X%%PYTHON_SITELIBDIR%%/odf/opendocument.py
X%%PYTHON_SITELIBDIR%%/odf/opendocument.pyc
X%%PYTHON_SITELIBDIR%%/odf/opendocument.pyo
X%%PYTHON_SITELIBDIR%%/odf/presentation.py
X%%PYTHON_SITELIBDIR%%/odf/presentation.pyc
X%%PYTHON_SITELIBDIR%%/odf/presentation.pyo
X%%PYTHON_SITELIBDIR%%/odf/script.py
X%%PYTHON_SITELIBDIR%%/odf/script.pyc
X%%PYTHON_SITELIBDIR%%/odf/script.pyo
X%%PYTHON_SITELIBDIR%%/odf/style.py
X%%PYTHON_SITELIBDIR%%/odf/style.pyc
X%%PYTHON_SITELIBDIR%%/odf/style.pyo
X%%PYTHON_SITELIBDIR%%/odf/svg.py
X%%PYTHON_SITELIBDIR%%/odf/svg.pyc
X%%PYTHON_SITELIBDIR%%/odf/svg.pyo
X%%PYTHON_SITELIBDIR%%/odf/table.py
X%%PYTHON_SITELIBDIR%%/odf/table.pyc
X%%PYTHON_SITELIBDIR%%/odf/table.pyo
X%%PYTHON_SITELIBDIR%%/odf/text.py
X%%PYTHON_SITELIBDIR%%/odf/text.pyc
X%%PYTHON_SITELIBDIR%%/odf/text.pyo
X%%PYTHON_SITELIBDIR%%/odf/thumbnail.py
X%%PYTHON_SITELIBDIR%%/odf/thumbnail.pyc
X%%PYTHON_SITELIBDIR%%/odf/thumbnail.pyo
X%%PYTHON_SITELIBDIR%%/odf/userfield.py
X%%PYTHON_SITELIBDIR%%/odf/userfield.pyc
X%%PYTHON_SITELIBDIR%%/odf/userfield.pyo
X%%PYTHON_SITELIBDIR%%/odf/xforms.py
X%%PYTHON_SITELIBDIR%%/odf/xforms.pyc
X%%PYTHON_SITELIBDIR%%/odf/xforms.pyo
X%%PYTHON_SITELIBDIR%%/odfpy-0.7-py2.5.egg-info
X@dirrm %%PYTHON_SITELIBDIR%%/odf/
Xbin/mailodf
Xbin/odf2mht
Xbin/odf2war
Xbin/odfimgimport
Xbin/odflint
Xbin/odfmeta
Xbin/odfoutline
Xbin/odfuserfield
Xbin/xml2odf
END-of-py-odfpy/pkg-plist
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806270503.m5R53C3b046213>