libvirt: Use python3-native for python install
PATCH 1/1 libvirt: Use python3-native for python install
Signed-off-by Jeremy Puhlman <[email protected]>
--- recipes-extended/libvirt/libvirt-python.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-extended/libvirt/libvirt-python.inc +2 -2
@@ -42,14 +42,14 @@ python __anonymous () { do_compile_append() { if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then cd ${WORKDIR}/${BPN}-python-${PV} && \ - ${STAGING_BINDIR_NATIVE}/python-native/python setup.py build + ${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py build fi } do_install_append() { if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then cd ${WORKDIR}/${BPN}-python-${PV} && \ - ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install \ + ${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py install \ --install-lib=${D}/${PYTHON_SITEPACKAGES_DIR} ${LIBVIRT_INSTALL_ARGS} fi }
Signature · 1 line
2.20.1
merged.
Bruce
In message: [meta-virtualization][PATCH] libvirt: Use python3-native for python install
Quoted 31 lines · on 29/01/2020 Jeremy Puhlman wrote:
Signed-off-by Jeremy Puhlman <[email protected]>--- recipes-extended/libvirt/libvirt-python.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)recipes-extended/libvirt/libvirt-python.inc +2
-2@@ -42,14 +42,14 @@ python __anonymous () { do_compile_append() { if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then cd ${WORKDIR}/${BPN}-python-${PV} && \ - ${STAGING_BINDIR_NATIVE}/python-native/python setup.py build + ${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py build fi } do_install_append() { if [ "${LIBVIRT_PYTHON_ENABLE}" = "1" ]; then cd ${WORKDIR}/${BPN}-python-${PV} && \ - ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install \ + ${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py install \ --install-lib=${D}/${PYTHON_SITEPACKAGES_DIR} ${LIBVIRT_INSTALL_ARGS} fi }Signature · 1 line
2.20.1