File mesonpy-trim-deps.patch of Package python-meson-python
The backend does not require a mesonbuild module for every flavor.
the `meson` command from the regular RPM package is sufficient.
Index: meson_python-0.18.0/pyproject.toml
===================================================================
--- meson_python-0.18.0.orig/pyproject.toml
+++ meson_python-0.18.0/pyproject.toml
@@ -6,8 +6,6 @@
build-backend = 'mesonpy'
backend-path = ['.']
requires = [
- 'meson >= 0.64.0; python_version < "3.12"',
- 'meson >= 1.2.3; python_version >= "3.12"',
'packaging >= 23.2',
'pyproject-metadata >= 0.9.0',
'tomli >= 1.0.0; python_version < "3.11"',
@@ -35,8 +33,6 @@ classifiers = [
]
dependencies = [
- 'meson >= 0.64.0; python_version < "3.12"',
- 'meson >= 1.2.3; python_version >= "3.12"',
'packaging >= 23.2',
'pyproject-metadata >= 0.9.0',
'tomli >= 1.0.0; python_version < "3.11"',