package/python-can/Config.in: sort selects
PATCH 1/2 package/python-can/Config.in: sort selects
Sort python builtin modules before external python libs.
--- package/python-can/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/python-can/Config.in +1 -1
@@ -1,11 +1,11 @@ config BR2_PACKAGE_PYTHON_CAN bool "python-can" select BR2_PACKAGE_PYTHON3_SQLITE # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime select BR2_PACKAGE_PYTHON_MSGPACK # runtime select BR2_PACKAGE_PYTHON_PACKAGING # runtime select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime select BR2_PACKAGE_PYTHON_WRAPT # runtime - select BR2_PACKAGE_PYTHON3_ZLIB help This module provides controller area network support for Python.
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/python-can: needs PYTHON3_CURSES
The can.viewer tool requires curses support. [1]
[1] https://github.com/hardbyte/python-can/blob/v4.3.1/can/viewer.py#L44-L53
--- package/python-can/Config.in | 1 + 1 file changed, 1 insertion(+)
package/python-can/Config.in +1 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_CAN bool "python-can" + select BR2_PACKAGE_PYTHON3_CURSES # runtime for can.viewer tool select BR2_PACKAGE_PYTHON3_SQLITE # runtime select BR2_PACKAGE_PYTHON3_ZLIB # runtime select BR2_PACKAGE_PYTHON_MSGPACK # runtime
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/python-can: needs PYTHON3_CURSES
Quoted 14 lines · On Tue, 13 Feb 2024 13:37:53 +0100 Marcus Hoffmann via buildroot…
The can.viewer tool requires curses support. [1]
[1] https://github.com/hardbyte/python-can/blob/v4.3.1/can/viewer.py#L44-L53
Signed-off-by Marcus Hoffmann <[email protected]>--- package/python-can/Config.in | 1 + 1 file changed, 1 insertion(+)package/python-can/Config.in +0
-0
package/python-can/Config.in line 3
Quoted 3 lines
package/python-can/Config.in +1
-0@@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_CAN bool "python-can" + select BR2_PACKAGE_PYTHON3_CURSES # runtime for can.viewer tool
I am not 100% sure on this one. Do we want to make this dependency mandatory, while it is only needed for a viewer tool, which probably most users of python-can won't use?
I see two alternatives here:
1. Leave things are they are today, i.e let users figure out that they need to enable curses support for the viewer.
2. Add an explicit BR2_PACKAGE_PYTHON_CAN_VIEWER option, which selects BR2_PACKAGE_PYTHON3_CURSES and enables the installation of the viewer tool. When this option is disabled, viewer.py is not installed (or removed if disabling installation is not possible)
Thoughts? This is not a hard feeling on my side.
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/python-can: needs PYTHON3_CURSES
Hi Thomas,
Quoted 30 lines · Thomas Petazzoni
Quoted 14 lines · On Tue, 13 Feb 2024 13:37:53 +0100 Marcus Hoffmann via buildroot…
The can.viewer tool requires curses support. [1]
[1] https://github.com/hardbyte/python-can/blob/v4.3.1/can/viewer.py#L44-L53
Signed-off-by Marcus Hoffmann <[email protected]>--- package/python-can/Config.in | 1 + 1 file changed, 1 insertion(+)package/python-can/Config.in +0
-0package/python-can/Config.in line 3
Quoted 3 lines
package/python-can/Config.in +1
-0@@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_CAN bool "python-can" + select BR2_PACKAGE_PYTHON3_CURSES # runtime for can.viewer toolI am not 100% sure on this one. Do we want to make this dependency mandatory, while it is only needed for a viewer tool, which probably most users of python-can won't use?
I see two alternatives here:
1. Leave things are they are today, i.e let users figure out that they need to enable curses support for the viewer.
Quoted 6 lines
2. Add an explicit
BR2_PACKAGE_PYTHON_CAN_VIEWERoption, which selectsBR2_PACKAGE_PYTHON3_CURSESand enables the installation of the viewer tool. When this option is disabled,viewer.pyis not installed (or removed if disabling installation is not possible)Thoughts? This is not a hard feeling on my side.
I didn't really have a strong opinion either, but I went ahead and submitted a patch with the second options now. Hope this makes sense :).
Marcus
Quoted 2 lines
Thomas
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 6 lines · On Tue, 13 Feb 2024 13:37:52 +0100 Marcus Hoffmann via buildroot…
Sort python builtin modules before external python libs.
Signed-off-by Marcus Hoffmann <[email protected]>--- package/python-can/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Marcus" == Marcus Hoffmann via buildroot <[email protected]> writes:
Sort python builtin modules before external python libs.
Signed-off-by Marcus Hoffmann <[email protected]>
Committed to 2024.02.x and 2024.05.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot