From adb3f5a3e0d5bd6df60c91c46a03a2ff9c867dbb Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Fri, 9 Jun 2023 19:49:53 +0200 Subject: [PATCH] package/python-mako: add optional runtime dependency on python-pygments Some extensions of python-mako use python-pygments, if they are used, python-pygments must be added as a runtime dependency. Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- package/python-mako/Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in index e6a10c9c2e..2e1094189f 100644 --- a/package/python-mako/Config.in +++ b/package/python-mako/Config.in @@ -7,3 +7,14 @@ config BR2_PACKAGE_PYTHON_MAKO for maximum performance. https://pypi.python.org/pypi/Mako + +if BR2_PACKAGE_PYTHON_MAKO + +config BR2_PACKAGE_PYTHON_MAKO_EXT_PYGMENTPLUGIN + bool "mako extension pygmentplugin" + select BR2_PACKAGE_PYTHON_PYGMENTS # runtime + help + Provide python-pygments support for + mako.ext.pygmentplugin + +endif