Skip to contentSkip to conversation

python-pytesseract: Update runtime dependencies

PATCH New [email protected] 1 participant 1 message Mar 25, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-pytesseract: Update runtime dependencies

From: Antonios Christidis <[email protected]>

The pytesseract library is a wrapper for tesseract, so it should depend on it on runtime. Also, the pytesseract python script calls for the packaging module so also include it as a depencency.

---
 .../recipes-extended/python-pytesseract/pytesseract_0.3.13.bb   | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb +2 -0
index ff2814f8c2..0d8cfcb408 100644
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
 
 SRC_URI[md5sum] = "73f9645e59b437f064d05882b95832ce"
 
+RDEPENDS:${PN}:append = " python3-packaging tesseract"
+
 PYPI_PACKAGE = "pytesseract"
 
 inherit pypi setuptools3 
Signature · 1 line
2.34.1