blob: c8ddb150807c634113a279462f704e4b66f296f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
SUMMARY = "runtime performance analyzer"
HOMEPAGE = "https://github.com/iipeace/guider"
BUGTRACKER = "https://github.com/iipeace/guider/issues"
AUTHOR = "Peace Lee <ipeace5@gmail.com>"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2"
PV = "3.9.6+git${SRCPV}"
PR = "r0"
SRC_URI = "git://github.com/iipeace/${BPN}"
#SRCREV = "${AUTOREV}"
SRCREV = "fef25c41efb9bde0614ea477d0b90bd9565ae0b4"
S = "${WORKDIR}/git"
R = "${RECIPE_SYSROOT}"
inherit distutils3
GUIDER_OBJ = "guider.pyc"
GUIDER_SCRIPT = "guider"
do_install() {
python ${S}/setup.py install
install -d ${D}${bindir}
install -v -m 0755 ${STAGING_BINDIR_NATIVE}/${GUIDER_SCRIPT} ${D}${bindir}/${GUIDER_SCRIPT}
install -d ${D}${datadir}/${BPN}
install -v -m 0755 ${STAGING_LIBDIR_NATIVE}/python${PYTHON_BASEVERSION}/site-packages/${BPN}/${GUIDER_OBJ} ${D}${datadir}/${BPN}/${GUIDER_OBJ}
}
RDEPENDS_${PN} = "python3-ctypes python3-shell \
python3-json python3-subprocess"
|