config BR2_PACKAGE_PYTHON_PYICU
	bool "python-pyicu"
	depends on !BR2_BINFMT_FLAT # icu
	depends on BR2_HOST_GCC_AT_LEAST_7 # icu
	depends on BR2_INSTALL_LIBSTDCPP # icu
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # icu
	select BR2_PACKAGE_ICU
	help
	  Python extension wrapping the ICU C++ API.

	  https://gitlab.pyicu.org/main/pyicu

comment "python-pyicu needs a toolchain w/ C++, gcc >= 7, host gcc >= 7"
	depends on !BR2_BINFMT_FLAT
	depends on !BR2_INSTALL_LIBSTDCPP || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
		!BR2_HOST_GCC_AT_LEAST_7
