pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-scipy
Module Name: pkgsrc
Committed By: gdt
Date: Thu May 14 13:52:11 UTC 2026
Modified Files:
pkgsrc/math/py-scipy: Makefile
Log Message:
math/py-scipy: Work around meson finding cython-${NOT_PYVERSION}
When e.g. building py313-scipy, with py314-cython installed, meson
will find py314-cython. It appears to lack a way to specify the path
instead of searching, based on the two previous workarounds.
To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 pkgsrc/math/py-scipy/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/py-scipy/Makefile
diff -u pkgsrc/math/py-scipy/Makefile:1.105 pkgsrc/math/py-scipy/Makefile:1.106
--- pkgsrc/math/py-scipy/Makefile:1.105 Tue Feb 24 10:05:18 2026
+++ pkgsrc/math/py-scipy/Makefile Thu May 14 13:52:11 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.105 2026/02/24 10:05:18 adam Exp $
+# $NetBSD: Makefile,v 1.106 2026/05/14 13:52:11 gdt Exp $
DISTNAME= scipy-1.17.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -49,6 +49,13 @@ SUBST_MESSAGE.pythran= Fixing pythran bi
SUBST_FILES.pythran= meson.build
SUBST_SED.pythran= -e "s,'pythran','pythran-${PYVERSSUFFIX}',"
+# meson apparently lacks --with-cython=
+SUBST_CLASSES+= cython
+SUBST_STAGE.cython= pre-configure
+SUBST_MESSAGE.cython= Fixing cython binary name.
+SUBST_FILES.cython= meson.build
+SUBST_SED.cython= -e "s,cython = find_program.*,cython=find_program('cython-${PYVERSSUFFIX}'),"
+
# XXX Avoid picking up other compilers when installed
.include "../../mk/compiler.mk"
Home |
Main Index |
Thread Index |
Old Index