Port details |
- py-pyocr Python wrapper for OCR engines (Tesseract, Cuneiform, etc)
- 0.8.5 graphics
=2 0.8.5Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2018-07-28 18:36:30
- Last Update: 2024-04-28 17:53:56
- Commit Hash: 51ccb85
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: GPLv3
- WWW:
- https://gitlab.gnome.org/World/OpenPaperwork/pyocr
- Description:
- PyOCR is an optical character recognition (OCR) tool wrapper for python. That
is, it helps using various OCR tools from a Python program.
It has been tested only on GNU/Linux systems. It should also work on similar
systems (*BSD, etc). It may or may not work on Windows, MacOSX, etc.
Supported OCR tools:
* Libtesseract (Python bindings for the C API)
* Tesseract (wrapper: fork + exec)
* Cuneiform (wrapper: fork + exec)
Features:
* Supports all the image formats supported by Pillow, including jpeg, png, gif,
bmp, tiff and others
* Various output types: text only, bounding boxes, etc.
* Orientation detection (Tesseract and libtesseract only)
* Can focus on digits only (Tesseract and libtesseract only)
* Can save and reload boxes in hOCR format
* PDF generation (libtesseract only)
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pyocr>0:graphics/py-pyocr@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/graphics/py-pyocr/ && make install clean
- To add the package, run one of these commands:
- pkg install graphics/py-pyocr
- pkg install py39-pyocr
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-pyocr listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-pyocr
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1714323673
SHA256 (pyocr-0.8.5.tar.gz) = eff33d95032426a92640e56fa0d71b496ee531c1d341a15cc610610a7c5eac55
SIZE (pyocr-0.8.5.tar.gz) = 71843
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>0 : devel/py-setuptools@py39
- py39-setuptools-scm>0 : devel/py-setuptools-scm@py39
- py39-setuptools_scm_git_archive>0 : devel/py-setuptools_scm_git_archive@py39
- py39-wheel>0 : devel/py-wheel@py39
- gmake>=4.4.1 : devel/gmake
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-pillow>=7.0.0 : graphics/py-pillow@py39
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- deskutils/py-paperless
- for Run
-
- deskutils/py-paperless
- math/py-mathics
Configuration Options:
- No options to configure
- Options name:
- graphics_py-pyocr
- USES:
- gmake python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.8.5 28 Apr 2024 17:53:56
    |
Yuri Victorovich (yuri)  |
graphics/py-pyocr: update 0.8.4 → 0.8.5
Reported by: portscout |
0.8.4 29 Feb 2024 07:18:32
    |
Charlie Li (vishwin)  |
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288 |
0.8.4 17 Sep 2023 08:14:37
    |
Yuri Victorovich (yuri)  |
graphics/py-pyocr: update 0.8.3 → 0.8.4
Reported by: portscout |
0.8.3 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.8.3 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.8.3 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.8.3 29 Jul 2022 08:46:44
    |
Yuri Victorovich (yuri)  |
graphics/py-pyocr: Update 0.8 -> 0.8.3 |
0.8 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.8 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.8 03 Jan 2021 05:30:06
  |
yuri  |
graphics/py-pyocr: Update 0.7.2 -> 0.8
Reported by: portscout |
0.7.2 24 Mar 2020 19:54:57
  |
antoine  |
Convert the tree to use PY_PILLOW
With hat: portmgr
Originally submitted by: kai |
0.7.2 27 Jul 2019 07:13:42
  |
yuri  |
graphics/py-pyocr: Update 0.7 -> 0.7.2
Reported by: repology |
0.7 12 May 2019 17:45:40
  |
yuri  |
graphics/py-pyocr: Update 0.6 -> 0.7
Reported by: portscout |
0.6 11 May 2019 18:02:22
  |
yuri  |
graphics/py-pyocr: Update 0.5.3 -> 0.6 |
0.5.3 06 Sep 2018 00:37:26
  |
yuri  |
graphics/py-pyocr: Update 0.5.2 -> 0.5.3
Reported by: portscout |
0.5.2 28 Jul 2018 18:36:17
  |
yuri  |
New port: graphics/py-pyocr: Python wrapper for OCR engines (Tesseract,
Cuneiform, etc) |