diff --git a/meson_python-0.15.0.tar.gz b/meson_python-0.15.0.tar.gz deleted file mode 100644 index 6996384..0000000 --- a/meson_python-0.15.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fddb73eecd49e89c1c41c87937cd89c2d0b65a1c63ba28238681d4bd9484d26f -size 79920 diff --git a/meson_python-0.16.0.tar.gz b/meson_python-0.16.0.tar.gz new file mode 100644 index 0000000..bd21c39 --- /dev/null +++ b/meson_python-0.16.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9068c17e36c89d6c7ff709fffb2a8a9925e8cd0b02629728e5ceaf2ec505cb5f +size 82012 diff --git a/mesonpy-trim-deps.patch b/mesonpy-trim-deps.patch index bb8a801..43d3e12 100644 --- a/mesonpy-trim-deps.patch +++ b/mesonpy-trim-deps.patch @@ -1,25 +1,25 @@ 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 +Index: meson_python-0.16.0/pyproject.toml =================================================================== ---- meson_python-0.15.0.orig/pyproject.toml -+++ meson_python-0.15.0/pyproject.toml +--- meson_python-0.16.0.orig/pyproject.toml ++++ meson_python-0.16.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"', + 'packaging >= 19.0', '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"', + 'packaging >= 19.0', 'pyproject-metadata >= 0.7.1', 'tomli >= 1.0.0; python_version < "3.11"', - ] diff --git a/python-meson-python.changes b/python-meson-python.changes index 482ac2c..0a7a901 100644 --- a/python-meson-python.changes +++ b/python-meson-python.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Mon Jul 22 04:20:32 UTC 2024 - Andreas Stieger + +- update to 0.16.0: + * Correctly detect a wheel shipping shared libraries as being + platform dependent also when it does not ship compiled + executables or Python extension modules. + * Improve parsing of the $ARCHFLAGS environment variable. + Correctly handle repeated -arch flags. + * Do not break when trying to log filename containing Unicode + characters that cannot be encoded in the encoding used by the + standard output stream. + * Suppress all uses of ANSI terminal escapes when logging to a + stream that does not support them. + * Fix ANSI escape coloring of error messages. + * Respect the exclude_dirs and exclude_files arguments passed to + the install_subdir() Meson function in editable installs too. + * Make pkgutil.iter_packages() work properly for modules loaded + from editable installs. + * Add support for the custom_target() Meson function installing a + directory. + * In editable installs, when a rebuild is triggered on module + import, emit a message indicating that the package is being + rebuilt but suppress any output when there is no work to do. + ------------------------------------------------------------------- Tue Apr 16 19:27:36 UTC 2024 - Ben Greiner diff --git a/python-meson-python.spec b/python-meson-python.spec index 68b37a7..cd8de69 100644 --- a/python-meson-python.spec +++ b/python-meson-python.spec @@ -2,6 +2,7 @@ # spec file for package python-meson-python # # Copyright (c) 2024 SUSE LLC +# Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +19,7 @@ %{?sle15_python_module_pythons} Name: python-meson-python -Version: 0.15.0 +Version: 0.16.0 Release: 0 Summary: Meson Python build backend (PEP 517) License: MIT @@ -34,18 +35,19 @@ BuildRequires: fdupes BuildRequires: meson >= 1.2.3 BuildRequires: ninja BuildRequires: python-rpm-macros +Requires: python-pyproject-metadata >= 0.7.1 +BuildArch: noarch %if 0%{python_version_nodots} >= 312 Requires: meson >= 1.2.3 %else Requires: meson >= 0.63.3 %endif -Requires: python-pyproject-metadata >= 0.7.1 %if 0%{python_version_nodots} < 311 Requires: python-tomli >= 1.0.0 %endif # SECTION test -BuildRequires: %{python_module GitPython} BuildRequires: %{python_module Cython} +BuildRequires: %{python_module GitPython} BuildRequires: %{python_module build} BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest-mock} @@ -53,7 +55,6 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module wheel} BuildRequires: patchelf # /SECTION -BuildArch: noarch %python_subpackages %description