Files
macports-ports/python/py-matplotlib/files/patch-python-binary-meson.build.diff
2025-05-08 23:39:12 -04:00

12 lines
486 B
Diff

--- meson.build.orig 2025-05-08 14:45:22
+++ meson.build 2025-05-08 22:32:38
@@ -3,7 +3,7 @@
'c', 'cpp',
version: run_command(
# Also keep version in sync with pyproject.toml.
- find_program('python3', 'python', version: '>= 3.10'),
+ find_program('@@PYTHONBIN@@', 'python', version: '>= 3.10'),
'-m', 'setuptools_scm', check: true).stdout().strip(),
# qt_editor backend is MIT
# ResizeObserver at end of lib/matplotlib/backends/web_backend/js/mpl.js is CC0