diff --git a/math/py-mpmath/Makefile b/math/py-mpmath/Makefile index 6818e14c98a8..731b6c51e418 100644 --- a/math/py-mpmath/Makefile +++ b/math/py-mpmath/Makefile @@ -1,26 +1,26 @@ PORTNAME= mpmath -PORTVERSION= 1.3.0 -PORTREVISION= 2 +PORTVERSION= 1.4.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Python Library for Arbitrary-precision Floating-point Arithmetic WWW= https://www.mpmath.org/ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2>=2.1.0:math/py-gmpy2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2>=2.1.0:math/py-gmpy2@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist pytest +USE_PYTHON= autoplist pep517 pytest NO_ARCH= yes do-test: @cd ${WRKSRC}/mpmath/tests && ${PYTHON_CMD} runtests.py .include diff --git a/math/py-mpmath/distinfo b/math/py-mpmath/distinfo index b3d4200e879a..933c97ecc4de 100644 --- a/math/py-mpmath/distinfo +++ b/math/py-mpmath/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1678610501 -SHA256 (mpmath-1.3.0.tar.gz) = 7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f -SIZE (mpmath-1.3.0.tar.gz) = 508106 +TIMESTAMP = 1772097609 +SHA256 (mpmath-1.4.0.tar.gz) = d272b40c031ba0ee385e7e5fc735b48560d9838a0d7fbca109919efd23580a22 +SIZE (mpmath-1.4.0.tar.gz) = 2092745 diff --git a/math/py-mpmath/files/patch-pyproject.toml b/math/py-mpmath/files/patch-pyproject.toml new file mode 100644 index 000000000000..3281391d0a20 --- /dev/null +++ b/math/py-mpmath/files/patch-pyproject.toml @@ -0,0 +1,17 @@ +--- pyproject.toml.orig 2026-03-01 00:24:37 UTC ++++ pyproject.toml +@@ -1,12 +1,12 @@ + [build-system] +-requires = ['setuptools>=77', 'setuptools-scm>=8'] ++requires = ['setuptools>=63', 'setuptools-scm>=8'] + build-backend = 'setuptools.build_meta' + + [project] + name = 'mpmath' + description = 'Python library for arbitrary-precision floating-point arithmetic' + authors = [{name = 'Fredrik Johansson', email = 'fredrik.johansson@gmail.com'}] +-license = 'BSD-3-Clause' ++license = {text = "BSD-3-Clause"} + classifiers = ['Topic :: Scientific/Engineering :: Mathematics', + 'Topic :: Software Development :: Libraries :: Python Modules', + 'Programming Language :: Python',