python-meson-python/mesonpy-trim-deps.patch
Matej Cepl cdb0cecf12 Accepting request 1058265 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.12.0
  * Raise SystemExit on expected errors
  * Revise error messages for consistency
  * Support setuptools-style macOS cross compilation via ARCHFLAGS
  * Allow to overwrite macOS platform tag via _PYTHON_HOST_PLATFORM
  * Include (similar) allowed keys in error messages
- Refresh test wheels

OBS-URL: https://build.opensuse.org/request/show/1058265
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-meson-python?expand=0&rev=10
2023-01-16 20:46:34 +00:00

24 lines
862 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.12.0/pyproject.toml
===================================================================
--- meson_python-0.12.0.orig/pyproject.toml
+++ meson_python-0.12.0/pyproject.toml
@@ -2,7 +2,6 @@
build-backend = 'mesonpy'
backend-path = ['.']
requires = [
- 'meson>=0.63.3',
'pyproject-metadata>=0.6.1',
'tomli>=1.0.0; python_version<"3.11"',
'typing-extensions>=3.7.4; python_version<"3.10"',
@@ -25,7 +24,6 @@ classifiers = [
dependencies = [
'colorama; os_name == "nt"',
- 'meson>=0.63.3',
'pyproject-metadata>=0.6.1', # not a hard dependency, only needed for projects that use PEP 621 metadata
'tomli>=1.0.0; python_version<"3.11"',
'typing-extensions>=3.7.4; python_version<"3.10"',