diff mbox series

[meta-python,master] python-pytesseract: Update runtime dependencies

Message ID 20250325152255.1229610-1-a-christidis@ti.com
State Accepted
Headers show
Series [meta-python,master] python-pytesseract: Update runtime dependencies | expand

Commit Message

Antonios Christidis March 25, 2025, 3:22 p.m. UTC
From: Antonios Christidis <a-christidis@ti.com>

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.

Signed-off-by: Antonios Christidis <a-christidis@ti.com>
---
 .../recipes-extended/python-pytesseract/pytesseract_0.3.13.bb   | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb b/meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb
index ff2814f8c2..0d8cfcb408 100644
--- a/meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb
+++ b/meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb
@@ -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