git: 78e90cf3c7a2 - main - math/py-pyFFTW: update 0.15.0 → 0.15.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Jun 2026 01:30:19 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=78e90cf3c7a208f2631aa0ef87ffcc4bd876e691
commit 78e90cf3c7a208f2631aa0ef87ffcc4bd876e691
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-07 01:28:41 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-07 01:30:06 +0000
math/py-pyFFTW: update 0.15.0 → 0.15.1
---
math/py-pyFFTW/Makefile | 17 ++++++++++-------
math/py-pyFFTW/distinfo | 6 +++---
math/py-pyFFTW/files/patch-pyproject.toml | 21 +++++++++++++++++++++
3 files changed, 34 insertions(+), 10 deletions(-)
diff --git a/math/py-pyFFTW/Makefile b/math/py-pyFFTW/Makefile
index 8534bbf65fde..d0b478a72b81 100644
--- a/math/py-pyFFTW/Makefile
+++ b/math/py-pyFFTW/Makefile
@@ -1,6 +1,5 @@
PORTNAME= pyFFTW
-DISTVERSION= 0.15.0
-PORTREVISION= 3
+DISTVERSION= 0.15.1
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,16 +13,18 @@ WWW= https://hgomersall.github.io/pyFFTW/ \
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}dask>=1.0.0:devel/py-dask@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}scipy>=1.2.0:science/py-scipy@${PY_FLAVOR}
-BUILD_DEPENDS= ${PY_DEPENDS}
+PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.20:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dask>=1.0:devel/py-dask@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=1.8.0:science/py-scipy@${PY_FLAVOR}
+BUILD_DEPENDS= ${PY_DEPENDS} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= libfftw3.so:math/fftw3 \
libfftw3f.so:math/fftw3-float
RUN_DEPENDS= ${PY_DEPENDS}
USES= python localbase:ldflags
-USE_PYTHON= autoplist cython distutils pytest # tests fail with "attempted relative import with no known parent package", see https://github.com/pyFFTW/pyFFTW/issues/405
+USE_PYTHON= autoplist cython pep517 pytest # tests fail with "attempted relative import with no known parent package", see https://github.com/pyFFTW/pyFFTW/issues/405
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/tests
@@ -31,4 +32,6 @@ TEST_WRKSRC= ${WRKSRC}/tests
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyfftw/pyfftw${PYTHON_TAG}.so
+# tests as of 0.15.1: 20 errors during collection (attempted relative import with no known parent package)
+
.include <bsd.port.mk>
diff --git a/math/py-pyFFTW/distinfo b/math/py-pyFFTW/distinfo
index 62b4944922a8..c4ebd2d0fe48 100644
--- a/math/py-pyFFTW/distinfo
+++ b/math/py-pyFFTW/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1730999706
-SHA256 (pyfftw-0.15.0.tar.gz) = 2f16b9854a40c8fdd10aa5803b24ddc6ab49f9cd559dbd7f07e7d61aa205c1ca
-SIZE (pyfftw-0.15.0.tar.gz) = 164003
+TIMESTAMP = 1780789051
+SHA256 (pyfftw-0.15.1.tar.gz) = bbcde6d40d165e1cbaf12dde062ebfebe9e43394cac8c166e699ba2c9a4b0461
+SIZE (pyfftw-0.15.1.tar.gz) = 192838
diff --git a/math/py-pyFFTW/files/patch-pyproject.toml b/math/py-pyFFTW/files/patch-pyproject.toml
new file mode 100644
index 000000000000..5dc4d7de65b5
--- /dev/null
+++ b/math/py-pyFFTW/files/patch-pyproject.toml
@@ -0,0 +1,21 @@
+--- pyproject.toml.orig 2026-06-06 23:39:08 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@ requires = [
+ [build-system]
+ requires = [
+ "wheel",
+- "setuptools>=64",
++ "setuptools>=63",
+ "setuptools-scm",
+ "Cython>=3",
+ # taken from scipy (2024/06/28)
+@@ -27,8 +27,7 @@ readme = "README.md"
+ "numpy>=1.20",
+ ]
+ readme = "README.md"
+-license = "BSD-3-Clause"
+-license-files = ["LICENSE.txt"]
++license = {text = "BSD-3-Clause"}
+ classifiers = [
+ "Development Status :: 5 - Production/Stable",
+ "Intended Audience :: Developers",