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: https://pypi.org/project/mathdom/
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.
Approved by: portmgr blanket, mat
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
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>