aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-27 19:40:56 +0800
committermiwi <miwi@FreeBSD.org>2008-06-27 19:40:56 +0800
commit764faff1722e38bb42d85cba65d58bb800ce37da (patch)
tree484887ad56da1310a413fa759b2a23ed19dadb6c /math
parentacce4d96068bd87238286a958555ab90f2f93179 (diff)
downloadfreebsd-ports-gnome-764faff1722e38bb42d85cba65d58bb800ce37da.tar.gz
freebsd-ports-gnome-764faff1722e38bb42d85cba65d58bb800ce37da.tar.zst
freebsd-ports-gnome-764faff1722e38bb42d85cba65d58bb800ce37da.zip
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/ PR: ports/124971 Submitted by: Wen Heping <wenheping at gmail.com>
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/py-mathdom/Makefile23
-rw-r--r--math/py-mathdom/distinfo3
-rw-r--r--math/py-mathdom/pkg-descr11
-rw-r--r--math/py-mathdom/pkg-plist104
5 files changed, 142 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 183cea461c3a..e24ff32eccd5 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -310,6 +310,7 @@
SUBDIR += py-gnuplot
SUBDIR += py-gsl
SUBDIR += py-igraph
+ SUBDIR += py-mathdom
SUBDIR += py-matplotlib
SUBDIR += py-mpz
SUBDIR += py-networkx
diff --git a/math/py-mathdom/Makefile b/math/py-mathdom/Makefile
new file mode 100644
index 000000000000..63ac560f5831
--- /dev/null
+++ b/math/py-mathdom/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: mathdom
+# Date created: 23 June 2008
+# Whom: Wen Heping <wenheping@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mathdom
+PORTVERSION= 0.8
+CATEGORIES= math python
+MASTER_SITES= SF \
+ ${MASTER_SITE_CHEESESHOP}source/m/${PORTNAME}/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= wenheping@gmail.com
+COMMENT= Content MathML in Python
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/${PYLXML_EGG}:${PORTSDIR}/devel/py-lxml
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=easy_install
+
+.include <bsd.port.mk>
diff --git a/math/py-mathdom/distinfo b/math/py-mathdom/distinfo
new file mode 100644
index 000000000000..878fc72befaf
--- /dev/null
+++ b/math/py-mathdom/distinfo
@@ -0,0 +1,3 @@
+MD5 (mathdom-0.8.tar.gz) = 9cc9f378198b44a1bb1c9069167f1ded
+SHA256 (mathdom-0.8.tar.gz) = e44ea8a24c26c9fdcba26aabbd5e8cff566c1742a541abd02219b7e7dab19e92
+SIZE (mathdom-0.8.tar.gz) = 108327
diff --git a/math/py-mathdom/pkg-descr b/math/py-mathdom/pkg-descr
new file mode 100644
index 000000000000..d65ea49f4aae
--- /dev/null
+++ b/math/py-mathdom/pkg-descr
@@ -0,0 +1,11 @@
+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/
diff --git a/math/py-mathdom/pkg-plist b/math/py-mathdom/pkg-plist
new file mode 100644
index 000000000000..1b48abde744c
--- /dev/null
+++ b/math/py-mathdom/pkg-plist
@@ -0,0 +1,104 @@
+%%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/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/datatypes.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/datatypes.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/datatypes.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/lmathdom.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/lmathdom.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/lmathdom.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/mathdom.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/mathdom.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/mathdom.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/termbuilder.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/termbuilder.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/termbuilder.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/termparser.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/termparser.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/termparser.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/xmlterm.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/xmlterm.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/xmlterm.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/element.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/element.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/element.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/entities.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/entities.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/entities.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/events.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/events.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/events.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mfenced.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mfenced.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mfenced.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mfrac.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mfrac.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mfrac.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/misc.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/misc.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/misc.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mmath.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mmath.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mmath.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mroot.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mroot.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mroot.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mrow.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mrow.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mrow.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mspace.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mspace.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mspace.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/msubsup.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/msubsup.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/msubsup.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mtable.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mtable.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mtable.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mtoken.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mtoken.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/mtoken.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/munderover.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/munderover.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/munderover.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/opdict.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/opdict.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/opdict.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/opdict_data.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/opdict_data.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/opdict_data.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/plotter.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/plotter.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/plotter.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/schema/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/schema/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/schema/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/schema/mathml2.rng.gz
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/ctop.xsl
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/mathmlc2p.xsl
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/pyterm.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/pyterm.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/pyterm.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/sax_pmathml.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/sax_pmathml.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/sax_pmathml.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/sqlterm.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/sqlterm.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/sqlterm.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/utils/
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/schema/
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/pmathml/
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mathml/
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/