Browse Source

package/python-pyparted: needs python3

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>
Fabrice Fontaine 5 năm trước cách đây
mục cha
commit
3ada9b8888
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      package/python-pyparted/Config.in

+ 2 - 0
package/python-pyparted/Config.in

@@ -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