[oe-commits] Richard Purdie : telepathy-python: Remove unneeded and unpackaged files

git version control git at git.openembedded.org
Thu Jul 7 09:51:27 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 914daf52ece9b4c14065cb26934eb52babbf6c0e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=914daf52ece9b4c14065cb26934eb52babbf6c0e

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Jul  5 22:43:46 2011 +0100

telepathy-python: Remove unneeded and unpackaged files

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../telepathy/telepathy-python_0.15.19.bb          |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

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 8182362..0a483c4 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
+}





More information about the Openembedded-commits mailing list