void-packages/srcpkgs/python3-pyopencl/patches/build-deps.patch
2024-06-09 18:05:49 -04:00

15 lines
498 B
Diff

Fix the numpy version restriction, and eliminate the cmake and ninja
dependencies for which Void offers no Python package.
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,8 +2,7 @@
requires = [
"scikit-build-core >=0.9.3",
"nanobind >=1.9.2",
- "numpy;python_version >= '3.9' and platform_python_implementation == 'PyPy'",
- "oldest-supported-numpy;python_version < '3.9' or platform_python_implementation != 'PyPy'",
+ "numpy",
]
build-backend = "scikit_build_core.build"