package/python-txtorcon: depend comment on BR2_PACKAGE_PYTHON3
authorAsaf Kahlon <asafka7@gmail.com>
Sat, 14 Aug 2021 17:37:24 +0000 (20:37 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 15 Aug 2021 14:53:40 +0000 (16:53 +0200)
The user shouldn't view the comment on the python2 menu.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python-txtorcon/Config.in

index 9677eb4da8fe124c3ee38434dec1473bde9d3cd9..e8a1a233db98f8a87a43481b2ef71d92ceb1d5f1 100644 (file)
@@ -16,4 +16,5 @@ config BR2_PACKAGE_PYTHON_TXTORCON
          https://github.com/meejah/txtorcon
 
 comment "python-txtorcon needs a toolchain w/ C++"
+       depends on BR2_PACKAGE_PYTHON3
        depends on !BR2_INSTALL_LIBSTDCPP