Patchwork menuconfig error with python packages

login
register
mail settings
Submitter kpa_info@yahoo.fr
Date Jan. 25, 2013, 9:03 a.m.
Message ID <51024A4A.6070909@yahoo.fr>
Download mbox | patch
Permalink /patch/215589/
State Superseded
Headers show

Comments

kpa_info@yahoo.fr - Jan. 25, 2013, 9:03 a.m.
On 01/25/2013 09:41 AM, Patrick wrote:
> Dear all,
>
> I have detected what it seems a strange behaviour with python in the
> menuconfig. When activating python3 (BR2_PACKAGE_PYTHON3) the submenu
> "external python modules" is not visible.
> When activating dstat (BR2_PACKAGE_DSTAT) from "Debugging, profiling and
> benchmarking" the "external python modules" submenu become visible.
>
> Is this really the expected behaviour ? I don't think so
>

I think the patch below fix the problem. The "external python modules" 
submenu is now available when activating python3. Fow now only the 
python-bottle package is available I have to check if others python 
packages work also with python 3.

Any comments ?

Patrick

Patch

diff --git a/package/Config.in b/package/Config.in
index 10adf5d..1d477f7 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -309,7 +309,7 @@  source "package/microperl/Config.in"
  source "package/php/Config.in"
  source "package/python/Config.in"
  source "package/python3/Config.in"
-if BR2_PACKAGE_PYTHON
+if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
  menu "external python modules"
  source "package/python-bottle/Config.in"
  source "package/python-dpkt/Config.in"