package/python-pymupdf: depend on python3

According to the package documentation, python 3.6 or newer
is needed.

Fixes:
 - http://autobuild.buildroot.net/results/f857986b8c9b6d4a843f3694cae8527760540ed0/

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Asaf Kahlon 2021-08-13 10:36:34 +03:00 committed by Thomas Petazzoni
parent d811549b75
commit 4f857798a6

View File

@ -4,6 +4,7 @@ config BR2_PACKAGE_PYTHON_PYMUPDF
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mupdf -> harfbuzz
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # mupdf -> harfbuzz
depends on BR2_PACKAGE_XORG7
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_FREETYPE
select BR2_PACKAGE_MUPDF
select BR2_PACKAGE_ZLIB
@ -13,10 +14,12 @@ config BR2_PACKAGE_PYTHON_PYMUPDF
https://github.com/pymupdf/PyMuPDF
comment "python-pymupdf needs Xorg"
depends on BR2_PACKAGE_PYTHON3
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_PACKAGE_XORG7
comment "python-pymupdf needs a toolchain w/ C++, gcc >= 4.8"
depends on BR2_PACKAGE_PYTHON3
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8