config BR2_PACKAGE_PYTHON_PYPARTED
	bool "python-pyparted"
	depends on BR2_ENABLE_LOCALE # parted
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # parted
	depends on BR2_USE_WCHAR
	select BR2_PACKAGE_PARTED
	help
	  Python bindings for GNU parted (libparted).

	  https://github.com/rhinstaller/pyparted

comment "pyparted needs a toolchain w/ locale, wchar, gcc >= 5"
	depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_5
