[Buildroot] [git commit branch/next] package/python-pymupdf: depend on python3

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Aug 13 13:03:19 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=4f857798a6f77df260a70343fe23e83a2083e569
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

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 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/python-pymupdf/Config.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/python-pymupdf/Config.in b/package/python-pymupdf/Config.in
index 54714eb3bf..65221d3e51 100644
--- a/package/python-pymupdf/Config.in
+++ b/package/python-pymupdf/Config.in
@@ -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


More information about the buildroot mailing list