Message ID | 20250127170059.1525548-1-a-christidis@ti.com |
---|---|
State | Superseded |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | [scarthgap/master] meta-arago-test: Add recipe for pytesseract | expand |
On Mon, Jan 27, 2025 at 11:00:59AM -0600, a-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 | 14 ++++++++++++++ > 1 file changed, 14 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..ff2814f8 > --- /dev/null > +++ b/meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb > @@ -0,0 +1,14 @@ > +SUMMARY = "Python-tesseract is an optical character recognition (OCR) tool for python. That is, it will recognize and "read" the text embedded in images." https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-ref-variables.html#term-SUMMARY SUMMARY - A short summary for the recipe, which is 72 characters or less. https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-ref-variables.html#term-DESCRIPTION DESCRIPTION - A long description for the recipe. > + > +HOMEPAGE = "https://github.com/madmaze/pytesseract" > + > +LICENSE = "Apache-2.0" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" > + > +SRC_URI[md5sum] = "73f9645e59b437f064d05882b95832ce" We are moving away from MD5-only hashes. Either provide both MD5 and SHA-256, or only SHA-256 is also allowed. > + > +PYPI_PACKAGE = "pytesseract" > + > +inherit pypi setuptools3 > + > +BBCLASSEXTEND = "native" > -- > 2.34.1
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..ff2814f8 --- /dev/null +++ b/meta-arago-test/recipes-graphics/python3-pytesseract/pytesseract_0.3.13.bb @@ -0,0 +1,14 @@ +SUMMARY = "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[md5sum] = "73f9645e59b437f064d05882b95832ce" + +PYPI_PACKAGE = "pytesseract" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native"