[meta-networking,4/6] spice: Use python3 and modules during build

Submitted by Khem Raj on Jan. 24, 2020, 3:48 p.m. | Patch ID: 169450

Details

Message ID 20200124154810.1760420-4-raj.khem@gmail.com
State Accepted
Commit 5af264c7b45d82c6d9cdabd1cde58e2b308d4031
Headers show

Commit Message

Khem Raj Jan. 24, 2020, 3:48 p.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-networking/recipes-support/spice/spice_git.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb
index ebf4d576e5..9d3a0e6cb5 100644
--- a/meta-networking/recipes-support/spice/spice_git.bb
+++ b/meta-networking/recipes-support/spice/spice_git.bb
@@ -31,11 +31,10 @@  S = "${WORKDIR}/git"
 
 inherit autotools gettext python3native python3-dir pkgconfig
 
-DEPENDS += "spice-protocol jpeg pixman alsa-lib glib-2.0 python-pyparsing-native python-six-native glib-2.0-native"
+DEPENDS += "spice-protocol jpeg pixman alsa-lib glib-2.0 python3-pyparsing-native python3-six-native glib-2.0-native"
 DEPENDS_append_class-nativesdk = "nativesdk-openssl"
 
-export PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
-export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python2.7/site-packages"
+export PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3"
 
 CFLAGS_append = " -Wno-error"