summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-05-12 08:32:16 +0000
committeradam <adam@pkgsrc.org>2021-05-12 08:32:16 +0000
commitbf782b6d35dae051542557e79d508090384a28b1 (patch)
treed0519075bc713ea26204884982925244040d7e52 /math
parentc12afbbdd4b1362a842ed86728ef95ee57fd643d (diff)
downloadpkgsrc-bf782b6d35dae051542557e79d508090384a28b1.tar.gz
py-mpmath: updated to 1.2.1
--1.2.0-- Released February 1, 2021 Features and optimizations: * Support @ operator for matrix multiplication (Max Gaukler) * Add eta() implementing the Dedekind eta function * Optimized the python_trailing function (adhoc-king) * Implement unary plus for matrices (Max Gaukler) * Improved calculation of gram_index (p15-git-acc) Compatibility: * Enable sage backend by default only if SAGE_ROOT is set (Pauli Virtanen) * Fix syntax warnings on CPython 3.8 (Sergey B Kirpichev) * Changed version requirements to Python 2.7 and 3.4 or later (Sergey B Kirpichev) * Improvements to the setup and test code (Sergey B Kirpichev) * Fix sys.version comparisons for compatibility with Python 3.10 (Jakub Wilk) * Fixes to Python2/3 compatibility for printing (Christian Clauss) Bug fixes: * Fix a possible division by zero in shanks() (Pascal Hebbeker) * Fixed indexing errors in deHoog, Knight & Stokes inverse laplace transform algorithm (Kris Kuhlman) * Corrected branch cuts of the elliprj() function in some cases * Fix initialization of iv.matrix from non-interval matrix (Max Gaukler) * Preserve function signatures in PrecisionManager (Viet Tran) * Implemented float and complex conversions for ivmpf (Jonathan Warner) * Fixed issue with scalar-matrix multiplication for interval matrices (Jonathan Warner) * Fix estimation of quadrature error with multiple subintervals (Tom Minka) * Fixed a problem with the defun decorators (Sergey B Kirpichev) * Fix eigenvalue sorting by absolute value (Georg Ostrovski) Cleanup: * Documentation corrections (Paul Masson, S.Y. Lee) * Remove inaccessible logic in fsum/fdot (Sergey B Kirpichev) * Remove broken force_type option for matrix constructor (Max Gaukler) * Fix text of the BSD license in LICENSE (Sergey B Kirpichev) * Minor code cleanup (Frédéric Chapoton) * Removed old, unused code
Diffstat (limited to 'math')
-rw-r--r--math/py-mpmath/Makefile11
-rw-r--r--math/py-mpmath/PLIST11
-rw-r--r--math/py-mpmath/distinfo10
3 files changed, 17 insertions, 15 deletions
diff --git a/math/py-mpmath/Makefile b/math/py-mpmath/Makefile
index a68aeecb9fa..12c2bdfeace 100644
--- a/math/py-mpmath/Makefile
+++ b/math/py-mpmath/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2019/05/06 08:48:06 adam Exp $
+# $NetBSD: Makefile,v 1.16 2021/05/12 08:32:16 adam Exp $
-DISTNAME= mpmath-1.1.0
+DISTNAME= mpmath-1.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mpmath/}
@@ -11,13 +11,14 @@ HOMEPAGE= http://mpmath.org/
COMMENT= Python library for arbitrary-precision FP arithmetic
LICENSE= modified-bsd
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
# py-gmpy provides faster backend
DEPENDS+= ${PYPKGPREFIX}-gmpy-[0-9]*:../../math/py-gmpy
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none
-do-test:
- cd ${WRKSRC}/mpmath/tests && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
+PYSETUPTESTTARGET= pytest
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/py-mpmath/PLIST b/math/py-mpmath/PLIST
index 0948149a420..fac44aaa737 100644
--- a/math/py-mpmath/PLIST
+++ b/math/py-mpmath/PLIST
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.7 2019/05/06 08:48:06 adam Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.8 2021/05/12 08:32:16 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/mpmath/__init__.py
${PYSITELIB}/mpmath/__init__.pyc
${PYSITELIB}/mpmath/__init__.pyo
@@ -120,9 +124,6 @@ ${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
diff --git a/math/py-mpmath/distinfo b/math/py-mpmath/distinfo
index efa2ec7cf77..2d23f16a433 100644
--- a/math/py-mpmath/distinfo
+++ b/math/py-mpmath/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2019/05/06 08:48:06 adam Exp $
+$NetBSD: distinfo,v 1.10 2021/05/12 08:32:16 adam Exp $
-SHA1 (mpmath-1.1.0.tar.gz) = 3f479408ea65b08bc23eeebe5dac2f2293dfec9d
-RMD160 (mpmath-1.1.0.tar.gz) = 7b0ea9200d2b5f9d6a139e8d5b67ecd07e967952
-SHA512 (mpmath-1.1.0.tar.gz) = 58c69a801f65d73cc0eeb0d2c79277ed638568c656e7213d06ab4709c218aac908b2752377139010bed0e91bbfff01d129c60835ff0a928ba1185aded6de7c0a
-Size (mpmath-1.1.0.tar.gz) = 512600 bytes
+SHA1 (mpmath-1.2.1.tar.gz) = ce8bd24606eeb02218b26304e6d99228919021f8
+RMD160 (mpmath-1.2.1.tar.gz) = 868453f4c96cf7f55334d6e5c7df94297723d617
+SHA512 (mpmath-1.2.1.tar.gz) = 9644d69f3065a9eb2d90edc5b8c3709703aacbf53741ba4f9f57e2496b9f34bfdf656c247066b9825849c76583603dae77e8ff9c52f87978c53d6863f15dc5e3
+Size (mpmath-1.2.1.tar.gz) = 2144222 bytes