Skip to contentSkip to conversation

python3-hatchling: remove redundant logic

PATCH New Ross Burton 1 participant 1 message Jan 6

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-hatchling: remove redundant logic

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.

---
 meta/recipes-devtools/python/python3-hatchling_1.28.0.bb | 5 -----
 1 file changed, 5 deletions(-)
meta/recipes-devtools/python/python3-hatchling_1.28.0.bb +0 -5
index b5a55a0790..6be0de39a5 100644
@@ -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"
Signature · 1 line
2.43.0