diff options
author | wen <wen@pkgsrc.org> | 2014-06-06 12:11:46 +0000 |
---|---|---|
committer | wen <wen@pkgsrc.org> | 2014-06-06 12:11:46 +0000 |
commit | 01b9fac29e6f301f5d5a71ff109ff40e98abace6 (patch) | |
tree | 2f60ceecb42cece77d428ff33a830a7ba807e759 /math/py-mpmath | |
parent | ab3fd61ef95827962c19318238584e26f74d150e (diff) | |
download | pkgsrc-01b9fac29e6f301f5d5a71ff109ff40e98abace6.tar.gz |
Update to 0.18
Upstream changes:
--0.18--
Released December 31, 2013
Linear algebra:
* added qr() for matrix QR factorization (contributed by Ken Allen)
* added functions eigsy(), eighe(), eig() to compute matrix
eigenvalues (contributed by Timo Hartmann)
* added functions svd(), svd_r(), svd_c() for singular value
decomposition of matrices (contributed by Timo Hartmann)
* added calculation of Gaussian quadrature rules for various weight
functions (contributed by Timo Hartmann)
* improved precision selection in exp_pade() (contributed by
Mario Pernici)
Special functions:
* fixed ellippi() to return an inf instead of raising an exception
* fixed a crash in zeta() with huge arguments
* added functions for computing Stirling numbers
(stirling1(), stirling2())
* improved the computation of zeros of zeta at high precision
(contributed by Juan Arias de Reyna)
* fixed zeta(-x) raising an exception for tiny x
* recognize when lerchphi() can call zeta() or polylog(),
handling those cases faster
Compatibility:
* fixed gmpy2 compatibility issues (contributed by Case Van Horsen)
* better solutions for python 2/3 compatibility,
using Benjamin Peterson's six.py
* fixes to allow mpmath to run in non-sage mode when sage is available
* support abstract base classes (contributed by Stefan Krastanov)
* use new-style classes to improve pypy performance
Other:
* added Levin, Sidi-S and Cohen/Villegas/Zagier series
transformations (contributed by Timo Hartmann)
* added isfinite() utility function
* fixed a problem with bisection root-finding
* fixed several documentation errors
* corrected number of coefficients returned by diffs() with
method='quad'
* fixed repr(constant) being slow at high precision
* made intervals hashable
Diffstat (limited to 'math/py-mpmath')
-rw-r--r-- | math/py-mpmath/Makefile | 22 | ||||
-rw-r--r-- | math/py-mpmath/PLIST | 28 | ||||
-rw-r--r-- | math/py-mpmath/distinfo | 8 |
3 files changed, 46 insertions, 12 deletions
diff --git a/math/py-mpmath/Makefile b/math/py-mpmath/Makefile index 7c9ef89d0ae..3fa8e7a88ed 100644 --- a/math/py-mpmath/Makefile +++ b/math/py-mpmath/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.8 2014/05/09 07:37:11 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2014/06/06 12:11:46 wen Exp $ -DISTNAME= mpmath-0.17 +DISTNAME= mpmath-0.18 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= math -MASTER_SITES= http://mpmath.googlecode.com/files/ +MASTER_SITES= http://pypi.python.org/packages/source/m/mpmath/ \ + http://mpmath.googlecode.com/files/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://code.google.com/p/mpmath/ @@ -16,6 +17,21 @@ PYDISTUTILSPKG= yes PYTHON_VERSIONS_INCOMPATIBLE= 33 34 TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib + +SUBST_CLASSES+= python +SUBST_STAGE.python= post-patch +SUBST_FILES.python+= mpmath/matrices/eigen.py mpmath/matrices/eigen_symmetric.py +SUBST_FILES.python+= mpmath/tests/test_eigen.py mpmath/tests/test_eigen_symmetric.py +SUBST_FILES.python+= mpmath/tests/test_levin.py +SUBST_MESSAGE.python= Fixing path to Python interpreter. +SUBST_SED.python= -e "s,/usr/bin/python,${PYTHONBIN},g" + +SUBST_CLASSES+= python2 +SUBST_STAGE.python2= post-patch +SUBST_FILES.python2+= mpmath/tests/runtests.py +SUBST_MESSAGE.python2= Fixing path to Python interpreter. +SUBST_SED.python2= -e "s,/usr/bin/env python,${PYTHONBIN},g" + do-test: ${RUN} cd ${WRKSRC}/build/lib/mpmath/tests; \ ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py diff --git a/math/py-mpmath/PLIST b/math/py-mpmath/PLIST index de0a76e1739..1019085e301 100644 --- a/math/py-mpmath/PLIST +++ b/math/py-mpmath/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2012/02/24 19:40:53 drochner Exp $ +@comment $NetBSD: PLIST,v 1.5 2014/06/06 12:11:46 wen Exp $ ${PYSITELIB}/mpmath/__init__.py ${PYSITELIB}/mpmath/__init__.pyc ${PYSITELIB}/mpmath/__init__.pyo @@ -98,10 +98,6 @@ ${PYSITELIB}/mpmath/libmp/__init__.pyo ${PYSITELIB}/mpmath/libmp/backend.py ${PYSITELIB}/mpmath/libmp/backend.pyc ${PYSITELIB}/mpmath/libmp/backend.pyo -${PYSITELIB}/mpmath/libmp/exec_py2.py -${PYSITELIB}/mpmath/libmp/exec_py2.pyc -${PYSITELIB}/mpmath/libmp/exec_py2.pyo -${PYSITELIB}/mpmath/libmp/exec_py3.py ${PYSITELIB}/mpmath/libmp/gammazeta.py ${PYSITELIB}/mpmath/libmp/gammazeta.pyc ${PYSITELIB}/mpmath/libmp/gammazeta.pyo @@ -123,6 +119,9 @@ ${PYSITELIB}/mpmath/libmp/libmpf.pyo ${PYSITELIB}/mpmath/libmp/libmpi.py ${PYSITELIB}/mpmath/libmp/libmpi.pyc ${PYSITELIB}/mpmath/libmp/libmpi.pyo +${PYSITELIB}/mpmath/libmp/six.py +${PYSITELIB}/mpmath/libmp/six.pyc +${PYSITELIB}/mpmath/libmp/six.pyo ${PYSITELIB}/mpmath/math2.py ${PYSITELIB}/mpmath/math2.pyc ${PYSITELIB}/mpmath/math2.pyo @@ -132,6 +131,12 @@ ${PYSITELIB}/mpmath/matrices/__init__.pyo ${PYSITELIB}/mpmath/matrices/calculus.py ${PYSITELIB}/mpmath/matrices/calculus.pyc ${PYSITELIB}/mpmath/matrices/calculus.pyo +${PYSITELIB}/mpmath/matrices/eigen.py +${PYSITELIB}/mpmath/matrices/eigen.pyc +${PYSITELIB}/mpmath/matrices/eigen.pyo +${PYSITELIB}/mpmath/matrices/eigen_symmetric.py +${PYSITELIB}/mpmath/matrices/eigen_symmetric.pyc +${PYSITELIB}/mpmath/matrices/eigen_symmetric.pyo ${PYSITELIB}/mpmath/matrices/linalg.py ${PYSITELIB}/mpmath/matrices/linalg.pyc ${PYSITELIB}/mpmath/matrices/linalg.pyo @@ -148,6 +153,8 @@ ${PYSITELIB}/mpmath/tests/extratest_bessel.py ${PYSITELIB}/mpmath/tests/extratest_bessel.pyc ${PYSITELIB}/mpmath/tests/extratest_bessel.pyo ${PYSITELIB}/mpmath/tests/extratest_gamma.py +${PYSITELIB}/mpmath/tests/extratest_gamma.pyc +${PYSITELIB}/mpmath/tests/extratest_gamma.pyo ${PYSITELIB}/mpmath/tests/extratest_zeta.py ${PYSITELIB}/mpmath/tests/extratest_zeta.pyc ${PYSITELIB}/mpmath/tests/extratest_zeta.pyo @@ -175,6 +182,12 @@ ${PYSITELIB}/mpmath/tests/test_diff.pyo ${PYSITELIB}/mpmath/tests/test_division.py ${PYSITELIB}/mpmath/tests/test_division.pyc ${PYSITELIB}/mpmath/tests/test_division.pyo +${PYSITELIB}/mpmath/tests/test_eigen.py +${PYSITELIB}/mpmath/tests/test_eigen.pyc +${PYSITELIB}/mpmath/tests/test_eigen.pyo +${PYSITELIB}/mpmath/tests/test_eigen_symmetric.py +${PYSITELIB}/mpmath/tests/test_eigen_symmetric.pyc +${PYSITELIB}/mpmath/tests/test_eigen_symmetric.pyo ${PYSITELIB}/mpmath/tests/test_elliptic.py ${PYSITELIB}/mpmath/tests/test_elliptic.pyc ${PYSITELIB}/mpmath/tests/test_elliptic.pyo @@ -199,6 +212,9 @@ ${PYSITELIB}/mpmath/tests/test_identify.pyo ${PYSITELIB}/mpmath/tests/test_interval.py ${PYSITELIB}/mpmath/tests/test_interval.pyc ${PYSITELIB}/mpmath/tests/test_interval.pyo +${PYSITELIB}/mpmath/tests/test_levin.py +${PYSITELIB}/mpmath/tests/test_levin.pyc +${PYSITELIB}/mpmath/tests/test_levin.pyo ${PYSITELIB}/mpmath/tests/test_linalg.py ${PYSITELIB}/mpmath/tests/test_linalg.pyc ${PYSITELIB}/mpmath/tests/test_linalg.pyo @@ -239,6 +255,8 @@ ${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 ${PYSITELIB}/mpmath/usertools.py ${PYSITELIB}/mpmath/usertools.pyc ${PYSITELIB}/mpmath/usertools.pyo diff --git a/math/py-mpmath/distinfo b/math/py-mpmath/distinfo index d053ec04476..56fd504c86f 100644 --- a/math/py-mpmath/distinfo +++ b/math/py-mpmath/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2012/02/24 19:40:53 drochner Exp $ +$NetBSD: distinfo,v 1.5 2014/06/06 12:11:46 wen Exp $ -SHA1 (mpmath-0.17.tar.gz) = c5bd806308c96d1d93a6b437995a09e5ab0e9331 -RMD160 (mpmath-0.17.tar.gz) = bfdbab090820cc7e28a9f3cff9ed8dcd24eacaff -Size (mpmath-0.17.tar.gz) = 465956 bytes +SHA1 (mpmath-0.18.tar.gz) = 43a94c60c2fe377dde365afa1d35a8f0125df61a +RMD160 (mpmath-0.18.tar.gz) = e7ae6c4a135f7b7670d5686f21a60b4deac96363 +Size (mpmath-0.18.tar.gz) = 498631 bytes |