Mon May 6 08:48:06 2019 UTC ()
py-mpmath: updated to 1.1.0

1.1.0:

Bugs:
* Fixed severe bug in householder() for complex matrices
* Fixed frequently-reported bug where findroot() mysteriously raised
  UnboundLocalError
* Corrected rounding in binary-to-decimal conversion above 500 digits
* Fixed minor loss of accuracy affecting rf(), ff(), binomial(), beta()
* Fixed incorrect computation of the Hurwitz zeta function in some cases
* Fixed accuracy of digamma function near 0
* Fixed RuntimeError in qfac() in Python 3.7 caused by raising
  StopIteration
* Fix to allow NumPy arrays in fdot()

Features and improvements:
* Added more automatic conversions from Fraction, Decimal, NumPy types
* Support creating mpf from a long literal
* Implemented log1p()
* Slight speedup of eig()
* Implement polylog() for general complex s and z by using Hurwitz zeta
  algorithm as a fallback

Library:
* Test more CPython and PyPy versions
* Drop support for Python 2.6 and 3.2
* Use py.test for test code; lots of code cleanup
* Corrections to the documentation


(adam)
diff -r1.14 -r1.15 pkgsrc/math/py-mpmath/Makefile
diff -r1.6 -r1.7 pkgsrc/math/py-mpmath/PLIST
diff -r1.8 -r1.9 pkgsrc/math/py-mpmath/distinfo

cvs diff -r1.14 -r1.15 pkgsrc/math/py-mpmath/Makefile (expand / switch to unified diff)

--- pkgsrc/math/py-mpmath/Makefile 2018/01/11 08:07:44 1.14
+++ pkgsrc/math/py-mpmath/Makefile 2019/05/06 08:48:06 1.15
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.14 2018/01/11 08:07:44 adam Exp $ 1# $NetBSD: Makefile,v 1.15 2019/05/06 08:48:06 adam Exp $
2 2
3DISTNAME= mpmath-1.0.0 3DISTNAME= mpmath-1.1.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= math python 5CATEGORIES= math python
6MASTER_SITES= ${MASTER_SITE_PYPI:=m/mpmath/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=m/mpmath/}
7MASTER_SITES+= http://mpmath.org/files/ 7MASTER_SITES+= http://mpmath.org/files/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://mpmath.org/ 10HOMEPAGE= http://mpmath.org/
11COMMENT= Python library for arbitrary-precision FP arithmetic 11COMMENT= Python library for arbitrary-precision FP arithmetic
12LICENSE= modified-bsd 12LICENSE= modified-bsd
13 13
14# py-gmpy provides faster backend 14# py-gmpy provides faster backend
15DEPENDS+= ${PYPKGPREFIX}-gmpy-[0-9]*:../../math/py-gmpy 15DEPENDS+= ${PYPKGPREFIX}-gmpy-[0-9]*:../../math/py-gmpy
16 16

cvs diff -r1.6 -r1.7 pkgsrc/math/py-mpmath/PLIST (expand / switch to unified diff)

