From 4b71ba456c061adc8803c1a571adc6270688bc6d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 5 Jul 2011 22:43:46 +0100 Subject: telepathy-python: Remove unneeded and unpackaged files (From OE-Core rev: 914daf52ece9b4c14065cb26934eb52babbf6c0e) Signed-off-by: Richard Purdie --- meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'meta/recipes-connectivity/telepathy') diff --git a/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb b/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb index 8182362625..0a483c489f 100644 --- a/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb +++ b/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb @@ -9,7 +9,7 @@ RDEPENDS_${PN} += "python-dbus" SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${P}.tar.gz \ file://parallel_make.patch" -PR = "r1" +PR = "r2" inherit autotools @@ -20,3 +20,10 @@ FILES_${PN} += "\ ${libdir}/python*/site-packages/telepathy/*.py \ ${libdir}/python*/site-packages/telepathy/*/*.py \ " + +do_install_append () { + rm -f ${D}${libdir}/python*/site-packages/telepathy/*.pyc + rm -f ${D}${libdir}/python*/site-packages/telepathy/*.pyo + rm -f ${D}${libdir}/python*/site-packages/telepathy/*/*.pyc + rm -f ${D}${libdir}/python*/site-packages/telepathy/*/*.pyo +} -- cgit v1.2.3-54-g00ecf