mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
python3-meh: use setuptools_legacy
This setup.py installs data_files with absolute paths, which isn't supported by bdist_wheel. Use setuptools_legacy as the legacy install task needs to be used. Also update patch status on the setuptools port. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
@@ -5,7 +5,7 @@ HOMEPAGE = "https://github.com/rhinstaller/python-meh"
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
inherit setuptools3
|
||||
inherit setuptools3_legacy
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -14,12 +14,4 @@ SRC_URI = "git://github.com/rhinstaller/python-meh.git;protocol=https;branch=rhe
|
||||
"
|
||||
SRCREV = "c321ce22950aff76611a3c6beffa02b5ea3adbed"
|
||||
|
||||
PIP_INSTALL_PACKAGE = "python_meh"
|
||||
|
||||
do_install:append () {
|
||||
install -d ${D}/${datadir}/python-meh
|
||||
mv ${D}${PYTHON_SITEPACKAGES_DIR}${datadir}/python-meh/* ${D}/${datadir}/python-meh/
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/*"
|
||||
|
||||
FILES:${PN} += "${datadir}/python-meh"
|
||||
|
||||
Reference in New Issue
Block a user