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 Feb 24 20:00:32 UTC 2026
Modified Files:
pkgsrc/math/py-mpmath: Makefile PLIST distinfo
Log Message:
py-mpmath: updated to 1.4.0
1.4.0
Features:
* Support underscores as digit separators per PEP 515
* Add rationals converter for mpf's
* Rewrite bernpoly/eulerpoly to avoid dependency on bernoulli(1) convention,
* Support base kwarg for from_str()
* Support randmatrix() for mp.iv and mp contexts
* Added rank() function for matrices
* Add plus flag to select the B_1 sign convention for bernoulli/bernfrac
* Add mpf.as_integer_ratio() method, support construction of mpf from Decimal
objects
* Expose lower/upper_gamma functions
* Support mpc initialization from string
* Support asinh/acosh/atanh in the fp context
* Support binary/octal/hexadecimal string output
* Support pickling for matrices and mpi
* Support matrix.__array__() dunder method
* Support more number syntaxes
* Run mpmath as a module for interactive work
* Add signed option to to_man_exp()
* Add fp.hypot
* Support inf/nan's in ctx.almosteq()
* Implement mpf.__format__()
* Support conversion from scalar ndarray's
* Support rounding modes in mpf.__format__
* Support '%' presentation type for mpf
* Support gmpy2-like rounding modes in to_str()
* Implement 'a'/'A' formating types for mpf.__format__
* Add mpc.__format__()
* Now mpf.__round__() returns mpf
* Support 'b' (binary) format type for mpf/mpc
* Implement mpf.__floordiv__() and mpf.__divmod__()
* Add parameters for MPContext constructor
* Add MPFR-compatible aliases for rounding modes
* Support negative indexes in matrix
* Better introspection support for decorated functions
* Add moving sofa demo
* Support spherical Bessel functions (jn/yn)
* Add pretty_dps context property to control number of printed digits
* Support thousands separators for formatting of fractional part
* Use PyREPL, as fallback (no IPython)
* Add exp2() and log2()
* Support rounding property for the mp context
* Add Fox H-function with rational A/B parameters (foxh())
* Provide experimental support for free-threading builds
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/math/py-mpmath/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/math/py-mpmath/PLIST
cvs rdiff -u -r1.13 -r1.14 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.20 pkgsrc/math/py-mpmath/Makefile:1.21
--- pkgsrc/math/py-mpmath/Makefile:1.20 Tue Mar 14 14:12:49 2023
+++ pkgsrc/math/py-mpmath/Makefile Tue Feb 24 20:00:32 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2023/03/14 14:12:49 adam Exp $
+# $NetBSD: Makefile,v 1.21 2026/02/24 20:00:32 adam Exp $
-DISTNAME= mpmath-1.3.0
+DISTNAME= mpmath-1.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mpmath/}
@@ -11,17 +11,15 @@ HOMEPAGE= https://mpmath.org/
COMMENT= Python library for arbitrary-precision FP arithmetic
LICENSE= modified-bsd
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
# py-gmpy provides faster backend
-DEPENDS+= ${PYPKGPREFIX}-gmpy2>=2.1.0:../../math/py-gmpy2
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.6:../../devel/py-test
+DEPENDS+= ${PYPKGPREFIX}-gmpy2>=2.3:../../math/py-gmpy2
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
-do-test:
- cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} mpmath/tests
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/py-mpmath/PLIST
diff -u pkgsrc/math/py-mpmath/PLIST:1.9 pkgsrc/math/py-mpmath/PLIST:1.10
--- pkgsrc/math/py-mpmath/PLIST:1.9 Tue Mar 14 14:12:49 2023
+++ pkgsrc/math/py-mpmath/PLIST Tue Feb 24 20:00:32 2026
@@ -1,12 +1,19 @@
-@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
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.10 2026/02/24 20:00:32 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/zip-safe
${PYSITELIB}/mpmath/__init__.py
${PYSITELIB}/mpmath/__init__.pyc
${PYSITELIB}/mpmath/__init__.pyo
+${PYSITELIB}/mpmath/__main__.py
+${PYSITELIB}/mpmath/__main__.pyc
+${PYSITELIB}/mpmath/__main__.pyo
+${PYSITELIB}/mpmath/_interactive.py
+${PYSITELIB}/mpmath/_interactive.pyc
+${PYSITELIB}/mpmath/_interactive.pyo
${PYSITELIB}/mpmath/calculus/__init__.py
${PYSITELIB}/mpmath/calculus/__init__.pyc
${PYSITELIB}/mpmath/calculus/__init__.pyo
@@ -100,6 +107,9 @@ ${PYSITELIB}/mpmath/functions/zetazeros.
${PYSITELIB}/mpmath/identification.py
${PYSITELIB}/mpmath/identification.pyc
${PYSITELIB}/mpmath/identification.pyo
+${PYSITELIB}/mpmath/libfp.py
+${PYSITELIB}/mpmath/libfp.pyc
+${PYSITELIB}/mpmath/libfp.pyo
${PYSITELIB}/mpmath/libmp/__init__.py
${PYSITELIB}/mpmath/libmp/__init__.pyc
${PYSITELIB}/mpmath/libmp/__init__.pyo
@@ -151,18 +161,6 @@ ${PYSITELIB}/mpmath/matrices/matrices.py
${PYSITELIB}/mpmath/rational.py
${PYSITELIB}/mpmath/rational.pyc
${PYSITELIB}/mpmath/rational.pyo
-${PYSITELIB}/mpmath/tests/__init__.py
-${PYSITELIB}/mpmath/tests/__init__.pyc
-${PYSITELIB}/mpmath/tests/__init__.pyo
-${PYSITELIB}/mpmath/tests/extratest_gamma.py
-${PYSITELIB}/mpmath/tests/extratest_gamma.pyc
-${PYSITELIB}/mpmath/tests/extratest_gamma.pyo
-${PYSITELIB}/mpmath/tests/extratest_zeta.py
-${PYSITELIB}/mpmath/tests/extratest_zeta.pyc
-${PYSITELIB}/mpmath/tests/extratest_zeta.pyo
-${PYSITELIB}/mpmath/tests/runtests.py
-${PYSITELIB}/mpmath/tests/runtests.pyc
-${PYSITELIB}/mpmath/tests/runtests.pyo
${PYSITELIB}/mpmath/tests/test_basic_ops.py
${PYSITELIB}/mpmath/tests/test_basic_ops.pyc
${PYSITELIB}/mpmath/tests/test_basic_ops.pyo
@@ -172,12 +170,18 @@ ${PYSITELIB}/mpmath/tests/test_bitwise.p
${PYSITELIB}/mpmath/tests/test_calculus.py
${PYSITELIB}/mpmath/tests/test_calculus.pyc
${PYSITELIB}/mpmath/tests/test_calculus.pyo
+${PYSITELIB}/mpmath/tests/test_cli.py
+${PYSITELIB}/mpmath/tests/test_cli.pyc
+${PYSITELIB}/mpmath/tests/test_cli.pyo
${PYSITELIB}/mpmath/tests/test_compatibility.py
${PYSITELIB}/mpmath/tests/test_compatibility.pyc
${PYSITELIB}/mpmath/tests/test_compatibility.pyo
${PYSITELIB}/mpmath/tests/test_convert.py
${PYSITELIB}/mpmath/tests/test_convert.pyc
${PYSITELIB}/mpmath/tests/test_convert.pyo
+${PYSITELIB}/mpmath/tests/test_demos.py
+${PYSITELIB}/mpmath/tests/test_demos.pyc
+${PYSITELIB}/mpmath/tests/test_demos.pyo
${PYSITELIB}/mpmath/tests/test_diff.py
${PYSITELIB}/mpmath/tests/test_diff.pyc
${PYSITELIB}/mpmath/tests/test_diff.pyo
@@ -193,6 +197,15 @@ ${PYSITELIB}/mpmath/tests/test_eigen_sym
${PYSITELIB}/mpmath/tests/test_elliptic.py
${PYSITELIB}/mpmath/tests/test_elliptic.pyc
${PYSITELIB}/mpmath/tests/test_elliptic.pyo
+${PYSITELIB}/mpmath/tests/test_extra_gamma.py
+${PYSITELIB}/mpmath/tests/test_extra_gamma.pyc
+${PYSITELIB}/mpmath/tests/test_extra_gamma.pyo
+${PYSITELIB}/mpmath/tests/test_extra_zeta.py
+${PYSITELIB}/mpmath/tests/test_extra_zeta.pyc
+${PYSITELIB}/mpmath/tests/test_extra_zeta.pyo
+${PYSITELIB}/mpmath/tests/test_format.py
+${PYSITELIB}/mpmath/tests/test_format.pyc
+${PYSITELIB}/mpmath/tests/test_format.pyo
${PYSITELIB}/mpmath/tests/test_fp.py
${PYSITELIB}/mpmath/tests/test_fp.pyc
${PYSITELIB}/mpmath/tests/test_fp.pyo
@@ -223,6 +236,9 @@ ${PYSITELIB}/mpmath/tests/test_linalg.py
${PYSITELIB}/mpmath/tests/test_matrices.py
${PYSITELIB}/mpmath/tests/test_matrices.pyc
${PYSITELIB}/mpmath/tests/test_matrices.pyo
+${PYSITELIB}/mpmath/tests/test_module.py
+${PYSITELIB}/mpmath/tests/test_module.pyc
+${PYSITELIB}/mpmath/tests/test_module.pyo
${PYSITELIB}/mpmath/tests/test_mpmath.py
${PYSITELIB}/mpmath/tests/test_mpmath.pyc
${PYSITELIB}/mpmath/tests/test_mpmath.pyo
@@ -250,15 +266,15 @@ ${PYSITELIB}/mpmath/tests/test_str.pyo
${PYSITELIB}/mpmath/tests/test_summation.py
${PYSITELIB}/mpmath/tests/test_summation.pyc
${PYSITELIB}/mpmath/tests/test_summation.pyo
+${PYSITELIB}/mpmath/tests/test_torture.py
+${PYSITELIB}/mpmath/tests/test_torture.pyc
+${PYSITELIB}/mpmath/tests/test_torture.pyo
${PYSITELIB}/mpmath/tests/test_trig.py
${PYSITELIB}/mpmath/tests/test_trig.pyc
${PYSITELIB}/mpmath/tests/test_trig.pyo
${PYSITELIB}/mpmath/tests/test_visualization.py
${PYSITELIB}/mpmath/tests/test_visualization.pyc
${PYSITELIB}/mpmath/tests/test_visualization.pyo
-${PYSITELIB}/mpmath/tests/torture.py
-${PYSITELIB}/mpmath/tests/torture.pyc
-${PYSITELIB}/mpmath/tests/torture.pyo
${PYSITELIB}/mpmath/usertools.py
${PYSITELIB}/mpmath/usertools.pyc
${PYSITELIB}/mpmath/usertools.pyo
Index: pkgsrc/math/py-mpmath/distinfo
diff -u pkgsrc/math/py-mpmath/distinfo:1.13 pkgsrc/math/py-mpmath/distinfo:1.14
--- pkgsrc/math/py-mpmath/distinfo:1.13 Tue Mar 14 14:12:49 2023
+++ pkgsrc/math/py-mpmath/distinfo Tue Feb 24 20:00:32 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2023/03/14 14:12:49 adam Exp $
+$NetBSD: distinfo,v 1.14 2026/02/24 20:00:32 adam Exp $
-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
+BLAKE2s (mpmath-1.4.0.tar.gz) = bb8052bb46059c4649ff41001da6ee4fc1a87a3a27c7a52a96e8761b32c0dff6
+SHA512 (mpmath-1.4.0.tar.gz) = fa0d2e1a92c4693dcff6fce03d6bacd1156fec131c2af87c805cff62e0a232c230a8bab78987b43d58904a486577931592d12731990117fcab2b766c3c7f47f6
+Size (mpmath-1.4.0.tar.gz) = 2092745 bytes
Home |
Main Index |
Thread Index |
Old Index