Date: Thu, 23 Feb 2023 16:57:53 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: dfa9fd8a12a2 - main - =?utf-8?Q?devel/py-qutip:=20Update=204.7.0=20=E2=86=92=204.7.1?= Message-ID: <202302231657.31NGvrMM090473@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=dfa9fd8a12a23bab9cd9a64de0c284ade11c4668 commit dfa9fd8a12a23bab9cd9a64de0c284ade11c4668 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-02-23 16:56:48 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-02-23 16:57:49 +0000 devel/py-qutip: Update 4.7.0 → 4.7.1 --- devel/py-qutip/Makefile | 10 +++++++--- devel/py-qutip/distinfo | 6 +++--- devel/py-qutip/files/patch-pyproject.toml | 11 +++++++++++ 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/devel/py-qutip/Makefile b/devel/py-qutip/Makefile index 1ead19712df8..c17de24a3773 100644 --- a/devel/py-qutip/Makefile +++ b/devel/py-qutip/Makefile @@ -1,5 +1,5 @@ PORTNAME= qutip -DISTVERSION= 4.7.0 +DISTVERSION= 4.7.1 CATEGORIES= devel MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,17 +16,21 @@ PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.0:science/py-scipy@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} \ - ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${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} 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:3.7+ -USE_PYTHON= distutils cython cython_run autoplist +USE_PYTHON= pep517 cython cython_run autoplist xpost-patch: # https://github.com/qutip/qutip/issues/1059 @${FIND} ${WRKSRC} -name "*.pyx" -o -name "*.pxd" | ${XARGS} ${REINPLACE_CMD} 's|^#!python|#!${PYTHON_CMD}|' +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/qutip/*/*${PYTHON_EXT_SUFFIX}.so + do-test: @${ECHO} "==> Running tests. Please note that tests require X11 display access." @cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} \ diff --git a/devel/py-qutip/distinfo b/devel/py-qutip/distinfo index 1e777949cc09..e937b7c41452 100644 --- a/devel/py-qutip/distinfo +++ b/devel/py-qutip/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1650765521 -SHA256 (qutip-4.7.0.tar.gz) = a9dde64457991ef1c5a7d4186b5348a16a71480a610f1c0902e4d656ddc12e31 -SIZE (qutip-4.7.0.tar.gz) = 3591673 +TIMESTAMP = 1677147463 +SHA256 (qutip-4.7.1.tar.gz) = 9a87178e68b145c2145b526caa943ccc8400a111325ced45bd17f9b893663af2 +SIZE (qutip-4.7.1.tar.gz) = 3615483 diff --git a/devel/py-qutip/files/patch-pyproject.toml b/devel/py-qutip/files/patch-pyproject.toml new file mode 100644 index 000000000000..72ec670dea36 --- /dev/null +++ b/devel/py-qutip/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-02-23 10:21:28 UTC ++++ pyproject.toml +@@ -6,7 +6,7 @@ requires = [ + "cython>=0.29.20", + # See https://numpy.org/doc/stable/user/depending_on_numpy.html for + # the recommended way to build against numpy's C API: +- "oldest-supported-numpy", ++ "numpy", + "scipy>=1.0", + ] + build-backend = "setuptools.build_meta"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302231657.31NGvrMM090473>