From 83a3c665dbaa7107aa9f5387078ab239af86282b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 23 Jul 2008 07:19:00 +0200 Subject: [PATCH] [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 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.39.5