From 3ada9b8888aa66ab323278ced6071c6be8b2bac7 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 13 Jul 2020 11:10:03 +0200 Subject: [PATCH] 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 Reviewed-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- package/python-pyparted/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/python-pyparted/Config.in b/package/python-pyparted/Config.in index 6e3bde2030..0e27ce1d2e 100644 --- a/package/python-pyparted/Config.in +++ b/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 -- 2.30.2