Skip to contentSkip to conversation

libvirt: Use python3-native for python install

PATCH In review Jeremy Puhlman 2 participants 2 messages Jan 29, 2020 – Feb 3, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvirt: Use python3-native for python install

---
 recipes-extended/libvirt/libvirt-python.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-extended/libvirt/libvirt-python.inc +2 -2
index 02fca54..d15500e 100644
@@ -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
#1 lore raw

merged.

Bruce

In message: [meta-virtualization][PATCH] libvirt: Use python3-native for python install

Quoted 31 lines · on 29/01/2020 Jeremy Puhlman wrote:
---
 recipes-extended/libvirt/libvirt-python.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-extended/libvirt/libvirt-python.inc +2 -2
index 02fca54..d15500e 100644
@@ -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