Skip to content

Commit

Permalink
guider: Upgrade to 3.9.7
Browse files Browse the repository at this point in the history
Signed-off-by: Peace Lee <[email protected]>
  • Loading branch information
iipeace committed Jun 8, 2020
1 parent 9068314 commit d2e607f
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,27 @@ AUTHOR = "Peace Lee <[email protected]>"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2"

PV = "3.9.6+git${SRCPV}"
PV = "3.9.7+git${SRCPV}"
PR = "r0"

SRC_URI = "git://github.com/iipeace/${BPN}"
#SRCREV = "${AUTOREV}"
SRCREV = "fef25c41efb9bde0614ea477d0b90bd9565ae0b4"
SRCREV = "948f9fbccddf0225ae4da32f5828d64c4319c8cf"

S = "${WORKDIR}/git"
R = "${RECIPE_SYSROOT}"

inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "distutils", "", d)}
#inherit distutils
inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python", "distutils", "", d)}

GUIDER_OBJ = "guider.pyc"
GUIDER_SCRIPT = "guider"

python() {
if 'meta-python' not in d.getVar('BBFILE_COLLECTIONS').split():
raise bb.parse.SkipRecipe('Requires meta-python to be present.')
}

do_install() {
python ${S}/setup.py install

Expand All @@ -33,7 +39,3 @@ do_install() {

RDEPENDS_${PN} = "python-ctypes python-shell \
python-json python-subprocess"
python() {
if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
}

0 comments on commit d2e607f

Please sign in to comment.