aboutsummaryrefslogtreecommitdiff
path: root/package/python-cheetah
diff options
context:
space:
mode:
authorGravatar Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>2015-03-13 09:24:09 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-13 22:38:27 +0100
commitdbdb8512fb6c86537bc54bd5333a463d0163a0be (patch)
tree7b91ab75a6a524b9c97f89ac3f85a4de79830203 /package/python-cheetah
parent604c92043bf0e40a8eb23aa54f57d0e49ca6fbe2 (diff)
downloadbuildroot-dbdb8512fb6c86537bc54bd5333a463d0163a0be.tar.gz
buildroot-dbdb8512fb6c86537bc54bd5333a463d0163a0be.tar.bz2
python-cheetah: add host-package support
Some packages, like GNURadio for VOLK, needs cheetah on host at buildtime. The dependency on host-python-markdown is needed to avoid that setuptools downloads markdown if it is not installed yet. [Thomas: add comment in the .mk file.] Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-cheetah')
-rw-r--r--package/python-cheetah/python-cheetah.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/python-cheetah/python-cheetah.mk b/package/python-cheetah/python-cheetah.mk
index 08076b563d..7354190cf3 100644
--- a/package/python-cheetah/python-cheetah.mk
+++ b/package/python-cheetah/python-cheetah.mk
@@ -10,4 +10,9 @@ PYTHON_CHEETAH_SITE = http://pypi.python.org/packages/source/C/Cheetah
PYTHON_CHEETAH_LICENSE = MIT
PYTHON_CHEETAH_SETUP_TYPE = setuptools
+# The dependency on host-python-markdown is needed to prevent
+# setuptools from downloading markdown if it is not installed yet.
+HOST_PYTHON_CHEETAH_DEPENDENCIES = host-python-markdown
+
$(eval $(python-package))
+$(eval $(host-python-package))