diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-installer_0.7.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-installer_0.7.0.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-installer_0.7.0.bb b/meta/recipes-devtools/python/python3-installer_0.7.0.bb new file mode 100644 index 0000000000..d7f1e79a5c --- /dev/null +++ b/meta/recipes-devtools/python/python3-installer_0.7.0.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | SUMMARY = "Library and tool for installing Python wheels" | ||
| 2 | DESCRIPTION = "A low-level library for installing a Python package from a wheel distribution." | ||
| 3 | HOMEPAGE = "https://installer.readthedocs.io/" | ||
| 4 | BUGTRACKER = "https://github.com/pypa/installer/issues" | ||
| 5 | |||
| 6 | LICENSE = "MIT" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5038641aec7a77451e31da828ebfae00" | ||
| 8 | |||
| 9 | SRC_URI += "file://interpreter.patch" | ||
| 10 | |||
| 11 | SRC_URI[sha256sum] = "a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631" | ||
| 12 | |||
| 13 | inherit pypi python_flit_core | ||
| 14 | |||
| 15 | # Bootstrap the native build | ||
| 16 | DEPENDS:remove:class-native = "python3-build-native python3-installer-native" | ||
| 17 | |||
| 18 | INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode" | ||
| 19 | |||
| 20 | do_compile:class-native () { | ||
| 21 | python_flit_core_do_manual_build | ||
| 22 | } | ||
| 23 | |||
| 24 | do_install:prepend:class-native() { | ||
| 25 | export PYTHONPATH="${S}/src" | ||
| 26 | } | ||
| 27 | |||
| 28 | BBCLASSEXTEND = "native nativesdk" | ||
