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>
This commit is contained in:
parent
604c92043b
commit
dbdb8512fb
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user