package/dstat: invert select of the python interpreter version
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 26 Oct 2019 18:52:39 +0000 (20:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 26 Oct 2019 18:53:58 +0000 (20:53 +0200)
commit444c7546ff3e47585e7b7184a11179161ed8519c
tree47332a9b8159d3cd3145fdc18e1e6f2346faae92
parentae0dabd8620cc5fb345096beecef681d19699cd4
package/dstat: invert select of the python interpreter version

Commit 05484f621c1c2f80b2d735b2f4694996baad4a61 ("package/dstat: bump
to 0.7.4 which allows to run on Python3") added:

   select BR2_PACKAGE_PYTHON if !BR2_PACKAGE_PYTHON3

Unfortunately, some other packages do it the other way around, which
causes the following Kconfig circular dependency:

package/python/Config.in:5:error: recursive dependency detected!
package/python/Config.in:5: symbol BR2_PACKAGE_PYTHON is selected by BR2_PACKAGE_PYTHON3
package/python3/Config.in:5: symbol BR2_PACKAGE_PYTHON3 is selected by BR2_PACKAGE_PYTHON

Fix that by inverting the python version selection in the dstat
package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dstat/Config.in