Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2024 06:37:44 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6b75d07a1b2e - main - math/py-pyFFTW: update 0.13.1 =?utf-8?Q?=E2=86=92?= 0.15.0
Message-ID:  <202411080637.4A86biDC031806@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b75d07a1b2e3568cca8128ab60f13f1e25e08ed

commit 6b75d07a1b2e3568cca8128ab60f13f1e25e08ed
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-08 03:49:42 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-08 06:37:30 +0000

    math/py-pyFFTW: update 0.13.1 → 0.15.0
---
 math/py-pyFFTW/Makefile | 14 ++++++++++----
 math/py-pyFFTW/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 7 deletions(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411080637.4A86biDC031806>