board-descriptor: update dependencies to python3

remove all python2.x dependencies and replaced them with python 3.5
libs.

BugzID: 53706

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
This commit is contained in:
Patrick Zysset 2018-10-29 18:23:55 +01:00
parent fb96cb244a
commit 9e6dd607f5
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
PR = "r0"
RDEPENDS_${PN} = "python-json python-textutils"
RDEPENDS_${PN} = "python3-json"
SRC_URI = " \
file://bd.py \
@ -30,8 +30,8 @@ do_install () {
install -d ${D}${bindir}
install -m 0755 bd.py ${D}${bindir}/bd
install -d ${D}${libdir}/python2.7/
install -m 0644 descriptor.py ${D}${libdir}/python2.7/
install -d ${D}${libdir}/python3.5/
install -m 0644 descriptor.py ${D}${libdir}/python3.5/
install -d ${D}${sysconfdir}/bd
install -m 0644 *.json ${D}${sysconfdir}/bd/

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
from optparse import OptionParser
import json