[oe-commits] Holger Hans Peter Freyther : [iotop] Actually remove the site.py and site. pyo from the package

GIT User account git at amethyst.openembedded.net
Wed Oct 15 18:11:49 UTC 2008


Module: openembedded.dev.git
Branch: holger/hash-style
Commit: 83a3c665dbaa7107aa9f5387078ab239af86282b
URL:    http://gitweb.openembedded.net/?p=openembedded.dev.git&a=commit;h=83a3c665dbaa7107aa9f5387078ab239af86282b

Author: Holger Hans Peter Freyther <zecke at openmoko.org>
Date:   Wed Jul 23 07:19:00 2008 +0200

[iotop] Actually remove the site.py and site.pyo from the package
    Use do_install_append instead of _prepend... to remove the files
    that are provided by setuptools as well.

---

 packages/iotop/iotop_0.2.1.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/iotop/iotop_0.2.1.bb b/packages/iotop/iotop_0.2.1.bb
index 9d4d93c..5f85f59 100644
--- a/packages/iotop/iotop_0.2.1.bb
+++ b/packages/iotop/iotop_0.2.1.bb
@@ -1,6 +1,6 @@
 HOMEPAGE = "http://guichaz.free.fr/iotop/"
 LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
 
 RDEPENDS = "python-distutils python-curses python-setuptools python-textutils"
 
@@ -8,7 +8,7 @@ SRC_URI = "http://guichaz.free.fr/iotop/files/${PN}-${PV}.tar.bz2"
 
 inherit distutils
 
-do_install_prepend() {
+do_install_append() {
     rm -f ${D}${libdir}/${PYTHON_DIR}/site-packages/site.pyo
     rm -f ${D}${libdir}/${PYTHON_DIR}/site-packages/site.py
 }





More information about the Openembedded-commits mailing list