python3-blivet: use setuptools_legacy

The setup.py installs to arbitrary target paths, so can't use the new
bdist_wheel installation method.

Reverts daba6521f which was a sympton of the bad usage.

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:
Kai Kang 2022-03-04 17:41:00 +08:00 committed by Khem Raj
parent 56c3d5dfb1
commit 34d4ce1d5b

View File

@ -19,16 +19,10 @@ SRC_URI += "\
"
SRC_URI[sha256sum] = "1b05b77f3ee35d82c7a577a168c9ba0204d3e9a87eb1975e5f9af47700eeff48"
inherit pypi features_check systemd setuptools3
inherit pypi features_check systemd setuptools3_legacy
REQUIRED_DISTRO_FEATURES = "systemd"
do_install:append() {
mv ${D}${PYTHON_SITEPACKAGES_DIR}${exec_prefix}/* ${D}${exec_prefix}
mv ${D}${PYTHON_SITEPACKAGES_DIR}${sysconfdir} ${D}
mv ${D}${PYTHON_SITEPACKAGES_DIR}${base_libdir} ${D}
}
RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \
parted python3-pyparted multipath-tools \
lsof cryptsetup libblockdev \