1
0
python-meson-python/mesonpy-trim-deps.patch
Markéta Machová 7569e212ac Accepting request 1168416 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.15.0
  * Enable compression for wheel files. The may result in several
    times smaller wheels.
  * Require Meson 1.2.3 or later on Python 3.12 or later. Meson
    1.2.3 does not require anymore ``distutils``, allowing to
    remove the dependency on ``setuptools`` on Python 3.12 or
    later.
  * Unconditionally require ``patchelf`` on Linux.  The
    ``patchelf`` package is added to the build dependencies if a
    suitable ``patchelf`` executable is not find on the ``$PATH``.
    This avoids cases where ``meson setup`` was run twice during
    the build process to determine whether ``patchelf`` is
    required.
  * Allow to configure the ``meson`` executable to use for the
    build process through the ``$MESON`` environment variable or
    the ``meson`` key under ``[tool.meson-python]`` in
    ``pyproject.toml``.
  * Fix wheel platform tag generation on FreeBSD.
  * Extend support to other UNIX-like systems and make the tests
    pass on FreeBSD.
  * Fix package name normalization in package metadata and improve
    package name validation.
  * Fix ``RPATH`` handling when the build ``RPATH`` points to
    subdirectories of the build directory.
  * Fix support for the Python limited C API when compiling for
    PyPy.
  * Rename the ``builddir`` config-setting to ``build-dir``. For
    backwards compatibility, the ``buildir`` config-setting remains
    supported as an alias.
- Drop no longer needed test patches and test wheels

OBS-URL: https://build.opensuse.org/request/show/1168416
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-meson-python?expand=0&rev=20
2024-04-17 06:46:38 +00:00

26 lines
844 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.15.0/pyproject.toml
===================================================================
--- meson_python-0.15.0.orig/pyproject.toml
+++ meson_python-0.15.0/pyproject.toml
@@ -6,8 +6,6 @@
build-backend = 'mesonpy'
backend-path = ['.']
requires = [
- 'meson >= 0.63.3; python_version < "3.12"',
- 'meson >= 1.2.3; python_version >= "3.12"',
'pyproject-metadata >= 0.7.1',
'tomli >= 1.0.0; python_version < "3.11"',
]
@@ -33,8 +31,6 @@ classifiers = [
dependencies = [
'colorama; os_name == "nt"',
- 'meson >= 0.63.3; python_version < "3.12"',
- 'meson >= 1.2.3; python_version >= "3.12"',
'pyproject-metadata >= 0.7.1',
'tomli >= 1.0.0; python_version < "3.11"',
]