From 763c2db314fa3a5a486055ad15cb506859e4e955 Mon Sep 17 00:00:00 2001 From: Grzegorz Blach Date: Thu, 30 Aug 2018 12:18:47 +0200 Subject: [PATCH] python-falcon: add optional dependency on host-python-cython Falcon can be compiled into shared objects using Cython. Compiled version works much faster than pure-python one. Signed-off-by: Grzegorz Blach Signed-off-by: Thomas Petazzoni --- package/python-falcon/python-falcon.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/python-falcon/python-falcon.mk b/package/python-falcon/python-falcon.mk index 106387f96f..b724ffadbe 100644 --- a/package/python-falcon/python-falcon.mk +++ b/package/python-falcon/python-falcon.mk @@ -11,4 +11,8 @@ PYTHON_FALCON_SETUP_TYPE = setuptools PYTHON_FALCON_LICENSE = Apache-2.0 PYTHON_FALCON_LICENSE_FILES = LICENSE +ifeq ($(BR2_PACKAGE_HOST_PYTHON_CYTHON),y) +PYTHON_FALCON_DEPENDENCIES += host-python-cython +endif + $(eval $(python-package)) -- 2.30.2