[oe] [PATCH] python-nose: avoid duplicate install of setup.py*

Ulf Samuelsson ulf at emagii.com
Thu Jan 16 16:04:04 UTC 2014


Signed-off-by: Ulf Samuelsson <ulf at emagii.com>
---
 .../recipes-devtools/python/python-nose_1.2.1.bb   |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb b/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb
index 083d052..1cf3869 100644
--- a/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb
+++ b/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb
@@ -11,4 +11,8 @@ SRC_URI[sha256sum] = "2171e9202d118d302d5db1decb52dd862b79e2a626ca19653a6914574a
 
 S = "${WORKDIR}/nose-${PV}"
 
+do_install_append() {
+	rm -f ${D}${libdir}/python*/site-packages/site.py*
+}
+
 inherit distutils
-- 
1.7.9.5




More information about the Openembedded-devel mailing list