[Buildroot] [git commit] python-cheetah: add host-package support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Mar 13 21:38:27 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=dbdb8512fb6c86537bc54bd5333a463d0163a0be
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at trabucayre.com>
Reviewed-by: Samuel Martin <s.martin49 at gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/python-cheetah/python-cheetah.mk |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/package/python-cheetah/python-cheetah.mk b/package/python-cheetah/python-cheetah.mk
index 08076b5..7354190 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))


More information about the buildroot mailing list