git: b6600df0e889 - main - devel/py-qutip: update 5.0.3 → 5.0.4

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 16 Sep 2024 03:09:57 UTC
The branch main has been updated by yuri:

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

commit b6600df0e889399331d00fbdfdd0ca72a0003c00
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-16 03:09:32 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-16 03:09:47 +0000

    devel/py-qutip: update 5.0.3 → 5.0.4
    
    Reported by:    portscout
---
 devel/py-qutip/Makefile | 12 ++++++++----
 devel/py-qutip/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/devel/py-qutip/Makefile b/devel/py-qutip/Makefile
index 9241a836f2c5..7f8e96349fea 100644
--- a/devel/py-qutip/Makefile
+++ b/devel/py-qutip/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	qutip
-DISTVERSION=	5.0.3
+DISTVERSION=	5.0.4
 CATEGORIES=	devel
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,17 +17,21 @@ PY_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>=1.9:science/py-scipy@${PY_FLAVOR}
 BUILD_DEPENDS=	${PY_DEPENDS} \
 		${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}cython3>=3.0.0:lang/cython3@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0.32.0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS} \
+		${PYTHON_PKGNAMEPREFIX}cython3>=3.0.0:lang/cython3@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
 # the optional graphics/py-mayavi dependency is omitted because it is python-2.7 -only
 
 USES=		python
-USE_PYTHON=	pep517 cython cython_run autoplist
+USE_PYTHON=	pep517 autoplist
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/qutip/*/*${PYTHON_EXT_SUFFIX}.so
+	@${STRIP_CMD} \
+		${STAGEDIR}${PYTHON_SITELIBDIR}/qutip/*/*${PYTHON_EXT_SUFFIX}.so \
+		${STAGEDIR}${PYTHON_SITELIBDIR}/qutip/*/*/*${PYTHON_EXT_SUFFIX}.so
 
 do-test: # 3 tests fail, see https://github.com/qutip/qutip/issues/2190
 	@${ECHO} "==> Running tests. Please note that tests require X11 display access."
diff --git a/devel/py-qutip/distinfo b/devel/py-qutip/distinfo
index b140514ac628..701f7ea97da8 100644
--- a/devel/py-qutip/distinfo
+++ b/devel/py-qutip/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722665231
-SHA256 (qutip-5.0.3.tar.gz) = f3df35b8b8c589ac1a132f07c76198971607c6b230c3d0c5fa3571ef3372273d
-SIZE (qutip-5.0.3.tar.gz) = 5152108
+TIMESTAMP = 1726443269
+SHA256 (qutip-5.0.4.tar.gz) = e5ee097cf0ef72e12baf21b32b293f2a7838bd439098286762ef786343549f1c
+SIZE (qutip-5.0.4.tar.gz) = 5151997