Date: Sat, 9 Mar 2024 18:02:14 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: f3d7d2b91ad2 - 2024Q1 - devel/py-pykdtree: Fix build with cython 0.29.37+ Message-ID: <202403091802.429I2EIf025683@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2024Q1 has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3d7d2b91ad24a0bbb3b7de80c6c2d5263122b8f commit f3d7d2b91ad24a0bbb3b7de80c6c2d5263122b8f Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-02-21 14:42:46 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-03-09 18:02:00 +0000 devel/py-pykdtree: Fix build with cython 0.29.37+ (cherry picked from commit 01ac11f29c9581a42d28dc881817e1690c64e638) --- devel/py-pykdtree/Makefile | 2 -- devel/py-pykdtree/files/patch-setup.py | 10 ++++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/devel/py-pykdtree/Makefile b/devel/py-pykdtree/Makefile index 1e856c80a4dd..c5fc51f43163 100644 --- a/devel/py-pykdtree/Makefile +++ b/devel/py-pykdtree/Makefile @@ -11,8 +11,6 @@ WWW= https://github.com/storpipfugl/pykdtree LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BROKEN= Backend subprocess exited when trying to invoke build_wheel - BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} diff --git a/devel/py-pykdtree/files/patch-setup.py b/devel/py-pykdtree/files/patch-setup.py new file mode 100644 index 000000000000..8bae725c50dc --- /dev/null +++ b/devel/py-pykdtree/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2023-11-29 18:29:08 UTC ++++ setup.py +@@ -188,7 +188,6 @@ with open('README.rst', 'r') as readme_file: + extensions = [ + Extension('pykdtree.kdtree', sources=['pykdtree/kdtree.pyx', 'pykdtree/_kdtree_core.c'], + include_dirs=[np.get_include()], +- define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")], + compiler_directions={"language_level": "3"}, + ), + ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403091802.429I2EIf025683>