py-mpmath: updated to 1.0.0 --1.0.0-- * Bumped to major version number for 10 year anniversary * Added module for inverse Laplace transforms, including the top level function invertlaplace() as well as several different algorithms (Talbot, Gaver-Stehfest and de Hoog) implemented in mpmath.calculus.inverselaplace (Kris Kuhlman) * Fixed bugs in elliprg() giving incorrect values for certain input * Fixed wrong degree 1 nodes for Gaussian quadrature * Made make acot(0) and acoth(0) return a finite result * Fixed sieved zeta sum not being used in Python 3, and added cutoff for sieved zeta sum on 32-bit systems when too much memory would be used * Fixed zeta(0,0.5) to return correct value instead of raising NoConvergence exception * Added detection of exact zeros in gammainc(), in particular fixing NoConvergence error for gammainc(3,-1+1j) * Fixed wrong values from besseli() due to improper internal precision * Fixed bessely(0,1j) to return complex nan instead of raising NameError (Paul Masson) * Changed float() and complex() applied to an mpf or mpc to use rounding to nearest (or the context rounding mode) instead truncating * Fix imaginary part of gammainc(n,x), n negative odd int, x < 0 * Added alternative "phase" color scheme to cplot() * Better error message for int(inf) or int(nan) (Aaron Meurer) * Fixed polyroots() with error=True * Added support to pass optional initial values to polyroots() (Michael Kagalenko) * Rewrote the Python major version selection to make it work if something else has redefined xrange (Arne Brys) * Switched documentation formula rendering to MathJax (Sergey B Kirpichev) * Fixed documentation TeX build (Sergey B Kirpichev) * Added PEP8 conformity testing (Sergey B Kirpichev) * Various fixes for the test code and test infrastructure on different platforms and Python versions (Sergey B Kirpichev) * Fixed module paths in setup.py (Aaron Meurer) * Documented more options for methods such as nstr() and hyper() * Miscellaneous corrections to the documentation (various)diff -r1.13 -r1.14 pkgsrc/math/py-mpmath/Makefile
(adam)
@@ -1,40 +1,23 @@ | @@ -1,40 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.13 2017/01/19 18:52:18 agc Exp $ | 1 | # $NetBSD: Makefile,v 1.14 2018/01/11 08:07:44 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= mpmath-0.19 | 3 | DISTNAME= mpmath-1.0.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= math | 5 | CATEGORIES= math python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/mpmath/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/mpmath/} | |
7 | MASTER_SITES+= http://mpmath.org/files/ | 7 | MASTER_SITES+= http://mpmath.org/files/ | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://mpmath.org/ | 10 | HOMEPAGE= http://mpmath.org/ | |
11 | COMMENT= Python library for arbitrary-precision FP arithmetic | 11 | COMMENT= Python library for arbitrary-precision FP arithmetic | |
12 | LICENSE= modified-bsd | 12 | LICENSE= modified-bsd | |
13 | 13 | |||
14 | USE_LANGUAGES= # none | 14 | # py-gmpy provides faster backend | |
15 | PYDISTUTILSPKG= yes | 15 | DEPENDS+= ${PYPKGPREFIX}-gmpy-[0-9]*:../../math/py-gmpy | |
16 | ||||
17 | TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib | |||
18 | 16 | |||
19 | SUBST_CLASSES+= python | 17 | USE_LANGUAGES= # none | |
20 | SUBST_STAGE.python= post-patch | |||
21 | SUBST_FILES.python+= mpmath/matrices/eigen.py mpmath/matrices/eigen_symmetric.py | |||
22 | SUBST_FILES.python+= mpmath/tests/test_eigen.py mpmath/tests/test_eigen_symmetric.py | |||
23 | SUBST_FILES.python+= mpmath/tests/test_levin.py | |||
24 | SUBST_MESSAGE.python= Fixing path to Python interpreter. | |||
25 | SUBST_SED.python= -e "s,/usr/bin/python,${PYTHONBIN},g" | |||
26 | ||||
27 | SUBST_CLASSES+= python2 | |||
28 | SUBST_STAGE.python2= post-patch | |||
29 | SUBST_FILES.python2+= mpmath/tests/runtests.py | |||
30 | SUBST_MESSAGE.python2= Fixing path to Python interpreter. | |||
31 | SUBST_SED.python2= -e "s,/usr/bin/env python,${PYTHONBIN},g" | |||
32 | 18 | |||
33 | do-test: | 19 | do-test: | |
34 | ${RUN} cd ${WRKSRC}/build/lib/mpmath/tests; \ | 20 | cd ${WRKSRC}/mpmath/tests && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py | |
35 | ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py | |||
36 | 21 | |||
37 | .include "../../lang/python/extension.mk" | 22 | .include "../../lang/python/distutils.mk" | |
38 | # optional speedup | |||
39 | #.include "../../math/py-gmpy/buildlink3.mk" | |||
40 | .include "../../mk/bsd.pkg.mk" | 23 | .include "../../mk/bsd.pkg.mk" |
@@ -1,32 +1,36 @@ | @@ -1,32 +1,36 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.5 2014/06/06 12:11:46 wen Exp $ | 1 | @comment $NetBSD: PLIST,v 1.6 2018/01/11 08:07:44 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_FILE} | |||
2 | ${PYSITELIB}/mpmath/__init__.py | 3 | ${PYSITELIB}/mpmath/__init__.py | |
3 | ${PYSITELIB}/mpmath/__init__.pyc | 4 | ${PYSITELIB}/mpmath/__init__.pyc | |
4 | ${PYSITELIB}/mpmath/__init__.pyo | 5 | ${PYSITELIB}/mpmath/__init__.pyo | |
5 | ${PYSITELIB}/mpmath/calculus/__init__.py | 6 | ${PYSITELIB}/mpmath/calculus/__init__.py | |
6 | ${PYSITELIB}/mpmath/calculus/__init__.pyc | 7 | ${PYSITELIB}/mpmath/calculus/__init__.pyc | |
7 | ${PYSITELIB}/mpmath/calculus/__init__.pyo | 8 | ${PYSITELIB}/mpmath/calculus/__init__.pyo | |
8 | ${PYSITELIB}/mpmath/calculus/approximation.py | 9 | ${PYSITELIB}/mpmath/calculus/approximation.py | |
9 | ${PYSITELIB}/mpmath/calculus/approximation.pyc | 10 | ${PYSITELIB}/mpmath/calculus/approximation.pyc | |
10 | ${PYSITELIB}/mpmath/calculus/approximation.pyo | 11 | ${PYSITELIB}/mpmath/calculus/approximation.pyo | |
11 | ${PYSITELIB}/mpmath/calculus/calculus.py | 12 | ${PYSITELIB}/mpmath/calculus/calculus.py | |
12 | ${PYSITELIB}/mpmath/calculus/calculus.pyc | 13 | ${PYSITELIB}/mpmath/calculus/calculus.pyc | |
13 | ${PYSITELIB}/mpmath/calculus/calculus.pyo | 14 | ${PYSITELIB}/mpmath/calculus/calculus.pyo | |
14 | ${PYSITELIB}/mpmath/calculus/differentiation.py | 15 | ${PYSITELIB}/mpmath/calculus/differentiation.py | |
15 | ${PYSITELIB}/mpmath/calculus/differentiation.pyc | 16 | ${PYSITELIB}/mpmath/calculus/differentiation.pyc | |
16 | ${PYSITELIB}/mpmath/calculus/differentiation.pyo | 17 | ${PYSITELIB}/mpmath/calculus/differentiation.pyo | |
17 | ${PYSITELIB}/mpmath/calculus/extrapolation.py | 18 | ${PYSITELIB}/mpmath/calculus/extrapolation.py | |
18 | ${PYSITELIB}/mpmath/calculus/extrapolation.pyc | 19 | ${PYSITELIB}/mpmath/calculus/extrapolation.pyc | |
19 | ${PYSITELIB}/mpmath/calculus/extrapolation.pyo | 20 | ${PYSITELIB}/mpmath/calculus/extrapolation.pyo | |
21 | ${PYSITELIB}/mpmath/calculus/inverselaplace.py | |||
22 | ${PYSITELIB}/mpmath/calculus/inverselaplace.pyc | |||
23 | ${PYSITELIB}/mpmath/calculus/inverselaplace.pyo | |||
20 | ${PYSITELIB}/mpmath/calculus/odes.py | 24 | ${PYSITELIB}/mpmath/calculus/odes.py | |
21 | ${PYSITELIB}/mpmath/calculus/odes.pyc | 25 | ${PYSITELIB}/mpmath/calculus/odes.pyc | |
22 | ${PYSITELIB}/mpmath/calculus/odes.pyo | 26 | ${PYSITELIB}/mpmath/calculus/odes.pyo | |
23 | ${PYSITELIB}/mpmath/calculus/optimization.py | 27 | ${PYSITELIB}/mpmath/calculus/optimization.py | |
24 | ${PYSITELIB}/mpmath/calculus/optimization.pyc | 28 | ${PYSITELIB}/mpmath/calculus/optimization.pyc | |
25 | ${PYSITELIB}/mpmath/calculus/optimization.pyo | 29 | ${PYSITELIB}/mpmath/calculus/optimization.pyo | |
26 | ${PYSITELIB}/mpmath/calculus/polynomials.py | 30 | ${PYSITELIB}/mpmath/calculus/polynomials.py | |
27 | ${PYSITELIB}/mpmath/calculus/polynomials.pyc | 31 | ${PYSITELIB}/mpmath/calculus/polynomials.pyc | |
28 | ${PYSITELIB}/mpmath/calculus/polynomials.pyo | 32 | ${PYSITELIB}/mpmath/calculus/polynomials.pyo | |
29 | ${PYSITELIB}/mpmath/calculus/quadrature.py | 33 | ${PYSITELIB}/mpmath/calculus/quadrature.py | |
30 | ${PYSITELIB}/mpmath/calculus/quadrature.pyc | 34 | ${PYSITELIB}/mpmath/calculus/quadrature.pyc | |
31 | ${PYSITELIB}/mpmath/calculus/quadrature.pyo | 35 | ${PYSITELIB}/mpmath/calculus/quadrature.pyo | |
32 | ${PYSITELIB}/mpmath/conftest.py | 36 | ${PYSITELIB}/mpmath/conftest.py |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.7 2015/11/03 23:33:42 agc Exp $ | 1 | $NetBSD: distinfo,v 1.8 2018/01/11 08:07:44 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (mpmath-0.19.tar.gz) = 65da0ed4ed01d067f0f5b890ca28ad2f2fb56343 | 3 | SHA1 (mpmath-1.0.0.tar.gz) = 1df3f1f930b9b7e752c56857f1ac22a62f25b854 | |
4 | RMD160 (mpmath-0.19.tar.gz) = 96c4f24528e8785209242cb9c36686c42248213f | 4 | RMD160 (mpmath-1.0.0.tar.gz) = 89440e75bf0b33b125314bf60d92c5d4279c123b | |
5 | SHA512 (mpmath-0.19.tar.gz) = aeaef19f28b0c8a72d5bb093e23a8b1a8d6843f9087711e646b857c8a7722b11611fda76d3fe03c7fee042d0b69fc8f8bbbbb13a97c116a147346f36cdb4f8bf | 5 | SHA512 (mpmath-1.0.0.tar.gz) = e26336ef35719d9a5a7387b9104be4251726bc9753ad4763f1d6041491e9904d9fc97831875cddbfd0b6b0eb641d579fcc3f556bfae7dd8acd1c5c6b10e8cd61 | |
6 | Size (mpmath-0.19.tar.gz) = 498564 bytes | 6 | Size (mpmath-1.0.0.tar.gz) = 511353 bytes |