Skip to contentSkip to conversation

python-mako: use setuptools.bbclass, fixing install paths

PATCH New Ross Burton 1 participant 1 message Jan 9, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-mako: use setuptools.bbclass, fixing install paths

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.

---
 meta-oe/recipes-devtools/python/python-mako_0.7.2.bb |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
meta-oe/recipes-devtools/python/python-mako_0.7.2.bb +1 -5
index d2222d6..9547246 100644
@@ -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 \
Signature · 1 line
1.7.10.4