diff options
author | miwi <miwi@FreeBSD.org> | 2008-10-19 21:50:08 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-10-19 21:50:08 +0800 |
commit | 661e421253c1f4e4ecd9f372f2f4d4043fa3e294 (patch) | |
tree | 874891bfad00c7d9beee241a918808553de842b6 /math/py-mpmath | |
parent | 1b0dbf22f9bc30fedd9092dd76a69695fc18664b (diff) | |
download | freebsd-ports-gnome-661e421253c1f4e4ecd9f372f2f4d4043fa3e294.tar.gz freebsd-ports-gnome-661e421253c1f4e4ecd9f372f2f4d4043fa3e294.tar.zst freebsd-ports-gnome-661e421253c1f4e4ecd9f372f2f4d4043fa3e294.zip |
Mpmath is a pure-Python library for multiprecision floating-point
arithmetic. It provides an extensive set of transcendental functions,
unlimited exponent sizes, complex numbers, interval arithmetic,
numerical integration and differentiation, root-finding, linear algebra,
and much more. Almost any calculation can be performed just as well at
10-digit or 1000-digit precision, and in many cases mpmath implements
asymptotically fast algorithms that scale well for extremely high
precision work. If available, mpmath will (optionally) use gmpy to
speed up high precision operations.
WWW: http://code.google.com/p/mpmath/
PR: ports/128133
Submitted by: Wen Heping <wenheping at gmail.com>
Diffstat (limited to 'math/py-mpmath')
-rw-r--r-- | math/py-mpmath/Makefile | 33 | ||||
-rw-r--r-- | math/py-mpmath/distinfo | 3 | ||||
-rw-r--r-- | math/py-mpmath/pkg-descr | 11 | ||||
-rw-r--r-- | math/py-mpmath/pkg-plist | 209 |
4 files changed, 256 insertions, 0 deletions
diff --git a/math/py-mpmath/Makefile b/math/py-mpmath/Makefile new file mode 100644 index 000000000000..212259b3a569 --- /dev/null +++ b/math/py-mpmath/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: py-mpmath +# Date created: 2008-10-16 +# Whom: Wen Heping <wenheping@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= mpmath +PORTVERSION= 0.10 +CATEGORIES= math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wenheping@gmail.com +COMMENT= Python Library for Arbitrary-precision Floating-point Arithmetic + +BUILD_DEPENDS= ${LOCALBASE}/bin/sphinx-build:${PORTSDIR}/textproc/py-sphinx \ + ${PYTHON_SITELIBDIR}/gmpy.so:${PORTSDIR}/math/py-gmpy + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +post-install: + @cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} build.py +.if !defined(NOPORTDOCS) + @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." + @cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} build.py + @cd ${WRKSRC}/doc/build && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; + @cd ${WRKSRC}/doc/build && ${FIND} . -type f -exec \ + ${INSTALL_DATA} {} ${DOCSDIR}/{} \; + @${ECHO_MSG} " [DONE]" +.endif +.include <bsd.port.mk> diff --git a/math/py-mpmath/distinfo b/math/py-mpmath/distinfo new file mode 100644 index 000000000000..d7da0a9b5274 --- /dev/null +++ b/math/py-mpmath/distinfo @@ -0,0 +1,3 @@ +MD5 (mpmath-0.10.tar.gz) = 22694785f62f4fdcfad8cc182ab80579 +SHA256 (mpmath-0.10.tar.gz) = e3b6da08037d948af8a246483656c62964865b5c4affe3632992cf92e54a1372 +SIZE (mpmath-0.10.tar.gz) = 174859 diff --git a/math/py-mpmath/pkg-descr b/math/py-mpmath/pkg-descr new file mode 100644 index 000000000000..46610b6a2d34 --- /dev/null +++ b/math/py-mpmath/pkg-descr @@ -0,0 +1,11 @@ +Mpmath is a pure-Python library for multiprecision floating-point +arithmetic. It provides an extensive set of transcendental functions, +unlimited exponent sizes, complex numbers, interval arithmetic, +numerical integration and differentiation, root-finding, linear algebra, +and much more. Almost any calculation can be performed just as well at +10-digit or 1000-digit precision, and in many cases mpmath implements +asymptotically fast algorithms that scale well for extremely high +precision work. If available, mpmath will (optionally) use gmpy to +speed up high precision operations. + +WWW: http://code.google.com/p/mpmath/ diff --git a/math/py-mpmath/pkg-plist b/math/py-mpmath/pkg-plist new file mode 100644 index 000000000000..f2d60223ad5f --- /dev/null +++ b/math/py-mpmath/pkg-plist @@ -0,0 +1,209 @@ +%%PYTHON_SITELIBDIR%%/mpmath/__init__.py +%%PYTHON_SITELIBDIR%%/mpmath/__init__.pyc +%%PYTHON_SITELIBDIR%%/mpmath/__init__.pyo +%%PYTHON_SITELIBDIR%%/mpmath/calculus.py +%%PYTHON_SITELIBDIR%%/mpmath/calculus.pyc +%%PYTHON_SITELIBDIR%%/mpmath/calculus.pyo +%%PYTHON_SITELIBDIR%%/mpmath/conftest.py +%%PYTHON_SITELIBDIR%%/mpmath/conftest.pyc +%%PYTHON_SITELIBDIR%%/mpmath/conftest.pyo +%%PYTHON_SITELIBDIR%%/mpmath/elliptic.py +%%PYTHON_SITELIBDIR%%/mpmath/elliptic.pyc +%%PYTHON_SITELIBDIR%%/mpmath/elliptic.pyo +%%PYTHON_SITELIBDIR%%/mpmath/functions.py +%%PYTHON_SITELIBDIR%%/mpmath/functions.pyc +%%PYTHON_SITELIBDIR%%/mpmath/functions.pyo +%%PYTHON_SITELIBDIR%%/mpmath/gammazeta.py +%%PYTHON_SITELIBDIR%%/mpmath/gammazeta.pyc +%%PYTHON_SITELIBDIR%%/mpmath/gammazeta.pyo +%%PYTHON_SITELIBDIR%%/mpmath/identification.py +%%PYTHON_SITELIBDIR%%/mpmath/identification.pyc +%%PYTHON_SITELIBDIR%%/mpmath/identification.pyo +%%PYTHON_SITELIBDIR%%/mpmath/libelefun.py +%%PYTHON_SITELIBDIR%%/mpmath/libelefun.pyc +%%PYTHON_SITELIBDIR%%/mpmath/libelefun.pyo +%%PYTHON_SITELIBDIR%%/mpmath/libhyper.py +%%PYTHON_SITELIBDIR%%/mpmath/libhyper.pyc +%%PYTHON_SITELIBDIR%%/mpmath/libhyper.pyo +%%PYTHON_SITELIBDIR%%/mpmath/libmpc.py +%%PYTHON_SITELIBDIR%%/mpmath/libmpc.pyc +%%PYTHON_SITELIBDIR%%/mpmath/libmpc.pyo +%%PYTHON_SITELIBDIR%%/mpmath/libmpf.py +%%PYTHON_SITELIBDIR%%/mpmath/libmpf.pyc +%%PYTHON_SITELIBDIR%%/mpmath/libmpf.pyo +%%PYTHON_SITELIBDIR%%/mpmath/libmpi.py +%%PYTHON_SITELIBDIR%%/mpmath/libmpi.pyc +%%PYTHON_SITELIBDIR%%/mpmath/libmpi.pyo +%%PYTHON_SITELIBDIR%%/mpmath/linalg.py +%%PYTHON_SITELIBDIR%%/mpmath/linalg.pyc +%%PYTHON_SITELIBDIR%%/mpmath/linalg.pyo +%%PYTHON_SITELIBDIR%%/mpmath/matrices.py +%%PYTHON_SITELIBDIR%%/mpmath/matrices.pyc +%%PYTHON_SITELIBDIR%%/mpmath/matrices.pyo +%%PYTHON_SITELIBDIR%%/mpmath/mptypes.py +%%PYTHON_SITELIBDIR%%/mpmath/mptypes.pyc +%%PYTHON_SITELIBDIR%%/mpmath/mptypes.pyo +%%PYTHON_SITELIBDIR%%/mpmath/optimization.py +%%PYTHON_SITELIBDIR%%/mpmath/optimization.pyc +%%PYTHON_SITELIBDIR%%/mpmath/optimization.pyo +%%PYTHON_SITELIBDIR%%/mpmath/quadrature.py +%%PYTHON_SITELIBDIR%%/mpmath/quadrature.pyc +%%PYTHON_SITELIBDIR%%/mpmath/quadrature.pyo +%%PYTHON_SITELIBDIR%%/mpmath/settings.py +%%PYTHON_SITELIBDIR%%/mpmath/settings.pyc +%%PYTHON_SITELIBDIR%%/mpmath/settings.pyo +%%PYTHON_SITELIBDIR%%/mpmath/visualization.py +%%PYTHON_SITELIBDIR%%/mpmath/visualization.pyc +%%PYTHON_SITELIBDIR%%/mpmath/visualization.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/__init__.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/__init__.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/__init__.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/elliptic_torture_tests.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/elliptic_torture_tests.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/elliptic_torture_tests.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/runtests.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/runtests.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/runtests.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_basic_ops.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_basic_ops.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_basic_ops.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_bitwise.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_bitwise.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_bitwise.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_calculus.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_calculus.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_calculus.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_compatibility.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_compatibility.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_compatibility.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_convert.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_convert.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_convert.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_diff.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_diff.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_diff.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_division.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_division.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_division.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_elliptic.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_elliptic.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_elliptic.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_functions2.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_functions2.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_functions2.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_gammazeta.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_gammazeta.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_gammazeta.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_hp.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_hp.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_hp.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_identify.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_identify.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_identify.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_interval.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_interval.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_interval.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_linalg.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_linalg.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_linalg.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_matrices.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_matrices.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_matrices.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_mpmath.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_mpmath.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_mpmath.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_ode.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_ode.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_ode.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_pickle.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_pickle.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_pickle.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_power.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_power.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_power.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_quad.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_quad.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_quad.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_rootfinding.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_rootfinding.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_rootfinding.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_special.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_special.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_special.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_summation.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_summation.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_summation.pyo +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_trig.py +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_trig.pyc +%%PYTHON_SITELIBDIR%%/mpmath/tests/test_trig.pyo +@dirrm %%PYTHON_SITELIBDIR%%/mpmath/tests +@dirrm %%PYTHON_SITELIBDIR%%/mpmath +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/basics.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/differentiation.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/functions.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/identification.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/index.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/integration.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/interpolation.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/intervals.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/limits.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/matrices.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/optimization.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/setup.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/speedtricks.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/summation.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/technical.doctree +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/environment.pickle +%%PORTDOCS%%%%DOCSDIR%%/basics.html +%%PORTDOCS%%%%DOCSDIR%%/_sources/basics.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/differentiation.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/functions.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/identification.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/integration.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/interpolation.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/intervals.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/limits.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/matrices.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/optimization.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/setup.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/speedtricks.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/summation.txt +%%PORTDOCS%%%%DOCSDIR%%/_sources/technical.txt +%%PORTDOCS%%%%DOCSDIR%%/differentiation.html +%%PORTDOCS%%%%DOCSDIR%%/functions.html +%%PORTDOCS%%%%DOCSDIR%%/identification.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/integration.html +%%PORTDOCS%%%%DOCSDIR%%/interpolation.html +%%PORTDOCS%%%%DOCSDIR%%/intervals.html +%%PORTDOCS%%%%DOCSDIR%%/limits.html +%%PORTDOCS%%%%DOCSDIR%%/matrices.html +%%PORTDOCS%%%%DOCSDIR%%/optimization.html +%%PORTDOCS%%%%DOCSDIR%%/setup.html +%%PORTDOCS%%%%DOCSDIR%%/speedtricks.html +%%PORTDOCS%%%%DOCSDIR%%/summation.html +%%PORTDOCS%%%%DOCSDIR%%/technical.html +%%PORTDOCS%%%%DOCSDIR%%/genindex.html +%%PORTDOCS%%%%DOCSDIR%%/modindex.html +%%PORTDOCS%%%%DOCSDIR%%/search.html +%%PORTDOCS%%%%DOCSDIR%%/_static/contents.png +%%PORTDOCS%%%%DOCSDIR%%/_static/default.css +%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js +%%PORTDOCS%%%%DOCSDIR%%/_static/file.png +%%PORTDOCS%%%%DOCSDIR%%/_static/interface.js +%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js +%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png +%%PORTDOCS%%%%DOCSDIR%%/_static/navigation.png +%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png +%%PORTDOCS%%%%DOCSDIR%%/_static/rightsidebar.css +%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js +%%PORTDOCS%%%%DOCSDIR%%/_static/sphinxdoc.css +%%PORTDOCS%%%%DOCSDIR%%/_static/stickysidebar.css +%%PORTDOCS%%%%DOCSDIR%%/_static/traditional.css +%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css +%%PORTDOCS%%%%DOCSDIR%%/searchindex.json +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_static +%%PORTDOCS%%@dirrm %%DOCSDIR%% |