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:           Wed May 12 08:32:16 UTC 2021

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/math/py-mpmath/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/py-mpmath/PLIST
cvs rdiff -u -r1.9 -r1.10 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.15 pkgsrc/math/py-mpmath/Makefile:1.16
--- pkgsrc/math/py-mpmath/Makefile:1.15 Mon May  6 08:48:06 2019
+++ pkgsrc/math/py-mpmath/Makefile      Wed May 12 08:32:16 2021
@@ -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"

Index: pkgsrc/math/py-mpmath/PLIST
diff -u pkgsrc/math/py-mpmath/PLIST:1.7 pkgsrc/math/py-mpmath/PLIST:1.8
--- pkgsrc/math/py-mpmath/PLIST:1.7     Mon May  6 08:48:06 2019
+++ pkgsrc/math/py-mpmath/PLIST Wed May 12 08:32:16 2021
@@ -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

Index: pkgsrc/math/py-mpmath/distinfo
diff -u pkgsrc/math/py-mpmath/distinfo:1.9 pkgsrc/math/py-mpmath/distinfo:1.10
--- pkgsrc/math/py-mpmath/distinfo:1.9  Mon May  6 08:48:06 2019
+++ pkgsrc/math/py-mpmath/distinfo      Wed May 12 08:32:16 2021
@@ -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



Home | Main Index | Thread Index | Old Index