--- pkgsrc/math/py-mpmath/PLIST 2018/01/11 08:07:44 1.6
+++ pkgsrc/math/py-mpmath/PLIST 2019/05/06 08:48:06 1.7
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.6 2018/01/11 08:07:44 adam Exp $ 1@comment $NetBSD: PLIST,v 1.7 2019/05/06 08:48:06 adam Exp $
2${PYSITELIB}/${EGG_FILE} 2${PYSITELIB}/${EGG_FILE}
3${PYSITELIB}/mpmath/__init__.py 3${PYSITELIB}/mpmath/__init__.py
4${PYSITELIB}/mpmath/__init__.pyc 4${PYSITELIB}/mpmath/__init__.pyc
5${PYSITELIB}/mpmath/__init__.pyo 5${PYSITELIB}/mpmath/__init__.pyo
6${PYSITELIB}/mpmath/calculus/__init__.py 6${PYSITELIB}/mpmath/calculus/__init__.py
7${PYSITELIB}/mpmath/calculus/__init__.pyc 7${PYSITELIB}/mpmath/calculus/__init__.pyc
8${PYSITELIB}/mpmath/calculus/__init__.pyo 8${PYSITELIB}/mpmath/calculus/__init__.pyo
9${PYSITELIB}/mpmath/calculus/approximation.py 9${PYSITELIB}/mpmath/calculus/approximation.py
10${PYSITELIB}/mpmath/calculus/approximation.pyc 10${PYSITELIB}/mpmath/calculus/approximation.pyc
11${PYSITELIB}/mpmath/calculus/approximation.pyo 11${PYSITELIB}/mpmath/calculus/approximation.pyo
12${PYSITELIB}/mpmath/calculus/calculus.py 12${PYSITELIB}/mpmath/calculus/calculus.py
13${PYSITELIB}/mpmath/calculus/calculus.pyc 13${PYSITELIB}/mpmath/calculus/calculus.pyc
14${PYSITELIB}/mpmath/calculus/calculus.pyo 14${PYSITELIB}/mpmath/calculus/calculus.pyo
@@ -23,29 +23,26 @@ ${PYSITELIB}/mpmath/calculus/inverselapl @@ -23,29 +23,26 @@ ${PYSITELIB}/mpmath/calculus/inverselapl
23${PYSITELIB}/mpmath/calculus/inverselaplace.pyo 23${PYSITELIB}/mpmath/calculus/inverselaplace.pyo
24${PYSITELIB}/mpmath/calculus/odes.py 24${PYSITELIB}/mpmath/calculus/odes.py
25${PYSITELIB}/mpmath/calculus/odes.pyc 25${PYSITELIB}/mpmath/calculus/odes.pyc
26${PYSITELIB}/mpmath/calculus/odes.pyo 26${PYSITELIB}/mpmath/calculus/odes.pyo
27${PYSITELIB}/mpmath/calculus/optimization.py 27${PYSITELIB}/mpmath/calculus/optimization.py
28${PYSITELIB}/mpmath/calculus/optimization.pyc 28${PYSITELIB}/mpmath/calculus/optimization.pyc
29${PYSITELIB}/mpmath/calculus/optimization.pyo 29${PYSITELIB}/mpmath/calculus/optimization.pyo
30${PYSITELIB}/mpmath/calculus/polynomials.py 30${PYSITELIB}/mpmath/calculus/polynomials.py
31${PYSITELIB}/mpmath/calculus/polynomials.pyc 31${PYSITELIB}/mpmath/calculus/polynomials.pyc
32${PYSITELIB}/mpmath/calculus/polynomials.pyo 32${PYSITELIB}/mpmath/calculus/polynomials.pyo
33${PYSITELIB}/mpmath/calculus/quadrature.py 33${PYSITELIB}/mpmath/calculus/quadrature.py
34${PYSITELIB}/mpmath/calculus/quadrature.pyc 34${PYSITELIB}/mpmath/calculus/quadrature.pyc
35${PYSITELIB}/mpmath/calculus/quadrature.pyo 35${PYSITELIB}/mpmath/calculus/quadrature.pyo
36${PYSITELIB}/mpmath/conftest.py 
37${PYSITELIB}/mpmath/conftest.pyc 
38${PYSITELIB}/mpmath/conftest.pyo 
39${PYSITELIB}/mpmath/ctx_base.py 36${PYSITELIB}/mpmath/ctx_base.py
40${PYSITELIB}/mpmath/ctx_base.pyc 37${PYSITELIB}/mpmath/ctx_base.pyc
41${PYSITELIB}/mpmath/ctx_base.pyo 38${PYSITELIB}/mpmath/ctx_base.pyo
42${PYSITELIB}/mpmath/ctx_fp.py 39${PYSITELIB}/mpmath/ctx_fp.py
43${PYSITELIB}/mpmath/ctx_fp.pyc 40${PYSITELIB}/mpmath/ctx_fp.pyc
44${PYSITELIB}/mpmath/ctx_fp.pyo 41${PYSITELIB}/mpmath/ctx_fp.pyo
45${PYSITELIB}/mpmath/ctx_iv.py 42${PYSITELIB}/mpmath/ctx_iv.py
46${PYSITELIB}/mpmath/ctx_iv.pyc 43${PYSITELIB}/mpmath/ctx_iv.pyc
47${PYSITELIB}/mpmath/ctx_iv.pyo 44${PYSITELIB}/mpmath/ctx_iv.pyo
48${PYSITELIB}/mpmath/ctx_mp.py 45${PYSITELIB}/mpmath/ctx_mp.py
49${PYSITELIB}/mpmath/ctx_mp.pyc 46${PYSITELIB}/mpmath/ctx_mp.pyc
50${PYSITELIB}/mpmath/ctx_mp.pyo 47${PYSITELIB}/mpmath/ctx_mp.pyo
51${PYSITELIB}/mpmath/ctx_mp_python.py 48${PYSITELIB}/mpmath/ctx_mp_python.py
@@ -143,29 +140,26 @@ ${PYSITELIB}/mpmath/matrices/eigen_symme @@ -143,29 +140,26 @@ ${PYSITELIB}/mpmath/matrices/eigen_symme
143${PYSITELIB}/mpmath/matrices/eigen_symmetric.pyo 140${PYSITELIB}/mpmath/matrices/eigen_symmetric.pyo
144${PYSITELIB}/mpmath/matrices/linalg.py 141${PYSITELIB}/mpmath/matrices/linalg.py
145${PYSITELIB}/mpmath/matrices/linalg.pyc 142${PYSITELIB}/mpmath/matrices/linalg.pyc
146${PYSITELIB}/mpmath/matrices/linalg.pyo 143${PYSITELIB}/mpmath/matrices/linalg.pyo
147${PYSITELIB}/mpmath/matrices/matrices.py 144${PYSITELIB}/mpmath/matrices/matrices.py
148${PYSITELIB}/mpmath/matrices/matrices.pyc 145${PYSITELIB}/mpmath/matrices/matrices.pyc
149${PYSITELIB}/mpmath/matrices/matrices.pyo 146${PYSITELIB}/mpmath/matrices/matrices.pyo
150${PYSITELIB}/mpmath/rational.py 147${PYSITELIB}/mpmath/rational.py
151${PYSITELIB}/mpmath/rational.pyc 148${PYSITELIB}/mpmath/rational.pyc
152${PYSITELIB}/mpmath/rational.pyo 149${PYSITELIB}/mpmath/rational.pyo
153${PYSITELIB}/mpmath/tests/__init__.py 150${PYSITELIB}/mpmath/tests/__init__.py
154${PYSITELIB}/mpmath/tests/__init__.pyc 151${PYSITELIB}/mpmath/tests/__init__.pyc
155${PYSITELIB}/mpmath/tests/__init__.pyo 152${PYSITELIB}/mpmath/tests/__init__.pyo
156${PYSITELIB}/mpmath/tests/extratest_bessel.py 
157${PYSITELIB}/mpmath/tests/extratest_bessel.pyc 
158${PYSITELIB}/mpmath/tests/extratest_bessel.pyo 
159${PYSITELIB}/mpmath/tests/extratest_gamma.py 153${PYSITELIB}/mpmath/tests/extratest_gamma.py
160${PYSITELIB}/mpmath/tests/extratest_gamma.pyc 154${PYSITELIB}/mpmath/tests/extratest_gamma.pyc
161${PYSITELIB}/mpmath/tests/extratest_gamma.pyo 155${PYSITELIB}/mpmath/tests/extratest_gamma.pyo
162${PYSITELIB}/mpmath/tests/extratest_zeta.py 156${PYSITELIB}/mpmath/tests/extratest_zeta.py
163${PYSITELIB}/mpmath/tests/extratest_zeta.pyc 157${PYSITELIB}/mpmath/tests/extratest_zeta.pyc
164${PYSITELIB}/mpmath/tests/extratest_zeta.pyo 158${PYSITELIB}/mpmath/tests/extratest_zeta.pyo
165${PYSITELIB}/mpmath/tests/runtests.py 159${PYSITELIB}/mpmath/tests/runtests.py
166${PYSITELIB}/mpmath/tests/runtests.pyc 160${PYSITELIB}/mpmath/tests/runtests.pyc
167${PYSITELIB}/mpmath/tests/runtests.pyo 161${PYSITELIB}/mpmath/tests/runtests.pyo
168${PYSITELIB}/mpmath/tests/test_basic_ops.py 162${PYSITELIB}/mpmath/tests/test_basic_ops.py
169${PYSITELIB}/mpmath/tests/test_basic_ops.pyc 163${PYSITELIB}/mpmath/tests/test_basic_ops.pyc
170${PYSITELIB}/mpmath/tests/test_basic_ops.pyo 164${PYSITELIB}/mpmath/tests/test_basic_ops.pyo
171${PYSITELIB}/mpmath/tests/test_bitwise.py 165${PYSITELIB}/mpmath/tests/test_bitwise.py

