Skip to content

port python bindings to native Meson

Eli Schwartz devicetree-compiler 2 versions – Applied

Status from this message: Merged, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyApplied
  2. v22 patches 4 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2Makefile: deprecate in favor of MesonMakefile+4 -00 replies
2/2meson: port python bindings to build natively via meson and meson-pythonMANIFEST.in Makefile libfdt/meson.build +6 more+73 -2130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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']

Signature · 1 line
2.49.0