diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb b/meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb new file mode 100644 index 0000000000..c68760e293 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | SUMMARY = "A low-level library for calling build-backends in pyproject.toml-based projects" | ||
2 | HOMEPAGE = "https://github.com/pypa/pyproject-hooks" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aad69c93f605003e3342b174d9b0708c" | ||
5 | |||
6 | SRC_URI[sha256sum] = "1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c970da1f8" | ||
7 | |||
8 | inherit pypi python_flit_core | ||
9 | |||
10 | PYPI_PACKAGE = "pyproject_hooks" | ||
11 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
12 | |||
13 | BBCLASSEXTEND = "native nativesdk" | ||
14 | |||
15 | # Bootstrap the native build | ||
16 | DEPENDS:remove:class-native = "python3-build-native" | ||
17 | |||
18 | RDEPENDS:${PN} += " \ | ||
19 | python3-io \ | ||
20 | python3-json \ | ||
21 | " | ||
22 | |||
23 | do_compile:class-native () { | ||
24 | python_flit_core_do_manual_build | ||
25 | } | ||