Message ID | 20250128205901.57080-1-a-christidis@ti.com |
---|---|
State | Accepted |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | [meta-arago,scarthgap/master,v2] meta-arago-test: Add recipe for pytesseract | expand |
On Tue, Jan 28, 2025 at 02:59:01PM -0600, Antonios Christidis via lists.yoctoproject.org wrote: > From: Antonios Christidis <a-christidis@ti.com> > > Recipe builds the python module pytessereact, version 0.3.13. > > The module is a wrapper for Google's Tesseract-OCR engine. > > Signed-off-by: Antonios Christidis <a-christidis@ti.com> Thank you for a quick turnaround. Probably not critical here, but in the future it is also recommended to briefly summarize the changes berween v1 and v2 of the patches right below the --- line: > --- Here, you mention what were the changes between v1 and v2, e.g.: v2: - fixed SUMMARY/DESCRIPTION usage for short/long recipe descriptions - used sha256sum instead of deprecated md5sum > .../python3-pytesseract/pytesseract_0.3.13.bb | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb > > diff --git 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 > new file mode 100644 > index 00000000..f63e9fd9 > --- /dev/null > +++ b/meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb > @@ -0,0 +1,16 @@ > +SUMMARY = "Python-tesseract is a python wrapper for Google's Tesseract" > + > +DESCRIPTION = "Python-tesseract is an optical character recognition (OCR) tool for python. That is, it will recognize and "read" the text embedded in images." > + > +HOMEPAGE = "https://github.com/madmaze/pytesseract" > + > +LICENSE = "Apache-2.0" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" > + > +SRC_URI[sha256sum] = "4bf5f880c99406f52a3cfc2633e42d9dc67615e69d8a509d74867d3baddb5db9" > + > +PYPI_PACKAGE = "pytesseract" > + > +inherit pypi setuptools3 > + > +BBCLASSEXTEND = "native" > -- > 2.34.1
It looks like there is already a version of pytesseract 0.3.13 available in meta-openembedded on master. https://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-extended/python-pytesseract Can I drop this patch from master and just carry it on scarthgap? On 1/28/2025 2:59 PM, Antonios Christidis via lists.yoctoproject.org wrote: > From: Antonios Christidis <a-christidis@ti.com> > > Recipe builds the python module pytessereact, version 0.3.13. > > The module is a wrapper for Google's Tesseract-OCR engine. > > Signed-off-by: Antonios Christidis <a-christidis@ti.com> > --- > .../python3-pytesseract/pytesseract_0.3.13.bb | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb > > diff --git 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 > new file mode 100644 > index 00000000..f63e9fd9 > --- /dev/null > +++ b/meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb > @@ -0,0 +1,16 @@ > +SUMMARY = "Python-tesseract is a python wrapper for Google's Tesseract" > + > +DESCRIPTION = "Python-tesseract is an optical character recognition (OCR) tool for python. That is, it will recognize and "read" the text embedded in images." > + > +HOMEPAGE = "https://github.com/madmaze/pytesseract" > + > +LICENSE = "Apache-2.0" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" > + > +SRC_URI[sha256sum] = "4bf5f880c99406f52a3cfc2633e42d9dc67615e69d8a509d74867d3baddb5db9" > + > +PYPI_PACKAGE = "pytesseract" > + > +inherit pypi setuptools3 > + > +BBCLASSEXTEND = "native"
diff --git 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 new file mode 100644 index 00000000..f63e9fd9 --- /dev/null +++ b/meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb @@ -0,0 +1,16 @@ +SUMMARY = "Python-tesseract is a python wrapper for Google's Tesseract" + +DESCRIPTION = "Python-tesseract is an optical character recognition (OCR) tool for python. That is, it will recognize and "read" the text embedded in images." + +HOMEPAGE = "https://github.com/madmaze/pytesseract" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI[sha256sum] = "4bf5f880c99406f52a3cfc2633e42d9dc67615e69d8a509d74867d3baddb5db9" + +PYPI_PACKAGE = "pytesseract" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native"