pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-mpmath



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Mar 14 14:12:49 UTC 2023

Modified Files:
        pkgsrc/math/py-mpmath: Makefile PLIST distinfo

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/math/py-mpmath/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/py-mpmath/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/math/py-mpmath/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-mpmath/Makefile
diff -u pkgsrc/math/py-mpmath/Makefile:1.19 pkgsrc/math/py-mpmath/Makefile:1.20
--- pkgsrc/math/py-mpmath/Makefile:1.19 Mon Nov 14 18:53:37 2022
+++ pkgsrc/math/py-mpmath/Makefile      Tue Mar 14 14:12:49 2023
@@ -1,27 +1,27 @@
-# $NetBSD: Makefile,v 1.19 2022/11/14 18:53:37 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2023/03/14 14:12:49 adam Exp $
 
-DISTNAME=      mpmath-1.2.1
+DISTNAME=      mpmath-1.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mpmath/}
-MASTER_SITES+= http://mpmath.org/files/
+MASTER_SITES+= https://mpmath.org/files/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://mpmath.org/
+HOMEPAGE=      https://mpmath.org/
 COMMENT=       Python library for arbitrary-precision FP arithmetic
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 # py-gmpy provides faster backend
-DEPENDS+=      ${PYPKGPREFIX}-gmpy2-[0-9]*:../../math/py-gmpy2
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+DEPENDS+=      ${PYPKGPREFIX}-gmpy2>=2.1.0:../../math/py-gmpy2
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.6:../../devel/py-test
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-PYSETUPTESTTARGET=     pytest
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} mpmath/tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/py-mpmath/PLIST
diff -u pkgsrc/math/py-mpmath/PLIST:1.8 pkgsrc/math/py-mpmath/PLIST:1.9
--- pkgsrc/math/py-mpmath/PLIST:1.8     Wed May 12 08:32:16 2021
+++ pkgsrc/math/py-mpmath/PLIST Tue Mar 14 14:12:49 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2021/05/12 08:32:16 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2023/03/14 14:12:49 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -85,6 +85,9 @@ ${PYSITELIB}/mpmath/functions/qfunctions
 ${PYSITELIB}/mpmath/functions/rszeta.py
 ${PYSITELIB}/mpmath/functions/rszeta.pyc
 ${PYSITELIB}/mpmath/functions/rszeta.pyo
+${PYSITELIB}/mpmath/functions/signals.py
+${PYSITELIB}/mpmath/functions/signals.pyc
+${PYSITELIB}/mpmath/functions/signals.pyo
 ${PYSITELIB}/mpmath/functions/theta.py
 ${PYSITELIB}/mpmath/functions/theta.pyc
 ${PYSITELIB}/mpmath/functions/theta.pyo

Index: pkgsrc/math/py-mpmath/distinfo
diff -u pkgsrc/math/py-mpmath/distinfo:1.12 pkgsrc/math/py-mpmath/distinfo:1.13
--- pkgsrc/math/py-mpmath/distinfo:1.12 Tue Oct 26 10:56:02 2021
+++ pkgsrc/math/py-mpmath/distinfo      Tue Mar 14 14:12:49 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 10:56:02 nia Exp $
+$NetBSD: distinfo,v 1.13 2023/03/14 14:12:49 adam Exp $
 
-BLAKE2s (mpmath-1.2.1.tar.gz) = 02b967d393a0465ae90f5373b0c5633b4c32c1fed3763f8fca5b51439564f84b
-SHA512 (mpmath-1.2.1.tar.gz) = 9644d69f3065a9eb2d90edc5b8c3709703aacbf53741ba4f9f57e2496b9f34bfdf656c247066b9825849c76583603dae77e8ff9c52f87978c53d6863f15dc5e3
-Size (mpmath-1.2.1.tar.gz) = 2144222 bytes
+BLAKE2s (mpmath-1.3.0.tar.gz) = 8c989285af9f0456d42c039ecfb9e6b9b9aec95d78c4248964e4c3eb84c858fd
+SHA512 (mpmath-1.3.0.tar.gz) = a68028150095d743eae9669a0f70cbe6b7bcb4d27dfad6b1a96575f0885ec7306459a2a464117bab18779883ee8b4293502b4bd0ebd8672767e1d08d38f8b202
+Size (mpmath-1.3.0.tar.gz) = 508106 bytes



Home | Main Index | Thread Index | Old Index