Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2008 03:56:42 GMT
From:      Wen heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124971: [Update]math/py-mathdom:Content MathML in Python
Message-ID:  <200806250356.m5P3ugs1052483@www.freebsd.org>
Resent-Message-ID: <200806250400.m5P40B5N031003@freefall.freebsd.org>

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

>Number:         124971
>Category:       ports
>Synopsis:       [Update]math/py-mathdom:Content MathML in Python
>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:   Wed Jun 25 04:00:10 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:
MathDOM is a set of Python  modules (using PyXML or
lxml, and pyparsing) that import mathematical terms
as a Content MathML DOM. It currently parses MathML
and literal infix terms into a DOM document and writes
out MathML and literal infix/prefix/postfix/Python
terms. The DOM elements are enhanced by domain specific
methods that make using the DOM a little easier.
Implementations based on PyXML and lxml/libxml2 are
available.

WWW:   http://pypi.python.org/pypi/mathdom/
>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-mathdom
#	py-mathdom/pkg-descr
#	py-mathdom/distinfo
#	py-mathdom/pkg-plist
#	py-mathdom/Makefile
#
echo c - py-mathdom
mkdir -p py-mathdom > /dev/null 2>&1
echo x - py-mathdom/pkg-descr
sed 's/^X//' >py-mathdom/pkg-descr << 'END-of-py-mathdom/pkg-descr'
XMathDOM is a set of Python  modules (using PyXML or
Xlxml, and pyparsing) that import mathematical terms
Xas a Content MathML DOM. It currently parses MathML
Xand literal infix terms into a DOM document and writes
Xout MathML and literal infix/prefix/postfix/Python
Xterms. The DOM elements are enhanced by domain specific
Xmethods that make using the DOM a little easier.
XImplementations based on PyXML and lxml/libxml2 are 
Xavailable.
X
XWWW:   http://pypi.python.org/pypi/mathdom/
END-of-py-mathdom/pkg-descr
echo x - py-mathdom/distinfo
sed 's/^X//' >py-mathdom/distinfo << 'END-of-py-mathdom/distinfo'
XMD5 (mathdom-0.8.tar.gz) = 9cc9f378198b44a1bb1c9069167f1ded
XSHA256 (mathdom-0.8.tar.gz) = e44ea8a24c26c9fdcba26aabbd5e8cff566c1742a541abd02219b7e7dab19e92
XSIZE (mathdom-0.8.tar.gz) = 108327
END-of-py-mathdom/distinfo
echo x - py-mathdom/pkg-plist
sed 's/^X//' >py-mathdom/pkg-plist << 'END-of-py-mathdom/pkg-plist'
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/not-zip-safe
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/__init__.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/__init__.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/__init__.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/datatypes.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/datatypes.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/datatypes.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/lmathdom.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/lmathdom.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/lmathdom.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/mathdom.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/mathdom.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/mathdom.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/termbuilder.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/termbuilder.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/termbuilder.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/termparser.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/termparser.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/termparser.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/xmlterm.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/xmlterm.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/xmlterm.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/__init__.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/__init__.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/__init__.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/element.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/element.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/element.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/entities.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/entities.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/entities.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/events.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/events.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/events.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mfenced.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mfenced.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mfenced.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mfrac.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mfrac.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mfrac.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/misc.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/misc.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/misc.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mmath.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mmath.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mmath.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mroot.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mroot.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mroot.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mrow.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mrow.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mrow.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mspace.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mspace.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mspace.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/msubsup.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/msubsup.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/msubsup.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mtable.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mtable.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mtable.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mtoken.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mtoken.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mtoken.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/munderover.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/munderover.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/munderover.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/opdict.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/opdict.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/opdict.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/opdict_data.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/opdict_data.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/opdict_data.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/plotter.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/plotter.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/plotter.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/schema/__init__.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/schema/__init__.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/schema/__init__.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/schema/mathml2.rng.gz
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/__init__.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/__init__.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/__init__.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/ctop.xsl
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/mathmlc2p.xsl
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/pyterm.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/pyterm.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/pyterm.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/sax_pmathml.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/sax_pmathml.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/sax_pmathml.pyo
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/sqlterm.py
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/sqlterm.pyc
X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/sqlterm.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/schema/
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/
X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/
END-of-py-mathdom/pkg-plist
echo x - py-mathdom/Makefile
sed 's/^X//' >py-mathdom/Makefile << 'END-of-py-mathdom/Makefile'
X# New ports collection makefile for:	mathdom
X# Date created:				23 June 2008
X# Whom:					Wen Heping <wenheping@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mathdom
XPORTVERSION=	0.8
XCATEGORIES=	math python
XMASTER_SITES=	SF \
X		${MASTER_SITE_CHEESESHOP}source/m/${PORTNAME}/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	wenheping@gmail.com
XCOMMENT=	Content MathML in Python
X
XRUN_DEPENDS=	${PYTHON_SITELIBDIR}/${PYLXML_EGG}:${PORTSDIR}/devel/py-lxml
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=easy_install
X
X.include <bsd.port.mk>
END-of-py-mathdom/Makefile
exit



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



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