diff options
| author | Ross Burton <ross@burtonini.com> | 2022-03-14 14:39:22 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-16 08:48:09 +0000 |
| commit | c4cfeb96a337cd7790d18cdbb101a130845efc02 (patch) | |
| tree | ab6e395690c71c9ab9cc608f5b5030f5148c7e97 /meta/recipes-devtools/python/python3-installer_0.5.1.bb | |
| parent | 7769b1f3fa218f648e9d753a5cbd7cebb422069e (diff) | |
| download | poky-c4cfeb96a337cd7790d18cdbb101a130845efc02.tar.gz | |
python3-installer: add installer module
Add a recipe for Installer, a minimal library/tool to install Python
Wheels. Unlike PIP, it explicitly only installs wheels and does nothing
else.
(From OE-Core rev: bf09c0bd99e4defbc259775b4a2e3fcce09bde17)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-installer_0.5.1.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-installer_0.5.1.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-installer_0.5.1.bb b/meta/recipes-devtools/python/python3-installer_0.5.1.bb new file mode 100644 index 0000000000..12d9fce249 --- /dev/null +++ b/meta/recipes-devtools/python/python3-installer_0.5.1.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 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] = "f970995ec2bb815e2fdaf7977b26b2091e1e386f0f42eafd5ac811953dc5d445" | ||
| 12 | |||
| 13 | inherit pypi flit_core | ||
| 14 | |||
| 15 | DEPENDS:remove:class-native = "python3-installer-native" | ||
| 16 | DEPENDS:append:class-native = " unzip-native" | ||
| 17 | |||
| 18 | do_install:class-native () { | ||
| 19 | python_pep517_do_bootstrap_install | ||
| 20 | } | ||
| 21 | |||
| 22 | BBCLASSEXTEND = "native nativesdk" | ||
