python-meson-python/mesonpy-trim-deps.patch

24 lines
796 B
Diff

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.13.2/pyproject.toml
===================================================================
--- meson_python-0.13.2.orig/pyproject.toml
+++ meson_python-0.13.2/pyproject.toml
@@ -6,7 +6,6 @@
build-backend = 'mesonpy'
backend-path = ['.']
requires = [
- 'meson >= 0.63.3',
'pyproject-metadata >= 0.7.1',
'tomli >= 1.0.0; python_version < "3.11"',
'setuptools >= 60.0; python_version >= "3.12"',
@@ -29,7 +28,6 @@ classifiers = [
dependencies = [
'colorama; os_name == "nt"',
- 'meson >= 0.63.3',
'pyproject-metadata >= 0.7.1',
'tomli >= 1.0.0; python_version < "3.11"',
'setuptools >= 60.0; python_version >= "3.12"',