Skip to contentSkip to conversation

meta-arago-test: Add runtime dependencies for pytesseract

PATCH In review [email protected] 3 participants 4 messages Mar 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-arago-test: Add runtime dependencies for pytesseract

From: Antonios Christidis <[email protected]>

Pytesseract is a python wrapper for tesseract, so it should depend on it. The pytesseract script calls the python packaging module, so add it as well as a dependecy.

This is only for scarthgap branch, as the master recipe for this package is in meta-openembedded.

---
 .../recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb  | 2 ++
 1 file changed, 2 insertions(+)
meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb +2 -0
index 91350cd5..0f505f63 100644
@@ -7,6 +7,8 @@ HOMEPAGE = "https://github.com/madmaze/pytesseract"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
 
+RDEPENDS:${PN}:append = "python3-packaging tesseract"
+
 SRC_URI[sha256sum] = "4bf5f880c99406f52a3cfc2633e42d9dc67615e69d8a509d74867d3baddb5db9"
 
 PYPI_PACKAGE = "pytesseract"
Signature · 1 line
2.34.1
#1 lore raw

The subject is not quite right. It should be:

pytesseract: Add runtime dependencies

I don't care so much about knowing this patch was for meta-arago-test or whichever layer. But the first part should always contain the recipe name being updated.

Please fix.

Quoted 27 lines · Antonios Christidis via lists.yoctoproject.org

From: Antonios Christidis <[email protected]>

Pytesseract is a python wrapper for tesseract, so it should depend on it. The pytesseract script calls the python packaging module, so add it as well as a dependecy.

This is only for scarthgap branch, as the master recipe for this package is in meta-openembedded.

---
  .../recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb  | 2 ++
  1 file changed, 2 insertions(+)
meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb +2 -0
index 91350cd5..0f505f63 100644
@@ -7,6 +7,8 @@ HOMEPAGE = "https://github.com/madmaze/pytesseract"
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
 
+RDEPENDS:${PN}:append = "python3-packaging tesseract"
+
  SRC_URI[sha256sum] = "4bf5f880c99406f52a3cfc2633e42d9dc67615e69d8a509d74867d3baddb5db9"
 
  PYPI_PACKAGE = "pytesseract"
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#2 lore raw

Thank you for point this out.

v2 just sent.

Regards

Antonios

Quoted 40 lines · Ryan Eatmon

The subject is not quite right.  It should be:

pytesseract: Add runtime dependencies

I don't care so much about knowing this patch was for meta-arago-test or whichever layer.  But the first part should always contain the recipe name being updated.

Please fix.

Quoted 28 lines · Antonios Christidis via lists.yoctoproject.org

From: Antonios Christidis <[email protected]>

Pytesseract is a python wrapper for tesseract, so it should depend on it. The pytesseract script calls the python packaging module, so add it as well as a dependecy.

This is only for scarthgap branch, as the master recipe for this package is in meta-openembedded.

---
.../recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb | 2 ++

  1 file changed, 2 insertions(+)
meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb +0 -0

index 91350cd5..0f505f63 100644
---
a/meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb
+++
b/meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb

meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb +0 -0
@@ -7,6 +7,8 @@ HOMEPAGE = "https://github.com/madmaze/pytesseract"

  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" +RDEPENDS:${PN}:append = "python3-packaging tesseract"
+
  SRC_URI[sha256sum] = "4bf5f880c99406f52a3cfc2633e42d9dc67615e69d8a509d74867d3baddb5db9" PYPI_PACKAGE = "pytesseract"

#3 lore raw
In reply to Ryan Eatmon
Quoted 27 lines · Ryan Eatmon via lists.yoctoproject.org

The subject is not quite right. It should be:

pytesseract: Add runtime dependencies

I don't care so much about knowing this patch was for meta-arago-test or whichever layer. But the first part should always contain the recipe name being updated.

Please fix.

Quoted 14 lines · Antonios Christidis via lists.yoctoproject.org

From: Antonios Christidis <[email protected]>

Pytesseract is a python wrapper for tesseract, so it should depend on it. The pytesseract script calls the python packaging module, so add it as well as a dependecy.

This is only for scarthgap branch, as the master recipe for this package is in meta-openembedded.

---
 .../recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb  | 2 ++
 1 file changed, 2 insertions(+)
Quoted 8 lines

meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb HOMEPAGE = "https://github.com/madmaze/pytesseract" · line 9

Quoted 8 lines
meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb +1 -0
index 91350cd5..0f505f63 100644
@@ -7,6 +7,8 @@ HOMEPAGE = "https://github.com/madmaze/pytesseract"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+RDEPENDS:${PN}:append = "python3-packaging tesseract"

This can potentially mangle the existing RDEPENDS list...

Quoted 2 lines
Quoted 2 lines
meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb +0 -0
 SRC_URI[sha256sum] = "4bf5f880c99406f52a3cfc2633e42d9dc67615e69d8a509d74867d3baddb5db9"
 PYPI_PACKAGE = "pytesseract"