diff mbox series

[v2,1/1] package/python-mako: add missing dependencies

Message ID 20230608140933.1814667-1-sebastian.weyer@smile.fr
State Accepted
Headers show
Series [v2,1/1] package/python-mako: add missing dependencies | expand

Commit Message

Sebastian Weyer June 8, 2023, 2:09 p.m. UTC
Mako imports pygments and markupsafe so it needs to be selected when
selecting BR2_PACKAGE_PYTHON_MAKO

Fixes:
- https://bugs.busybox.net/show_bug.cgi?id=15628

Signed-off-by: Sebastian Weyer <sebastian.weyer@smile.fr>
---
v2: fix typo in commit message header
---
 package/python-mako/Config.in | 2 ++
 1 file changed, 2 insertions(+)

Comments

Thomas Petazzoni Sept. 30, 2023, 5:06 p.m. UTC | #1
On Thu,  8 Jun 2023 16:09:33 +0200
Sebastian Weyer <sebastian.weyer@smile.fr> wrote:

>  config BR2_PACKAGE_PYTHON_MAKO
>  	bool "python-mako"
> +	select BR2_PACKAGE_PYTHON_PYGMENTS # runtime
> +	select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime

In fact, only markupsafe is a mandatory dependency, not pygments. So
I've applied (after discussing with Romain), but only with markupsafe
selected.

Thomas
diff mbox series

Patch

diff --git a/package/python-mako/Config.in b/package/python-mako/Config.in
index 442e290efa..500137854f 100644
--- a/package/python-mako/Config.in
+++ b/package/python-mako/Config.in
@@ -1,5 +1,7 @@ 
 config BR2_PACKAGE_PYTHON_MAKO
 	bool "python-mako"
+	select BR2_PACKAGE_PYTHON_PYGMENTS # runtime
+	select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime
 	help
 	  Mako is a template library written in Python. It provides a
 	  familiar, non-XML syntax which compiles into Python modules