pyocr: 0.4.4 -> 0.4.6

Upstream changes for version 0.4.5:

 * Clean up exceptions raised when OCR fails:
 * Now, all tools raise only exceptions inheriting from
   pyocr.PyocrException
 * There is now one and only one TesseractError (shared between
   pyocr.libtesseract and pyocr.tesseract)

Upstream changes for version 0.4.6:

 * hOCR outputs: Generate valid XHTML files

The full upstream changelog can be found at:

https://github.com/jflesch/pyocr/blob/master/ChangeLog

Note that because of the version bump of Tesseract neither version 0.4.4
nor version 0.4.6 succeed to build, so we need to fix this up soon.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2017-04-09 23:14:01 +02:00
parent c381fa9b63
commit 121751e10f
No known key found for this signature in database
GPG key ID: 1DE8E48E57DB5436

View file

@ -20873,14 +20873,14 @@ in {
pyocr = buildPythonPackage rec {
name = "pyocr-${version}";
version = "0.4.4";
version = "0.4.6";
# Don't fetch from PYPI because it doesn't contain tests.
src = pkgs.fetchFromGitHub {
owner = "jflesch";
repo = "pyocr";
rev = version;
sha256 = "09s7dxin8ams0f3xab60f45l3nn236a8win9yfyq9aqy9mm946ak";
sha256 = "0amyhkkm400qzbw65ivyzrzxl2r7vxqgsgqm7ml95m7gwkwhnzz0";
};
postPatch = ''