[Buildroot] [git commit] package/python-augeas: switch from "depends on" to "select" for augeas dep
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Oct 3 17:16:19 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=fffff77dc5cd13942bad9b481f558d5787856d05
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
During the review of the lua-augeas package, it was pointed out that a
"select BR2_PACKAGE_AUGEAS" should be used instead of a "depends on
BR2_PACKAGE_AUGEAS". But, the same review pointed that python-augeas
used a "depends on BR2_PACKAGE_AUGEAS".
In order to make things consistent, let's switch to "select
BR2_PACKAGE_AUGEAS" as well for python-augeas.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
package/python-augeas/Config.in | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/python-augeas/Config.in b/package/python-augeas/Config.in
index 3503a83b3b..4ab2bd1b26 100644
--- a/package/python-augeas/Config.in
+++ b/package/python-augeas/Config.in
@@ -1,8 +1,14 @@
config BR2_PACKAGE_PYTHON_AUGEAS
bool "python-augeas"
- depends on BR2_PACKAGE_AUGEAS
+ depends on !BR2_arc
+ depends on BR2_USE_WCHAR
+ select BR2_PACKAGE_AUGEAS
select BR2_PACKAGE_PYTHON_CFFI # runtime
help
Pure python bindings for Augeas.
https://github.com/hercules-team/python-augeas
+
+comment "python-augeas needs a toolchain w/ wchar"
+ depends on !BR2_arc
+ depends on !BR2_USE_WCHAR
More information about the buildroot
mailing list