libvirt: fix python install in multilib case.

Currently libvirt python builds in the multilib case, but fails to
install. Switch from PN to BPN, and fix compile to be consistent.

Signed-off-by: Bruce Ashfield <bruce@zedd.org>
This commit is contained in:
Jeremy Puhlman 2016-07-31 22:00:11 -07:00 committed by Bruce Ashfield
parent f7fd448461
commit 357ca45fb1

View File

@ -42,14 +42,14 @@ python __anonymous () {
do_compile_append() {
if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then
cd ${WORKDIR}/libvirt-python-${PV} && \
cd ${WORKDIR}/${BPN}-python-${PV} && \
${STAGING_BINDIR_NATIVE}/python-native/python setup.py build
fi
}
do_install_append() {
if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then
cd ${WORKDIR}/${PN}-python-${PV} && \
cd ${WORKDIR}/${BPN}-python-${PV} && \
${STAGING_BINDIR_NATIVE}/python-native/python setup.py install \
--install-lib=${D}/${PYTHON_SITEPACKAGES_DIR} ${LIBVIRT_INSTALL_ARGS}
fi