package/python-pyparted: needs python3
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 13 Jul 2020 09:10:03 +0000 (11:10 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 13 Jul 2020 19:38:47 +0000 (21:38 +0200)
python3 is a mandatory dependency since version 3.11.5 and
https://github.com/dcantrell/pyparted/commit/c4949263538784036a5917195f956f8fcda9cf20

Fixes:
 - http://autobuild.buildroot.org/results/7d93b4e5c3afebef8c4c19d1c6a0c26e71423191

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python-pyparted/Config.in

index 6e3bde2030a0bf63e9e1724b00f5173bea3c1fcd..0e27ce1d2e856d63dabdf59bcf9f9bf2fa56cf02 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_PYPARTED
        bool "python-pyparted"
+       depends on BR2_PACKAGE_PYTHON3
        depends on BR2_ENABLE_LOCALE # parted
        depends on BR2_USE_WCHAR
        depends on !BR2_TOOLCHAIN_USES_UCLIBC # parted
@@ -10,5 +11,6 @@ config BR2_PACKAGE_PYTHON_PYPARTED
          https://github.com/rhinstaller/pyparted
 
 comment "pyparted needs a glibc or musl toolchain w/ locale, wchar"
+       depends on BR2_PACKAGE_PYTHON3
        depends on BR2_TOOLCHAIN_USES_UCLIBC || \
                !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR