diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-hatchling_1.5.0.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-hatchling_1.5.0.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-hatchling_1.5.0.bb b/meta/recipes-devtools/python/python3-hatchling_1.5.0.bb new file mode 100644 index 0000000000..e453dbdcf7 --- /dev/null +++ b/meta/recipes-devtools/python/python3-hatchling_1.5.0.bb @@ -0,0 +1,21 @@ +SUMMARY = "The extensible, standards compliant build backend used by Hatch" +HOMEPAGE = "https://hatch.pypa.io/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cbe2fd33fc9297692812fc94b7d27fd9" + +inherit pypi python_hatchling + +DEPENDS += "python3-pluggy-native python3-tomli-native python3-pathspec-native python3-packaging-native python3-editables-native" +DEPENDS:remove:class-native = "python3-hatchling-native" + +SRC_URI[sha256sum] = "9ca409a41140cc662164680b78adcd3ba77b23a945984bd9970d11fe38e86a38" + +# Until we have a proper tool to invoke PEP517 builds, hatchling can't +# bootstrap itself automatically. +PEP517_BUILD_API = "hatchling.ouroboros" + +do_compile:prepend() { + export PYTHONPATH=src +} + +BBCLASSEXTEND = "native nativesdk" |