summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/py-mpmath/Makefile16
-rw-r--r--math/py-mpmath/PLIST167
-rw-r--r--math/py-mpmath/distinfo8
3 files changed, 132 insertions, 59 deletions
diff --git a/math/py-mpmath/Makefile b/math/py-mpmath/Makefile
index 4222f000f62..e2010578a46 100644
--- a/math/py-mpmath/Makefile
+++ b/math/py-mpmath/Makefile
@@ -1,19 +1,29 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/01/27 14:16:10 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2010/02/08 11:54:25 obache Exp $
#
-DISTNAME= mpmath-0.13
-PKGNAME= ${PYPKGPREFIX}-mpmath-0.13
+DISTNAME= mpmath-0.14
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math
MASTER_SITES= http://mpmath.googlecode.com/files/
EXTRACT_SUFX= .zip
+# XXX: all text file are DOS style.
+# XXX: if future version install binary file,
+# XXX: please consider to use another method.
+EXTRACT_OPTS_ZIP= -aaqo
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/mpmath/
COMMENT= Python library for arbitrary-precision FP arithmetic
+LICENSE= modified-bsd
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
PKG_DESTDIR_SUPPORT= user-destdir
+TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
+do-test:
+ ${RUN} cd ${WRKSRC}/build/lib/mpmath/tests; \
+ ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
+
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/py-mpmath/PLIST b/math/py-mpmath/PLIST
index ca13eb35d94..1f7367e87e8 100644
--- a/math/py-mpmath/PLIST
+++ b/math/py-mpmath/PLIST
@@ -1,67 +1,121 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/01/27 14:16:10 drochner Exp $
+@comment $NetBSD: PLIST,v 1.2 2010/02/08 11:54:25 obache Exp $
${PYSITELIB}/mpmath/__init__.py
${PYSITELIB}/mpmath/__init__.pyc
${PYSITELIB}/mpmath/__init__.pyo
-${PYSITELIB}/mpmath/calculus.py
-${PYSITELIB}/mpmath/calculus.pyc
-${PYSITELIB}/mpmath/calculus.pyo
+${PYSITELIB}/mpmath/calculus/__init__.py
+${PYSITELIB}/mpmath/calculus/__init__.pyc
+${PYSITELIB}/mpmath/calculus/__init__.pyo
+${PYSITELIB}/mpmath/calculus/approximation.py
+${PYSITELIB}/mpmath/calculus/approximation.pyc
+${PYSITELIB}/mpmath/calculus/approximation.pyo
+${PYSITELIB}/mpmath/calculus/calculus.py
+${PYSITELIB}/mpmath/calculus/calculus.pyc
+${PYSITELIB}/mpmath/calculus/calculus.pyo
+${PYSITELIB}/mpmath/calculus/differentiation.py
+${PYSITELIB}/mpmath/calculus/differentiation.pyc
+${PYSITELIB}/mpmath/calculus/differentiation.pyo
+${PYSITELIB}/mpmath/calculus/extrapolation.py
+${PYSITELIB}/mpmath/calculus/extrapolation.pyc
+${PYSITELIB}/mpmath/calculus/extrapolation.pyo
+${PYSITELIB}/mpmath/calculus/odes.py
+${PYSITELIB}/mpmath/calculus/odes.pyc
+${PYSITELIB}/mpmath/calculus/odes.pyo
+${PYSITELIB}/mpmath/calculus/optimization.py
+${PYSITELIB}/mpmath/calculus/optimization.pyc
+${PYSITELIB}/mpmath/calculus/optimization.pyo
+${PYSITELIB}/mpmath/calculus/polynomials.py
+${PYSITELIB}/mpmath/calculus/polynomials.pyc
+${PYSITELIB}/mpmath/calculus/polynomials.pyo
+${PYSITELIB}/mpmath/calculus/quadrature.py
+${PYSITELIB}/mpmath/calculus/quadrature.pyc
+${PYSITELIB}/mpmath/calculus/quadrature.pyo
${PYSITELIB}/mpmath/conftest.py
${PYSITELIB}/mpmath/conftest.pyc
${PYSITELIB}/mpmath/conftest.pyo
-${PYSITELIB}/mpmath/elliptic.py
-${PYSITELIB}/mpmath/elliptic.pyc
-${PYSITELIB}/mpmath/elliptic.pyo
+${PYSITELIB}/mpmath/ctx_base.py
+${PYSITELIB}/mpmath/ctx_base.pyc
+${PYSITELIB}/mpmath/ctx_base.pyo
+${PYSITELIB}/mpmath/ctx_fp.py
+${PYSITELIB}/mpmath/ctx_fp.pyc
+${PYSITELIB}/mpmath/ctx_fp.pyo
+${PYSITELIB}/mpmath/ctx_mp.py
+${PYSITELIB}/mpmath/ctx_mp.pyc
+${PYSITELIB}/mpmath/ctx_mp.pyo
+${PYSITELIB}/mpmath/ctx_mp_python.py
+${PYSITELIB}/mpmath/ctx_mp_python.pyc
+${PYSITELIB}/mpmath/ctx_mp_python.pyo
${PYSITELIB}/mpmath/function_docs.py
${PYSITELIB}/mpmath/function_docs.pyc
${PYSITELIB}/mpmath/function_docs.pyo
-${PYSITELIB}/mpmath/functions.py
-${PYSITELIB}/mpmath/functions.pyc
-${PYSITELIB}/mpmath/functions.pyo
-${PYSITELIB}/mpmath/gammazeta.py
-${PYSITELIB}/mpmath/gammazeta.pyc
-${PYSITELIB}/mpmath/gammazeta.pyo
+${PYSITELIB}/mpmath/functions/__init__.py
+${PYSITELIB}/mpmath/functions/__init__.pyc
+${PYSITELIB}/mpmath/functions/__init__.pyo
+${PYSITELIB}/mpmath/functions/elliptic.py
+${PYSITELIB}/mpmath/functions/elliptic.pyc
+${PYSITELIB}/mpmath/functions/elliptic.pyo
+${PYSITELIB}/mpmath/functions/factorials.py
+${PYSITELIB}/mpmath/functions/factorials.pyc
+${PYSITELIB}/mpmath/functions/factorials.pyo
+${PYSITELIB}/mpmath/functions/functions.py
+${PYSITELIB}/mpmath/functions/functions.pyc
+${PYSITELIB}/mpmath/functions/functions.pyo
+${PYSITELIB}/mpmath/functions/hypergeometric.py
+${PYSITELIB}/mpmath/functions/hypergeometric.pyc
+${PYSITELIB}/mpmath/functions/hypergeometric.pyo
+${PYSITELIB}/mpmath/functions/rszeta.py
+${PYSITELIB}/mpmath/functions/rszeta.pyc
+${PYSITELIB}/mpmath/functions/rszeta.pyo
+${PYSITELIB}/mpmath/functions/zeta.py
+${PYSITELIB}/mpmath/functions/zeta.pyc
+${PYSITELIB}/mpmath/functions/zeta.pyo
${PYSITELIB}/mpmath/identification.py
${PYSITELIB}/mpmath/identification.pyc
${PYSITELIB}/mpmath/identification.pyo
-${PYSITELIB}/mpmath/libelefun.py
-${PYSITELIB}/mpmath/libelefun.pyc
-${PYSITELIB}/mpmath/libelefun.pyo
-${PYSITELIB}/mpmath/libhyper.py
-${PYSITELIB}/mpmath/libhyper.pyc
-${PYSITELIB}/mpmath/libhyper.pyo
-${PYSITELIB}/mpmath/libintmath.py
-${PYSITELIB}/mpmath/libintmath.pyc
-${PYSITELIB}/mpmath/libintmath.pyo
-${PYSITELIB}/mpmath/libmpc.py
-${PYSITELIB}/mpmath/libmpc.pyc
-${PYSITELIB}/mpmath/libmpc.pyo
-${PYSITELIB}/mpmath/libmpf.py
-${PYSITELIB}/mpmath/libmpf.pyc
-${PYSITELIB}/mpmath/libmpf.pyo
-${PYSITELIB}/mpmath/libmpi.py
-${PYSITELIB}/mpmath/libmpi.pyc
-${PYSITELIB}/mpmath/libmpi.pyo
-${PYSITELIB}/mpmath/linalg.py
-${PYSITELIB}/mpmath/linalg.pyc
-${PYSITELIB}/mpmath/linalg.pyo
-${PYSITELIB}/mpmath/matrices.py
-${PYSITELIB}/mpmath/matrices.pyc
-${PYSITELIB}/mpmath/matrices.pyo
-${PYSITELIB}/mpmath/mptypes.py
-${PYSITELIB}/mpmath/mptypes.pyc
-${PYSITELIB}/mpmath/mptypes.pyo
-${PYSITELIB}/mpmath/odes.py
-${PYSITELIB}/mpmath/odes.pyc
-${PYSITELIB}/mpmath/odes.pyo
-${PYSITELIB}/mpmath/optimization.py
-${PYSITELIB}/mpmath/optimization.pyc
-${PYSITELIB}/mpmath/optimization.pyo
-${PYSITELIB}/mpmath/quadrature.py
-${PYSITELIB}/mpmath/quadrature.pyc
-${PYSITELIB}/mpmath/quadrature.pyo
-${PYSITELIB}/mpmath/settings.py
-${PYSITELIB}/mpmath/settings.pyc
-${PYSITELIB}/mpmath/settings.pyo
+${PYSITELIB}/mpmath/libmp/__init__.py
+${PYSITELIB}/mpmath/libmp/__init__.pyc
+${PYSITELIB}/mpmath/libmp/__init__.pyo
+${PYSITELIB}/mpmath/libmp/backend.py
+${PYSITELIB}/mpmath/libmp/backend.pyc
+${PYSITELIB}/mpmath/libmp/backend.pyo
+${PYSITELIB}/mpmath/libmp/gammazeta.py
+${PYSITELIB}/mpmath/libmp/gammazeta.pyc
+${PYSITELIB}/mpmath/libmp/gammazeta.pyo
+${PYSITELIB}/mpmath/libmp/libelefun.py
+${PYSITELIB}/mpmath/libmp/libelefun.pyc
+${PYSITELIB}/mpmath/libmp/libelefun.pyo
+${PYSITELIB}/mpmath/libmp/libhyper.py
+${PYSITELIB}/mpmath/libmp/libhyper.pyc
+${PYSITELIB}/mpmath/libmp/libhyper.pyo
+${PYSITELIB}/mpmath/libmp/libintmath.py
+${PYSITELIB}/mpmath/libmp/libintmath.pyc
+${PYSITELIB}/mpmath/libmp/libintmath.pyo
+${PYSITELIB}/mpmath/libmp/libmpc.py
+${PYSITELIB}/mpmath/libmp/libmpc.pyc
+${PYSITELIB}/mpmath/libmp/libmpc.pyo
+${PYSITELIB}/mpmath/libmp/libmpf.py
+${PYSITELIB}/mpmath/libmp/libmpf.pyc
+${PYSITELIB}/mpmath/libmp/libmpf.pyo
+${PYSITELIB}/mpmath/libmp/libmpi.py
+${PYSITELIB}/mpmath/libmp/libmpi.pyc
+${PYSITELIB}/mpmath/libmp/libmpi.pyo
+${PYSITELIB}/mpmath/math2.py
+${PYSITELIB}/mpmath/math2.pyc
+${PYSITELIB}/mpmath/math2.pyo
+${PYSITELIB}/mpmath/matrices/__init__.py
+${PYSITELIB}/mpmath/matrices/__init__.pyc
+${PYSITELIB}/mpmath/matrices/__init__.pyo
+${PYSITELIB}/mpmath/matrices/calculus.py
+${PYSITELIB}/mpmath/matrices/calculus.pyc
+${PYSITELIB}/mpmath/matrices/calculus.pyo
+${PYSITELIB}/mpmath/matrices/linalg.py
+${PYSITELIB}/mpmath/matrices/linalg.pyc
+${PYSITELIB}/mpmath/matrices/linalg.pyo
+${PYSITELIB}/mpmath/matrices/matrices.py
+${PYSITELIB}/mpmath/matrices/matrices.pyc
+${PYSITELIB}/mpmath/matrices/matrices.pyo
+${PYSITELIB}/mpmath/rational.py
+${PYSITELIB}/mpmath/rational.pyc
+${PYSITELIB}/mpmath/rational.pyo
${PYSITELIB}/mpmath/tests/__init__.py
${PYSITELIB}/mpmath/tests/__init__.pyc
${PYSITELIB}/mpmath/tests/__init__.pyo
@@ -92,6 +146,9 @@ ${PYSITELIB}/mpmath/tests/test_division.pyo
${PYSITELIB}/mpmath/tests/test_elliptic.py
${PYSITELIB}/mpmath/tests/test_elliptic.pyc
${PYSITELIB}/mpmath/tests/test_elliptic.pyo
+${PYSITELIB}/mpmath/tests/test_fp.py
+${PYSITELIB}/mpmath/tests/test_fp.pyc
+${PYSITELIB}/mpmath/tests/test_fp.pyo
${PYSITELIB}/mpmath/tests/test_functions.py
${PYSITELIB}/mpmath/tests/test_functions.pyc
${PYSITELIB}/mpmath/tests/test_functions.pyo
@@ -137,12 +194,18 @@ ${PYSITELIB}/mpmath/tests/test_rootfinding.pyo
${PYSITELIB}/mpmath/tests/test_special.py
${PYSITELIB}/mpmath/tests/test_special.pyc
${PYSITELIB}/mpmath/tests/test_special.pyo
+${PYSITELIB}/mpmath/tests/test_str.py
+${PYSITELIB}/mpmath/tests/test_str.pyc
+${PYSITELIB}/mpmath/tests/test_str.pyo
${PYSITELIB}/mpmath/tests/test_summation.py
${PYSITELIB}/mpmath/tests/test_summation.pyc
${PYSITELIB}/mpmath/tests/test_summation.pyo
${PYSITELIB}/mpmath/tests/test_trig.py
${PYSITELIB}/mpmath/tests/test_trig.pyc
${PYSITELIB}/mpmath/tests/test_trig.pyo
+${PYSITELIB}/mpmath/tests/test_visualization.py
+${PYSITELIB}/mpmath/tests/test_visualization.pyc
+${PYSITELIB}/mpmath/tests/test_visualization.pyo
${PYSITELIB}/mpmath/tests/torture.py
${PYSITELIB}/mpmath/tests/torture.pyc
${PYSITELIB}/mpmath/tests/torture.pyo
diff --git a/math/py-mpmath/distinfo b/math/py-mpmath/distinfo
index 65a7ac6c22d..a993c0fb9ff 100644
--- a/math/py-mpmath/distinfo
+++ b/math/py-mpmath/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/01/27 14:16:10 drochner Exp $
+$NetBSD: distinfo,v 1.2 2010/02/08 11:54:25 obache Exp $
-SHA1 (mpmath-0.13.zip) = 7bad59bc3630a74df87c96439b9ed6f3642b6c99
-RMD160 (mpmath-0.13.zip) = f90805742a08e2497fea02730a665d00d1a56e33
-Size (mpmath-0.13.zip) = 368471 bytes
+SHA1 (mpmath-0.14.zip) = dfb066da328c6f4855e71f0518e7f5965a1f80ed
+RMD160 (mpmath-0.14.zip) = 34393f582f20caa5d95a94c028f7a84c06660610
+Size (mpmath-0.14.zip) = 505585 bytes