]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3-hatchling: remove redundant logic
authorRoss Burton <ross.burton@arm.com>
Tue, 6 Jan 2026 14:57:55 +0000 (14:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Jan 2026 22:46:04 +0000 (22:46 +0000)
There's no need to remove the self-dependency as bitbake does that, and
the assignment of PYTHONPATH is no longer needed as pypa-build does the
right thing when invoking the in-tree hatchling.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-hatchling_1.28.0.bb

index b5a55a0790496711af6f5439721937da7b1a68d4..6be0de39a50771e34a29b8dd24595db445aba65b 100644 (file)
@@ -6,12 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cbe2fd33fc9297692812fc94b7d27fd9"
 inherit pypi python_hatchling
 
 DEPENDS += "python3-pluggy-native python3-pathspec-native python3-packaging-native python3-editables-native python3-trove-classifiers-native"
-DEPENDS:remove:class-native = "python3-hatchling-native"
 
 SRC_URI[sha256sum] = "4d50b02aece6892b8cd0b3ce6c82cb218594d3ec5836dbde75bf41a21ab004c8"
 
-do_compile:prepend() {
-    export PYTHONPATH=src
-}
-
 BBCLASSEXTEND = "native nativesdk"