summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-installer_0.7.0.bb
diff options
context:
space:
mode:
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.bb35
1 files changed, 35 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..6aaf1b3a37
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-installer_0.7.0.bb
@@ -0,0 +1,35 @@
1SUMMARY = "Library and tool for installing Python wheels"
2DESCRIPTION = "A low-level library for installing a Python package from a wheel distribution."
3HOMEPAGE = "https://installer.readthedocs.io/"
4BUGTRACKER = "https://github.com/pypa/installer/issues"
5
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=5038641aec7a77451e31da828ebfae00"
8
9SRC_URI += "file://interpreter.patch \
10 file://0001-src-installer-utils.py-sort-entries-before-writing-o.patch"
11
12SRC_URI[sha256sum] = "a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631"
13
14inherit pypi python_flit_core
15
16# Bootstrap the native build
17DEPENDS:remove:class-native = "python3-build-native python3-installer-native"
18
19RDEPENDS:${PN} += " \
20 python3-compile \
21 python3-compression \
22 python3-netclient \
23"
24
25INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"
26
27do_compile:class-native () {
28 python_flit_core_do_manual_build
29}
30
31do_install:prepend:class-native() {
32 export PYTHONPATH="${S}/src"
33}
34
35BBCLASSEXTEND = "native nativesdk"