package/python-pymupdf: depend on python3
authorAsaf Kahlon <asafka7@gmail.com>
Fri, 13 Aug 2021 07:36:34 +0000 (10:36 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 13 Aug 2021 13:03:19 +0000 (15:03 +0200)
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>
package/python-pymupdf/Config.in

index 54714eb3bfce821db557da8334e21fe19316334a..65221d3e515be7f5d49a7e8f42139259515e2cc5 100644 (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