Re: [PATCH v3 0/2] port python bindings to native Meson
David Gibson <[email protected]>
| Newsgroups | org.kernel.vger.devicetree-compiler |
|---|---|
| Message-ID | <aBNqKYKOiT7WYYFp@zatzit> |
On Wed, Apr 30, 2025 at 11:25:24AM -0400, Eli Schwartz wrote: > Eli Schwartz (2): > Makefile: deprecate in favor of Meson > meson: port python bindings to build natively via meson and > meson-python Merged, thanks. > > 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'] -- David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmgTah0ACgkQzQJF27ox 2Gduiw/7BMXrWZaTecnl3BtGG9mTRSudfAqJKvm6gJyFfVJvb3Z6qmg5MTxGKzk1 FvyBQe0es799EO3HM8YdW4EOxZNMSW5xA9Fq1S/hwhRrQWCw/qV2JkGdFbxJDWuJ EMTUSGlHSU+X6GDszC9ypruhlV2WcBgo2U/p75Gkp8JaAWTm+d/W89PM3SaYOb6T ORCf6eXg3asy5zl4IbIM/9+HO65u2GPjm2UfAgtcEjvrg6p5ieQREb6DO01FARB2 6iW6JXn3YMWSqhzySr/7AikhUqlEhNjZrKioB8zi9CZKIwlnFyEHGb0LFVWrbwcw /q7GWYgz8rayd0Ok+eV6nEuBWbjqSrQrOTcv+b+3O1s89bCWzEZz2mAdaG7OLPIF 02I2KQaL7mjSgRfwW7LZBuWRh4ZTpXXBAWxCl8ljYsnwxVW/YlbKYM9VRucfwqA9 TLeJx9BMVRCYkONSLl0HT/eCuyKgRLGWoAlHobC2pEIRHxEKzbrnAlbRDz5qIqfB PfaeaFSPi9P23h+FEPs4rMTAXVFU6M0R/j6HJeK5uDfkaKYapJI30iyGr66CNwzv qfbVeADlM7atjRTGbkGtdVn+qQzEVMKVl+CxlU4ug/Q71P2Ug/yn1emiUVC5l8g4 ZP089TUqAiMUUvLT0WEMrRLRwSEdbIdiBRSZ1jsL3Ln/ww/oMyQ= =l1uH -----END PGP SIGNATURE-----