11
0
Files
python-meson-python/mesonpy-trim-deps.patch
Nico Krapp d406fc4499 - update to 1.18.0
* Drop Python 3.7 support.
  * Bump minimum required Meson version to 0.64.0.
  * Bump minimum required pyproject-metadata version to 0.9.0 to
    enable support for PEP 639.
  * Add support for PEP 639 metadata fields. Canonicalization and
    validation of the license expression requires packaging version
    24.2 or later.
  * Add support for declaring the licence and license-files as
    dynamic fields in pyproject.toml.
  * Add support for symbolic links that point to files within the
    source tree. They are now included as regular files in the sdist
    archive.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-meson-python?expand=0&rev=30
2025-07-21 09:08:29 +00:00

26 lines
857 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.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"',