]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python_uv_build: add PEP-517 backend class
authorTim Orling <tim.orling@konsulko.com>
Sat, 30 May 2026 22:42:31 +0000 (15:42 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Jun 2026 13:07:38 +0000 (14:07 +0100)
uv_build is a slimmed down version of uv containing only the build
backend. See https://pypi.org/project/uv/ and https://docs.astral.sh/uv/
for the main project package and documentation.

python3-cryptography-vectors uses the 'uv_build' backend.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/python_uv_build.bbclass [new file with mode: 0644]

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