All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/1] package/python-mako: add missing dependencies
@ 2023-06-08 14:09 Sebastian Weyer
  2023-09-30 17:06 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Weyer @ 2023-06-08 14:09 UTC (permalink / raw)
  To: buildroot; +Cc: Bernd Kuhls, Sebastian Weyer, Asaf Kahlon

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(+)

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
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH v2 1/1] package/python-mako: add missing dependencies
  2023-06-08 14:09 [Buildroot] [PATCH v2 1/1] package/python-mako: add missing dependencies Sebastian Weyer
@ 2023-09-30 17:06 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-09-30 17:06 UTC (permalink / raw)
  To: Sebastian Weyer; +Cc: Bernd Kuhls, Asaf Kahlon, buildroot

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
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-30 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-08 14:09 [Buildroot] [PATCH v2 1/1] package/python-mako: add missing dependencies Sebastian Weyer
2023-09-30 17:06 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.