Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2008 23:05:24 GMT
From:      Wen heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/128133: [NEW PORT]math/py-mpmath:Python Library for Arbitrary-precision Floating-point Arithmetic
Message-ID:  <200810152305.m9FN5OsL083091@www.freebsd.org>
Resent-Message-ID: <200810152310.m9FNA1ic026238@freefall.freebsd.org>

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

>Number:         128133
>Category:       ports
>Synopsis:       [NEW PORT]math/py-mpmath:Python Library for Arbitrary-precision Floating-point Arithmetic
>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 Oct 15 23: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:
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/
>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-mpmath
#	py-mpmath/pkg-plist
#	py-mpmath/pkg-descr
#	py-mpmath/distinfo
#	py-mpmath/Makefile
#
echo c - py-mpmath
mkdir -p py-mpmath > /dev/null 2>&1
echo x - py-mpmath/pkg-plist
sed 's/^X//' >py-mpmath/pkg-plist << 'END-of-py-mpmath/pkg-plist'
X%%PYTHON_SITELIBDIR%%/mpmath/__init__.py
X%%PYTHON_SITELIBDIR%%/mpmath/__init__.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/__init__.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/calculus.py
X%%PYTHON_SITELIBDIR%%/mpmath/calculus.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/calculus.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/conftest.py
X%%PYTHON_SITELIBDIR%%/mpmath/conftest.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/conftest.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/elliptic.py
X%%PYTHON_SITELIBDIR%%/mpmath/elliptic.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/elliptic.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/functions.py
X%%PYTHON_SITELIBDIR%%/mpmath/functions.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/functions.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/gammazeta.py
X%%PYTHON_SITELIBDIR%%/mpmath/gammazeta.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/gammazeta.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/identification.py
X%%PYTHON_SITELIBDIR%%/mpmath/identification.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/identification.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/libelefun.py
X%%PYTHON_SITELIBDIR%%/mpmath/libelefun.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/libelefun.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/libhyper.py
X%%PYTHON_SITELIBDIR%%/mpmath/libhyper.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/libhyper.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/libmpc.py
X%%PYTHON_SITELIBDIR%%/mpmath/libmpc.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/libmpc.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/libmpf.py
X%%PYTHON_SITELIBDIR%%/mpmath/libmpf.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/libmpf.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/libmpi.py
X%%PYTHON_SITELIBDIR%%/mpmath/libmpi.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/libmpi.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/linalg.py
X%%PYTHON_SITELIBDIR%%/mpmath/linalg.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/linalg.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/matrices.py
X%%PYTHON_SITELIBDIR%%/mpmath/matrices.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/matrices.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/mptypes.py
X%%PYTHON_SITELIBDIR%%/mpmath/mptypes.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/mptypes.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/optimization.py
X%%PYTHON_SITELIBDIR%%/mpmath/optimization.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/optimization.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/quadrature.py
X%%PYTHON_SITELIBDIR%%/mpmath/quadrature.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/quadrature.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/settings.py
X%%PYTHON_SITELIBDIR%%/mpmath/settings.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/settings.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/visualization.py
X%%PYTHON_SITELIBDIR%%/mpmath/visualization.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/visualization.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/__init__.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/__init__.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/__init__.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/elliptic_torture_tests.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/elliptic_torture_tests.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/elliptic_torture_tests.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/runtests.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/runtests.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/runtests.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_basic_ops.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_basic_ops.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_basic_ops.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_bitwise.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_bitwise.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_bitwise.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_calculus.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_calculus.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_calculus.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_compatibility.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_compatibility.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_compatibility.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_convert.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_convert.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_convert.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_diff.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_diff.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_diff.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_division.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_division.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_division.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_elliptic.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_elliptic.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_elliptic.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_functions2.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_functions2.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_functions2.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_gammazeta.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_gammazeta.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_gammazeta.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_hp.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_hp.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_hp.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_identify.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_identify.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_identify.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_interval.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_interval.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_interval.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_linalg.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_linalg.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_linalg.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_matrices.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_matrices.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_matrices.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_mpmath.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_mpmath.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_mpmath.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_ode.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_ode.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_ode.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_pickle.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_pickle.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_pickle.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_power.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_power.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_power.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_quad.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_quad.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_quad.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_rootfinding.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_rootfinding.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_rootfinding.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_special.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_special.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_special.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_summation.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_summation.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_summation.pyo
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_trig.py
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_trig.pyc
X%%PYTHON_SITELIBDIR%%/mpmath/tests/test_trig.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/mpmath/tests
X@dirrm %%PYTHON_SITELIBDIR%%/mpmath
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/basics.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/differentiation.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/functions.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/identification.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/index.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/integration.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/interpolation.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/intervals.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/limits.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/matrices.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/optimization.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/setup.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/speedtricks.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/summation.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/technical.doctree
X%%PORTDOCS%%%%DOCSDIR%%/.doctrees/environment.pickle
X%%PORTDOCS%%%%DOCSDIR%%/basics.html
X%%PORTDOCS%%%%DOCSDIR%%/_sources/basics.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/differentiation.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/functions.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/identification.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/integration.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/interpolation.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/intervals.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/limits.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/matrices.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/optimization.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/setup.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/speedtricks.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/summation.txt
X%%PORTDOCS%%%%DOCSDIR%%/_sources/technical.txt
X%%PORTDOCS%%%%DOCSDIR%%/differentiation.html
X%%PORTDOCS%%%%DOCSDIR%%/functions.html
X%%PORTDOCS%%%%DOCSDIR%%/identification.html
X%%PORTDOCS%%%%DOCSDIR%%/index.html
X%%PORTDOCS%%%%DOCSDIR%%/integration.html
X%%PORTDOCS%%%%DOCSDIR%%/interpolation.html
X%%PORTDOCS%%%%DOCSDIR%%/intervals.html
X%%PORTDOCS%%%%DOCSDIR%%/limits.html
X%%PORTDOCS%%%%DOCSDIR%%/matrices.html
X%%PORTDOCS%%%%DOCSDIR%%/optimization.html
X%%PORTDOCS%%%%DOCSDIR%%/setup.html
X%%PORTDOCS%%%%DOCSDIR%%/speedtricks.html
X%%PORTDOCS%%%%DOCSDIR%%/summation.html
X%%PORTDOCS%%%%DOCSDIR%%/technical.html
X%%PORTDOCS%%%%DOCSDIR%%/genindex.html
X%%PORTDOCS%%%%DOCSDIR%%/modindex.html
X%%PORTDOCS%%%%DOCSDIR%%/search.html
X%%PORTDOCS%%%%DOCSDIR%%/_static/contents.png
X%%PORTDOCS%%%%DOCSDIR%%/_static/default.css
X%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js
X%%PORTDOCS%%%%DOCSDIR%%/_static/file.png
X%%PORTDOCS%%%%DOCSDIR%%/_static/interface.js
X%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js
X%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png
X%%PORTDOCS%%%%DOCSDIR%%/_static/navigation.png
X%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png
X%%PORTDOCS%%%%DOCSDIR%%/_static/rightsidebar.css
X%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js
X%%PORTDOCS%%%%DOCSDIR%%/_static/sphinxdoc.css
X%%PORTDOCS%%%%DOCSDIR%%/_static/stickysidebar.css
X%%PORTDOCS%%%%DOCSDIR%%/_static/traditional.css
X%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css
X%%PORTDOCS%%%%DOCSDIR%%/searchindex.json
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/_static
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-py-mpmath/pkg-plist
echo x - py-mpmath/pkg-descr
sed 's/^X//' >py-mpmath/pkg-descr << 'END-of-py-mpmath/pkg-descr'
XMpmath is a pure-Python library for multiprecision floating-point
Xarithmetic. It provides an extensive set of transcendental functions,
Xunlimited exponent sizes, complex numbers, interval arithmetic,
Xnumerical integration and differentiation, root-finding, linear algebra,
Xand much more. Almost any calculation can be performed just as well at
X10-digit or 1000-digit precision, and in many cases mpmath implements
Xasymptotically fast algorithms that scale well for extremely high
Xprecision work. If available, mpmath will (optionally) use gmpy to
Xspeed up high precision operations.
X
XWWW:	http://code.google.com/p/mpmath/
END-of-py-mpmath/pkg-descr
echo x - py-mpmath/distinfo
sed 's/^X//' >py-mpmath/distinfo << 'END-of-py-mpmath/distinfo'
XMD5 (mpmath-0.10.tar.gz) = 22694785f62f4fdcfad8cc182ab80579
XSHA256 (mpmath-0.10.tar.gz) = e3b6da08037d948af8a246483656c62964865b5c4affe3632992cf92e54a1372
XSIZE (mpmath-0.10.tar.gz) = 174859
END-of-py-mpmath/distinfo
echo x - py-mpmath/Makefile
sed 's/^X//' >py-mpmath/Makefile << 'END-of-py-mpmath/Makefile'
X# New ports collection makefile for:	py-mpmath
X# Date created:		2008-10-16
X# Whom:			Wen Heping <wenheping@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mpmath
XPORTVERSION=	0.10
XCATEGORIES=	math python
XMASTER_SITES=	CHEESESHOP
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	wenheping@gmail.com
XCOMMENT=	Python Library for Arbitrary-precision Floating-point Arithmetic
X
XBUILD_DEPENDS=	${LOCALBASE}/bin/sphinx-build:${PORTSDIR}/textproc/py-sphinx \
X		${PYTHON_SITELIBDIR}/gmpy.so:${PORTSDIR}/math/py-gmpy
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
X
Xpost-install:
X	@cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} build.py
X.if !defined(NOPORTDOCS)
X	@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
X	@cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} build.py
X	@cd ${WRKSRC}/doc/build && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
X	@cd ${WRKSRC}/doc/build && ${FIND} . -type f -exec \
X		${INSTALL_DATA} {} ${DOCSDIR}/{} \;
X	@${ECHO_MSG} " [DONE]"
X.endif
X.include <bsd.port.mk>
END-of-py-mpmath/Makefile
exit



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



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