Misenkooo/e2-openpli-plugin-MyMetrixHD — pull request #9 by persianpros (2013-04-02 21:33:58+00:00)
Title: add py sources instead of pyo files

also you can create a bitbake recipe for your repo , something like

DESCRIPTION = "MyMetrixHD Skin - Based On VTi version"

SRCREV_pn-${PN} ?= "${AUTOREV}"
inherit gitpkgv

PV = "git${SRCPV}"
PKGV = "git${GITPKGV}"
PR = "r1"

PACKAGES = "${PN}"

SRC_URI = "git://github.com/Misenkooo/e2-openpli-plugin-MyMetrixHD.git;protocol=git"

FILES_${PN} = "/usr/"

S = "${WORKDIR}/git"

do_compile() {
python -O -m compileall ${S}
}

do_install() {
install -d ${D}/usr
cp -rp ${S}/usr/* ${D}/usr/
}

PACKAGES =+ "${PN}-src"

inherit pkgconfig

FILES_${PN}-dbg += "\
/usr/lib/enigma2/python/Plugins/*/*/.debug \
/usr/lib/enigma2/python/Plugins/*/*/*/.debug \
/usr/lib/enigma2/python/Plugins/*/*/*/*/.debug \
/usr/lib/enigma2/python/Plugins/*/*/*/*/*/.debug \
/usr/lib/enigma2/python/Plugins/*/*/*/*/*/*/.debug \
"

FILES_${PN}-src = "\
/usr/lib/enigma2/python/*/*.py \
/usr/lib/enigma2/python/*/*/*.py \
/usr/lib/enigma2/python/*/*/*/*.py \
/usr/lib/enigma2/python/*/*/*/*/*.py \
/usr/lib/enigma2/python/*/*/*/*/*/*.py \
/usr/lib/enigma2/python/*/*/*/*/*/*/*.py \
/usr/lib/enigma2/python/*/*/*/*/*/*/*/*.py \
/usr/lib/enigma2/python/*/*/*/*/*/*/*/*/*.py \
/usr/lib/enigma2/python/*/*/*/*/*/*/*/*/*/*.py \
/usr/lib/enigma2/python/*/*/*/*/*/*/*/*/*/*/*.py \
"