From owner-dev-commits-ports-all@freebsd.org Sat May 22 11:04:20 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0FE7964AD70; Sat, 22 May 2021 11:04:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FnLFv61STz4r4q; Sat, 22 May 2021 11:04:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AB09C2333F; Sat, 22 May 2021 11:04:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14MB4JWv019149; Sat, 22 May 2021 11:04:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14MB4JQT019146; Sat, 22 May 2021 11:04:19 GMT (envelope-from git) Date: Sat, 22 May 2021 11:04:19 GMT Message-Id: <202105221104.14MB4JQT019146@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Andree Subject: git: 4032ee734731 - main - graphics/py-pytesseract: NEW wrapper for tesseract MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mandree X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4032ee7347316232dd682310b7d9533a520a35d7 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2021 11:04:20 -0000 The branch main has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=4032ee7347316232dd682310b7d9533a520a35d7 commit 4032ee7347316232dd682310b7d9533a520a35d7 Author: Matthias Andree AuthorDate: 2021-05-22 10:52:03 +0000 Commit: Matthias Andree CommitDate: 2021-05-22 11:04:08 +0000 graphics/py-pytesseract: NEW wrapper for tesseract Python-tesseract is an optical character recognition (OCR) tool for python. That is, it will recognize and “read” the text embedded in images. Python-tesseract is a wrapper for Google’s Tesseract-OCR Engine. It is also useful as a stand-alone invocation script to tesseract, as it can read all image types supported by the Pillow and Leptonica imaging libraries, including jpeg, png, gif, bmp, tiff, and others. Additionally, if used as a script, Python-tesseract will print the recognized text instead of writing it to a file. --- graphics/py-pytesseract/Makefile | 21 +++++++++++++++++++++ graphics/py-pytesseract/distinfo | 3 +++ graphics/py-pytesseract/pkg-descr | 11 +++++++++++ 3 files changed, 35 insertions(+) diff --git a/graphics/py-pytesseract/Makefile b/graphics/py-pytesseract/Makefile new file mode 100644 index 000000000000..ade2595f0a60 --- /dev/null +++ b/graphics/py-pytesseract/Makefile @@ -0,0 +1,21 @@ +PORTNAME= pytesseract +PORTVERSION= 0.3.7 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= mandree@FreeBSD.org +COMMENT= wrapper for Google's Tesseract OCR engine + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= tesseract:graphics/tesseract + +USES= localbase python:3.4+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/graphics/py-pytesseract/distinfo b/graphics/py-pytesseract/distinfo new file mode 100644 index 000000000000..89b8c53ece6e --- /dev/null +++ b/graphics/py-pytesseract/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1621679287 +SHA256 (pytesseract-0.3.7.tar.gz) = 4ecfc898d00a70fcc38d2bce729de1597c67e7bc5d2fa26094714c9f5b573645 +SIZE (pytesseract-0.3.7.tar.gz) = 13715 diff --git a/graphics/py-pytesseract/pkg-descr b/graphics/py-pytesseract/pkg-descr new file mode 100644 index 000000000000..dcc091b3b990 --- /dev/null +++ b/graphics/py-pytesseract/pkg-descr @@ -0,0 +1,11 @@ +Python-tesseract is an optical character recognition (OCR) tool for python. +That is, it will recognize and “read” the text embedded in images. + +Python-tesseract is a wrapper for Google’s Tesseract-OCR Engine. It is also +useful as a stand-alone invocation script to tesseract, as it can read all +image types supported by the Pillow and Leptonica imaging libraries, including +jpeg, png, gif, bmp, tiff, and others. Additionally, if used as a script, +Python-tesseract will print the recognized text instead of writing it to a +file. + +WWW: https://github.com/madmaze/pytesseract