mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/python-pymupdf: add missing python-zlib dependency
It turns out that python-pymupdf doesn't require zlib directly, but it does require the zlib python module. This fixes the following runtime error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.11/site-packages/fitz/__init__.py", line 22, in <module> File "/usr/lib/python3.11/site-packages/fitz/fitz.py", line 3402, in <module> File "/usr/lib/python3.11/gzip.py", line 9, in <module> ModuleNotFoundError: No module named 'zlib' Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
2c0d7b72c0
commit
ba6baa019b
@@ -7,7 +7,7 @@ config BR2_PACKAGE_PYTHON_PYMUPDF
|
||||
select BR2_PACKAGE_HOST_SWIG
|
||||
select BR2_PACKAGE_FREETYPE
|
||||
select BR2_PACKAGE_MUPDF
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_PYTHON3_ZLIB # runtime
|
||||
help
|
||||
Python bindings for the PDF rendering library MuPDF.
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ PYTHON_PYMUPDF_SETUP_TYPE = setuptools
|
||||
PYTHON_PYMUPDF_LICENSE = AGPL-3.0+
|
||||
PYTHON_PYMUPDF_LICENSE_FILES = COPYING
|
||||
# No license file included in pip, but it's present on github
|
||||
PYTHON_PYMUPDF_DEPENDENCIES = freetype host-swig mupdf zlib
|
||||
PYTHON_PYMUPDF_DEPENDENCIES = freetype host-swig mupdf
|
||||
PYTHON_PYMUPDF_BUILD_OPTS = --skip-dependency-check
|
||||
|
||||
PYTHON_PYMUPDF_ENV = CFLAGS="-I$(STAGING_DIR)/usr/include/mupdf -I$(STAGING_DIR)/usr/include/freetype2"
|
||||
|
||||
Reference in New Issue
Block a user