summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb
blob: c3f1fb75ed1d208082b8e34daea7e9953ac82ad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SUMMARY = "A low-level library for calling build-backends in pyproject.toml-based projects"
HOMEPAGE = "https://github.com/pypa/pyproject-hooks"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=aad69c93f605003e3342b174d9b0708c"

SRC_URI[sha256sum] = "f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5"

inherit pypi python_flit_core

PYPI_PACKAGE = "pyproject_hooks"

BBCLASSEXTEND = "native nativesdk"

# Bootstrap the native build
DEPENDS:remove:class-native = "python3-build-native"

RDEPENDS:${PN} += " \
    python3-io \
    python3-json \
"

do_compile:class-native () {
    python_flit_core_do_manual_build
}