]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
classes/python_pdm: add PEP517 build class for PDM
authorRoss Burton <ross.burton@arm.com>
Wed, 30 Jul 2025 16:03:33 +0000 (17:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Aug 2025 17:04:00 +0000 (18:04 +0100)
PDM[1] is yet another build/package manager for Python that is fairly
common now, so add a class for it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
[1] https://pdm-project.org/

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/python_pdm.bbclass [new file with mode: 0644]

diff --git a/meta/classes-recipe/python_pdm.bbclass b/meta/classes-recipe/python_pdm.bbclass
new file mode 100644 (file)
index 0000000..9a34d98
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+inherit python_pep517
+
+DEPENDS += "python3-pdm-backend-native"