python-pysnmp{, -apps, -mibs}: allow to build with Python 3
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Feb 2014 20:40:13 +0000 (21:40 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 19 Feb 2014 08:02:15 +0000 (09:02 +0100)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-pysnmp-apps/Config.in
package/python-pysnmp-mibs/Config.in
package/python-pysnmp/Config.in

index 304e81222cced9985387358c12b4d31cccdc5947..8edd04c5531c292394a8c46ac6a35d7bc50ade3a 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_PYTHON_PYSNMP_APPS
        bool "python-pysnmp-apps"
-       depends on BR2_PACKAGE_PYTHON
+       depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
        select BR2_PACKAGE_PYTHON_PYSNMP
        depends on BR2_INSTALL_LIBSTDCPP # pysnmp -> pyasn
        help
index 90ec933a990d7422b189bbe6ef58c6bdb3b4317b..cc03676a3b29d5f3fb687b7ea3e9787a19e2e566 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_PYTHON_PYSNMP_MIBS
        bool "python-pysnmp-mibs"
-       depends on BR2_PACKAGE_PYTHON
+       depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
        select BR2_PACKAGE_PYTHON_PYSNMP
        depends on BR2_INSTALL_LIBSTDCPP # pysnmp -> pyasn
        help
index d5f90edcf28873fa79e5d50cb32dc43ad10377a0..6cf18ee063250a9fa17d1f6112b51735a7607c8b 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_PYTHON_PYSNMP
        bool "python-pysnmp"
-       depends on BR2_PACKAGE_PYTHON
+       depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
        depends on BR2_INSTALL_LIBSTDCPP # pyasn
        select BR2_PACKAGE_PYTHON_PYASN
        select BR2_PACKAGE_PYTHON_PYCRYPTO