py-mpmath: updated to 1.3.0 --1.3.0-- Released March 7, 2023 Security issues: * Fixed ReDOS vulnerability in mpmathify() (CVE-2021-29063) (Vinzent Steinberg) Features: * Added quadsubdiv() for numerical integration with adaptive path splitting (Fredrik Johansson) * Added the Cohen algorithm for inverse Laplace transforms (Guillermo Navas-Palencia) * Some speedup of matrix multiplication (Fredrik Johansson) * Optimizations to Carlson elliptic integrals (Paul Masson) * Added signal functions (squarew(), trianglew(), sawtoothw(), unit_triangle() sigmoidw()) (Nike Dattani, Deyan Mihaylov, Tina Yu) Bug fixes: * Correct mpf initialization from tuple for finf and fninf (Sergey B Kirpichev) * Support QR decomposition for matrices of width 0 and 1 (Clemens Hofreither) * Fixed some cases where elliprj() gave inaccurate results (Fredrik Johansson) * Fixed cases where digamma() hangs for complex input (Fredrik Johansson) * Fixed cases of polylog() with integer-valued parameter with complex type (Fredrik Johansson) * Fixed fp.nsum() with Euler-Maclaurin algorithm (Fredrik Johansson) Maintenance: * Dropped support for Python 3.4 (Sergey B Kirpichev) * Documentation cleanup (Sergey B Kirpichev) * Removed obsolete files (Sergey B Kirpichev) * Added options to runtests.py to skip tests and exit on failure (Jonathan Warner)diff -r1.19 -r1.20 pkgsrc/math/py-mpmath/Makefile
(adam)
@@ -1,27 +1,27 @@ | @@ -1,27 +1,27 @@ | |||
1 | # $NetBSD: Makefile,v 1.19 2022/11/14 18:53:37 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.20 2023/03/14 14:12:49 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= mpmath-1.2.1 | 3 | DISTNAME= mpmath-1.3.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= math python | 5 | CATEGORIES= math python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/mpmath/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/mpmath/} | |
8 | MASTER_SITES+= http://mpmath.org/files/ | 7 | MASTER_SITES+= https://mpmath.org/files/ | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://mpmath.org/ | 10 | HOMEPAGE= https://mpmath.org/ | |
12 | COMMENT= Python library for arbitrary-precision FP arithmetic | 11 | COMMENT= Python library for arbitrary-precision FP arithmetic | |
13 | LICENSE= modified-bsd | 12 | LICENSE= modified-bsd | |
14 | 13 | |||
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm | |||
15 | # py-gmpy provides faster backend | 15 | # py-gmpy provides faster backend | |
16 | DEPENDS+= ${PYPKGPREFIX}-gmpy2-[0-9]*:../../math/py-gmpy2 | 16 | DEPENDS+= ${PYPKGPREFIX}-gmpy2>=2.1.0:../../math/py-gmpy2 | |
17 | BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm | 17 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.6:../../devel/py-test | |
18 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | |||
19 | 18 | |||
20 | USE_LANGUAGES= # none | 19 | USE_LANGUAGES= # none | |
21 | 20 | |||
22 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 21 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
23 | 22 | |||
24 | PYSETUPTESTTARGET= pytest | 23 | do-test: | |
24 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} mpmath/tests | |||
25 | 25 | |||
26 | .include "../../lang/python/egg.mk" | 26 | .include "../../lang/python/egg.mk" | |
27 | .include "../../mk/bsd.pkg.mk" | 27 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.8 2021/05/12 08:32:16 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.9 2023/03/14 14:12:49 adam Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
7 | ${PYSITELIB}/mpmath/__init__.py | 7 | ${PYSITELIB}/mpmath/__init__.py | |
8 | ${PYSITELIB}/mpmath/__init__.pyc | 8 | ${PYSITELIB}/mpmath/__init__.pyc | |
9 | ${PYSITELIB}/mpmath/__init__.pyo | 9 | ${PYSITELIB}/mpmath/__init__.pyo | |
10 | ${PYSITELIB}/mpmath/calculus/__init__.py | 10 | ${PYSITELIB}/mpmath/calculus/__init__.py | |
11 | ${PYSITELIB}/mpmath/calculus/__init__.pyc | 11 | ${PYSITELIB}/mpmath/calculus/__init__.pyc | |
12 | ${PYSITELIB}/mpmath/calculus/__init__.pyo | 12 | ${PYSITELIB}/mpmath/calculus/__init__.pyo | |
13 | ${PYSITELIB}/mpmath/calculus/approximation.py | 13 | ${PYSITELIB}/mpmath/calculus/approximation.py | |
14 | ${PYSITELIB}/mpmath/calculus/approximation.pyc | 14 | ${PYSITELIB}/mpmath/calculus/approximation.pyc | |
@@ -75,26 +75,29 @@ ${PYSITELIB}/mpmath/functions/functions. | @@ -75,26 +75,29 @@ ${PYSITELIB}/mpmath/functions/functions. | |||
75 | ${PYSITELIB}/mpmath/functions/functions.pyo | 75 | ${PYSITELIB}/mpmath/functions/functions.pyo | |
76 | ${PYSITELIB}/mpmath/functions/hypergeometric.py | 76 | ${PYSITELIB}/mpmath/functions/hypergeometric.py | |
77 | ${PYSITELIB}/mpmath/functions/hypergeometric.pyc | 77 | ${PYSITELIB}/mpmath/functions/hypergeometric.pyc | |
78 | ${PYSITELIB}/mpmath/functions/hypergeometric.pyo | 78 | ${PYSITELIB}/mpmath/functions/hypergeometric.pyo | |
79 | ${PYSITELIB}/mpmath/functions/orthogonal.py | 79 | ${PYSITELIB}/mpmath/functions/orthogonal.py | |
80 | ${PYSITELIB}/mpmath/functions/orthogonal.pyc | 80 | ${PYSITELIB}/mpmath/functions/orthogonal.pyc | |
81 | ${PYSITELIB}/mpmath/functions/orthogonal.pyo | 81 | ${PYSITELIB}/mpmath/functions/orthogonal.pyo | |
82 | ${PYSITELIB}/mpmath/functions/qfunctions.py | 82 | ${PYSITELIB}/mpmath/functions/qfunctions.py | |
83 | ${PYSITELIB}/mpmath/functions/qfunctions.pyc | 83 | ${PYSITELIB}/mpmath/functions/qfunctions.pyc | |
84 | ${PYSITELIB}/mpmath/functions/qfunctions.pyo | 84 | ${PYSITELIB}/mpmath/functions/qfunctions.pyo | |
85 | ${PYSITELIB}/mpmath/functions/rszeta.py | 85 | ${PYSITELIB}/mpmath/functions/rszeta.py | |
86 | ${PYSITELIB}/mpmath/functions/rszeta.pyc | 86 | ${PYSITELIB}/mpmath/functions/rszeta.pyc | |
87 | ${PYSITELIB}/mpmath/functions/rszeta.pyo | 87 | ${PYSITELIB}/mpmath/functions/rszeta.pyo | |
88 | ${PYSITELIB}/mpmath/functions/signals.py | |||
89 | ${PYSITELIB}/mpmath/functions/signals.pyc | |||
90 | ${PYSITELIB}/mpmath/functions/signals.pyo | |||
88 | ${PYSITELIB}/mpmath/functions/theta.py | 91 | ${PYSITELIB}/mpmath/functions/theta.py | |
89 | ${PYSITELIB}/mpmath/functions/theta.pyc | 92 | ${PYSITELIB}/mpmath/functions/theta.pyc | |
90 | ${PYSITELIB}/mpmath/functions/theta.pyo | 93 | ${PYSITELIB}/mpmath/functions/theta.pyo | |
91 | ${PYSITELIB}/mpmath/functions/zeta.py | 94 | ${PYSITELIB}/mpmath/functions/zeta.py | |
92 | ${PYSITELIB}/mpmath/functions/zeta.pyc | 95 | ${PYSITELIB}/mpmath/functions/zeta.pyc | |
93 | ${PYSITELIB}/mpmath/functions/zeta.pyo | 96 | ${PYSITELIB}/mpmath/functions/zeta.pyo | |
94 | ${PYSITELIB}/mpmath/functions/zetazeros.py | 97 | ${PYSITELIB}/mpmath/functions/zetazeros.py | |
95 | ${PYSITELIB}/mpmath/functions/zetazeros.pyc | 98 | ${PYSITELIB}/mpmath/functions/zetazeros.pyc | |
96 | ${PYSITELIB}/mpmath/functions/zetazeros.pyo | 99 | ${PYSITELIB}/mpmath/functions/zetazeros.pyo | |
97 | ${PYSITELIB}/mpmath/identification.py | 100 | ${PYSITELIB}/mpmath/identification.py | |
98 | ${PYSITELIB}/mpmath/identification.pyc | 101 | ${PYSITELIB}/mpmath/identification.pyc | |
99 | ${PYSITELIB}/mpmath/identification.pyo | 102 | ${PYSITELIB}/mpmath/identification.pyo | |
100 | ${PYSITELIB}/mpmath/libmp/__init__.py | 103 | ${PYSITELIB}/mpmath/libmp/__init__.py |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.12 2021/10/26 10:56:02 nia Exp $ | 1 | $NetBSD: distinfo,v 1.13 2023/03/14 14:12:49 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (mpmath-1.2.1.tar.gz) = 02b967d393a0465ae90f5373b0c5633b4c32c1fed3763f8fca5b51439564f84b | 3 | BLAKE2s (mpmath-1.3.0.tar.gz) = 8c989285af9f0456d42c039ecfb9e6b9b9aec95d78c4248964e4c3eb84c858fd | |
4 | SHA512 (mpmath-1.2.1.tar.gz) = 9644d69f3065a9eb2d90edc5b8c3709703aacbf53741ba4f9f57e2496b9f34bfdf656c247066b9825849c76583603dae77e8ff9c52f87978c53d6863f15dc5e3 | 4 | SHA512 (mpmath-1.3.0.tar.gz) = a68028150095d743eae9669a0f70cbe6b7bcb4d27dfad6b1a96575f0885ec7306459a2a464117bab18779883ee8b4293502b4bd0ebd8672767e1d08d38f8b202 | |
5 | Size (mpmath-1.2.1.tar.gz) = 2144222 bytes | 5 | Size (mpmath-1.3.0.tar.gz) = 508106 bytes |