cvs diff -r1.8 -r1.9 pkgsrc/math/py-mpmath/distinfo (expand / switch to unified diff)

--- pkgsrc/math/py-mpmath/distinfo 2018/01/11 08:07:44 1.8
+++ pkgsrc/math/py-mpmath/distinfo 2019/05/06 08:48:06 1.9
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.8 2018/01/11 08:07:44 adam Exp $ 1$NetBSD: distinfo,v 1.9 2019/05/06 08:48:06 adam Exp $
2 2
3SHA1 (mpmath-1.0.0.tar.gz) = 1df3f1f930b9b7e752c56857f1ac22a62f25b854 3SHA1 (mpmath-1.1.0.tar.gz) = 3f479408ea65b08bc23eeebe5dac2f2293dfec9d
4RMD160 (mpmath-1.0.0.tar.gz) = 89440e75bf0b33b125314bf60d92c5d4279c123b 4RMD160 (mpmath-1.1.0.tar.gz) = 7b0ea9200d2b5f9d6a139e8d5b67ecd07e967952
5SHA512 (mpmath-1.0.0.tar.gz) = e26336ef35719d9a5a7387b9104be4251726bc9753ad4763f1d6041491e9904d9fc97831875cddbfd0b6b0eb641d579fcc3f556bfae7dd8acd1c5c6b10e8cd61 5SHA512 (mpmath-1.1.0.tar.gz) = 58c69a801f65d73cc0eeb0d2c79277ed638568c656e7213d06ab4709c218aac908b2752377139010bed0e91bbfff01d129c60835ff0a928ba1185aded6de7c0a
6Size (mpmath-1.0.0.tar.gz) = 511353 bytes 6Size (mpmath-1.1.0.tar.gz) = 512600 bytes