diff --git a/math/py-pyFFTW/Makefile b/math/py-pyFFTW/Makefile index 81a1b931d092..412beca45ff9 100644 --- a/math/py-pyFFTW/Makefile +++ b/math/py-pyFFTW/Makefile @@ -1,12 +1,14 @@ PORTNAME= pyFFTW -DISTVERSION= 0.13.1 +DISTVERSION= 0.15.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:tl}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Pythonic wrapper around FFTW, the FFT library -WWW= https://hgomersall.github.io/pyFFTW/ +WWW= https://hgomersall.github.io/pyFFTW/ \ + https://github.com/pyFFTW/pyFFTW LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt @@ -14,13 +16,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt PY_DEPENDS= ${PYNUMPY} \ ${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} +BUILD_DEPENDS= ${PY_DEPENDS} \ + ${PYTHON_PKGNAMEPREFIX}cython3>0:lang/cython3@${PY_FLAVOR} LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float RUN_DEPENDS= ${PY_DEPENDS} USES= python localbase:ldflags -USE_PYTHON= distutils cython autoplist +USE_PYTHON= distutils cython autoplist 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 post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyfftw/pyfftw${PYTHON_EXT_SUFFIX}.so diff --git a/math/py-pyFFTW/distinfo b/math/py-pyFFTW/distinfo index 378579f3fd61..62b4944922a8 100644 --- a/math/py-pyFFTW/distinfo +++ b/math/py-pyFFTW/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1687402958 -SHA256 (pyFFTW-0.13.1.tar.gz) = 09155e90a0c6d0c1f2d1f3668180a7de95fb9f83fef5137a112fb05978e87320 -SIZE (pyFFTW-0.13.1.tar.gz) = 114359 +TIMESTAMP = 1730999706 +SHA256 (pyfftw-0.15.0.tar.gz) = 2f16b9854a40c8fdd10aa5803b24ddc6ab49f9cd559dbd7f07e7d61aa205c1ca +SIZE (pyfftw-0.15.0.tar.gz) = 164003