[oe] [PATCH] python-mako: use setuptools.bbclass, fixing install paths

Ross Burton ross.burton at intel.com
Wed Jan 9 15:30:18 UTC 2013


An argument was missed in the manual setuptools configuration which meant that
the tool was installed into
/data/poky-master/tmp/sysroots/x86_64-linux/usr/bin/mako-render.  Using the
setuptools class reduces duplication and puts the tool into /usr/bin where it
belongs.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta-oe/recipes-devtools/python/python-mako_0.7.2.bb |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb b/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
index d2222d6..9547246 100644
--- a/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
+++ b/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
@@ -11,11 +11,7 @@ SRC_URI[sha256sum] = "fe8698e845035586bd711a6748e4e40a208a58de276b91380261647004
 
 S = "${WORKDIR}/Mako-${PV}"
 
-inherit distutils
-
-DISTUTILS_INSTALL_ARGS = "--single-version-externally-managed \
-                          --root=${D} \
-                          --install-lib=${PYTHON_SITEPACKAGES_DIR}"
+inherit setuptools
 
 RDEPENDS_${PN} = "python-threading \
                   python-netclient \
-- 
1.7.10.4





More information about the Openembedded-devel mailing list