[PATCH v3 0/2] port python bindings to native Meson

Eli Schwartz <[email protected]>
Newsgroups org.kernel.vger.devicetree-compiler
Message-ID <[email protected]>
Eli Schwartz (2):
  Makefile: deprecate in favor of Meson
  meson: port python bindings to build natively via meson and
    meson-python

 MANIFEST.in                | 12 -----
 Makefile                   | 53 ++-------------------
 libfdt/meson.build         | 32 +++++++------
 meson.build                |  3 +-
 meson_options.txt          |  2 +
 pylibfdt/Makefile.pylibfdt | 30 ------------
 pylibfdt/meson.build       | 28 +++++++----
 pyproject.toml             | 33 +++++++++++++
 setup.py                   | 97 --------------------------------------
 9 files changed, 77 insertions(+), 213 deletions(-)
 delete mode 100644 MANIFEST.in
 delete mode 100644 pylibfdt/Makefile.pylibfdt
 create mode 100644 pyproject.toml
 delete mode 100755 setup.py

Range-diff against v2:
1:  142d7e4 ! 1:  e5220b1 Makefile: deprecate in favor of Meson
    @@ Commit message
         true, we deprecate the latter and warn when you use it.
     
         GNU Make can emit a $(warning) on every Makefile run, which is a bit
    -    noisly but means we don't need to have every target depend on a PHONY
    +    noisy but means we don't need to have every target depend on a PHONY
         target (preventing built targets from being seen as up to date).
     
      ## Makefile ##
    @@ Makefile
      # Device Tree Compiler
      #
      
    -+$(warning WARNING: Building dtc using the Makefile is deprecated, in favor of using the Meson build system instead.)
    ++$(warning WARNING: Building dtc using make is deprecated, in favour of using Meson (https://mesonbuild.com))
     +$(warning )
    -+$(warning https://mesonbuild.com)
    -+$(warning )
    -+$(warning Use `meson setup builddir/ && ninja -C builddir/` to build, or `meson configure` to see build options.)
    ++$(warning Use `meson setup builddir/ && meson compile -C builddir/` to build, `meson test -C builddir/` to test, or `meson configure` to see build options.)
     +
      #
      # Version information will be constructed in this order:
2:  5d0590f ! 2:  3490690 meson: port python bindings to build natively via meson and meson-python
    @@ pyproject.toml (new)
     +    'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
     +    'Operating System :: OS Independent',
     +]
    -+description = 'Pthon binding for libfdt'
    ++description = 'Python binding for libfdt'
     +readme = 'README.md'
     +requires-python = '>=3.8'
     +dynamic = ['version']
-- 
2.49.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.