Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 1 | SUMMARY = "A simple, correct PEP517 package builder" |
| 2 | HOMEPAGE = "https://github.com/pypa/build" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c" |
| 5 | |
| 6 | SRC_URI[sha256sum] = "d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269" |
| 7 | |
| 8 | inherit pypi python_flit_core |
| 9 | |
| 10 | DEPENDS += "python3-pyproject-hooks-native" |
| 11 | |
| 12 | DEPENDS:remove:class-native = "python3-build-native" |
| 13 | |
| 14 | # Skip dependencies as we're doing a minimal build to bootstrap |
| 15 | PEP517_BUILD_OPTS:class-native = "--skip-dependency-check" |
| 16 | |
| 17 | do_compile:prepend:class-native() { |
| 18 | export PYTHONPATH="${S}/src" |
| 19 | } |
| 20 | |
| 21 | RDEPENDS:${PN} += "python3-packaging python3-pyproject-hooks" |
| 22 | |
| 23 | BBCLASSEXTEND = "native nativesdk" |