[oe-commits] Ross Burton : python-mako: use setuptools.bbclass, fixing install paths
git at git.openembedded.org
git at git.openembedded.org
Sun Jan 13 10:42:16 UTC 2013
Module: meta-openembedded.git
Branch: master
Commit: 9ec0d24a5f1b6d769f706f1b7a585eee9c119041
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=9ec0d24a5f1b6d769f706f1b7a585eee9c119041
Author: Ross Burton <ross.burton at intel.com>
Date: Wed Jan 9 15:30:18 2013 +0000
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.
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../recipes-devtools/python/python-mako_0.7.2.bb | 8 ++------
1 files changed, 2 insertions(+), 6 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..6f71561 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
@@ -3,7 +3,7 @@ SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=da8dd26ed9751ee0cfdf9df1a16bbb54"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://www.makotemplates.org/downloads/Mako-${PV}.tar.gz"
SRC_URI[md5sum] = "e3c0a677aa4216da9e89ef8fa76cbafb"
@@ -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 \
More information about the Openembedded-commits
mailing list