From: Holger Hans Peter Freyther Date: Wed, 23 Jul 2008 05:19:00 +0000 (+0200) Subject: [iotop] Actually remove the site.py and site.pyo from the package X-Git-Tag: Release-2010-05/1~5805^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83a3c665dbaa7107aa9f5387078ab239af86282b;p=openembedded.git [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. --- diff --git a/packages/iotop/iotop_0.2.1.bb b/packages/iotop/iotop_0.2.1.bb index 9d4d93c443..5f85f59fe3 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 }