]> code.ossystems Code Review - openembedded-core.git/commitdiff
telepathy-python: Remove unneeded and unpackaged files
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Jul 2011 21:43:46 +0000 (22:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Jul 2011 22:48:34 +0000 (23:48 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb

index 81823626258e9de7cd6920f3a332728bc42376c1..0a483c489fd99193f41ee77ab7446d1167c0bf7a 100644 (file)
@@ -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
+}