3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules
aszlig 49cf934642
pyocr: Add patch to support Tesseract 3.05.00
This is from the commit message I've written for the upstream pull
request (jflesch/pyocr#62):

    This is a bit more involved, because Tesseract 3.05.00 comes not
    only with improvements but also with a few quirks we need to deal
    with.

    The first quirk is that the order arguments of the `tesseract'
    command now matters and the list of configurations has to be at the
    end of the command line. So we add a new attribute tesseract_flags
    to the BaseBuilder class that contains a list of all the flags to
    pass to `tesseract', the tesseract_configs attribute however remains
    pretty much the same but now only really contains a list of configs
    instead of being mixed with flag arguments.

    Another quirk has to do with Leptonica >= 1.74 which Tesseract
    3.05.00 now requires. Leptonica has special handling of files that
    reside in /tmp and assumes that it's an internal temporary file of
    Leptonica. In order to deal with it, we now run Tesseract in a
    temporary directory, which contains the input/output files and use
    the relative name of these files because Leptonica only searches for
    path names beginning with /tmp.

    Fortunately the last item we need to address is not really a quirk,
    but an API change. In Tesseract 3.05.00 there is now a new function
    called TessBaseAPIDetectOrientationScript(), which doesn't fill the
    OSResults object anymore but now allows to pass the values we're
    interested in directly by reference. We need to use this new
    function because the old function TessBaseAPIDetectOS() now *always*
    returns false.

I've tested this specifically on NixOS and in conjunction with Paperwork
(the only package that's using pyocr so far) and all the tests of the
dependency chain are now succeeding. However, I didn't do manual tests
of Paperwork though.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2017-04-11 03:21:39 +02:00
..
aenum aenum: Init at 1.4.7 2017-02-15 10:25:37 +01:00
ansible ansible_2_2: windows support off by default 2017-02-11 14:14:07 +01:00
astroid astroid: 1.4.4 -> 1.4.9 2017-03-03 08:46:46 -05:00
async_timeout pythonPackages.async_timeout: init at 1.1.0 2016-12-11 20:07:24 +01:00
bap bap-python: init at 1.1.0 2017-04-04 13:11:06 -04:00
blivet blivet: Remove unneccesary patching 2016-11-24 14:13:26 +03:00
bootstrapped-pip pythonPackages.setuptools: 28.8.0 -> 30.2.0 2016-12-05 17:33:21 +01:00
box2d
breathe pythonPackages.breathe: disable for Python 3.x 2016-09-25 22:02:28 +02:00
btrees pythonPackages.BTrees: fix evaluation; builds fine 2017-03-24 22:01:55 +01:00
bugzilla
buildout-nix pythonPackages: zc.buildout-nix: 2.5.0 -> 2.5.3 2016-09-29 11:50:28 +03:00
cairocffi python27Packages.cairocffi: FIX test_scaled_font 2016-09-09 16:16:53 +02:00
cgkit pythonPackages.cgkit: init at 2.0.0 2016-04-06 15:31:04 +01:00
channels pythonPackages.channels: 1.0.2 -> 1.0.3 2017-02-23 11:00:07 +01:00
configparser pythonPackages.configparser: fix with namespace packages 2017-03-14 16:43:46 +01:00
daphne pythonPackages.daphne: 1.0.1 -> 1.0.3 2017-02-23 11:00:19 +01:00
dateutil pythonPackages.dateutil: 2.5.3 -> 2.6.0 2017-03-01 21:54:34 +01:00
dbus Python: replace mkPythonDerivation with buildPythonPackage and format="other"; 2017-03-21 13:01:49 +01:00
discordpy pythonPackages.discordpy: 0.16.0 -> 0.16.4 2017-01-21 18:10:10 +01:00
distutils-cfg
django pythonPackages.django_1_10: 1.10.6 -> 1.10.7 2017-04-06 14:41:28 +02:00
django-raster pythonPackages.django-raster: 0.3 -> 0.3.1 2017-03-10 12:51:02 +01:00
djangorestframework pythonPackages.djangorestframework: 3.2.3 -> 3.5.4 2017-02-27 11:07:17 +01:00
edward edward: init at 1.2.2 2017-03-09 21:13:11 -05:00
first pythonPackages.first: init at 2.0.1 2017-03-13 22:08:45 +01:00
flake8 flake8: add patch to avoind pytest config conflict 2016-09-30 14:12:49 +02:00
flake8-blind-except flake8-blind-except: init at 0.1.1 2017-02-21 10:05:16 +01:00
flake8-debugger flake8-debugger: init at 1.4.0 2017-02-21 10:05:16 +01:00
graph-tool graph-tool: 2.12 -> 2.16 (#14848) 2016-04-25 12:37:18 +02:00
gyp
h5py h5py: 2.5.0 -> 2.6.0 2016-08-28 11:42:21 +02:00
hieroglyph hieroglyph: init at 0.7.1 2017-03-06 00:10:59 +01:00
httpretty httpretty: working build for python3 2016-04-25 12:01:05 -05:00
incremental incremental: init 16.10.1 2017-02-09 10:08:32 -05:00
keras pythonPackages.Keras: 1.0.3 -> 1.2.2 2017-02-15 12:56:58 +01:00
koji Python: replace mkPythonDerivation with buildPythonPackage and format="other"; 2017-03-21 13:01:49 +01:00
leather leather: Init at 0.3.3 2017-02-15 10:24:53 +01:00
libais pythonPackages.libais: init at 0.16 2017-02-28 16:41:54 +01:00
libarcus python.pkgs.libarcus: init at 2.4.0 2017-03-01 02:23:18 +03:00
libasyncns pythonPackages.libasyncns: fix build with glibc-2.25 2017-02-26 21:28:07 +01:00
libgpuarray/cuda treewide: Use makeLibraryPath in 'patchelf --set-rpath' calls 2016-08-23 00:04:39 +03:00
libnacl pythonPackages.libnacl: enable tests 2017-03-19 20:59:17 +01:00
libsexy Python: replace mkPythonDerivation with buildPythonPackage and format="other"; 2017-03-21 13:01:49 +01:00
llvmlite pythonPackages.llvmlite: 0.14.0 -> 0.15.0 2017-02-14 09:23:59 +01:00
magic-wormhole pythonPackages.magic-wormhole: enable tests 2016-11-26 04:55:28 +01:00
matplotlib pythonPackages.matplotlib: re-add Cocoa as buildInput on darwin (#22741) 2017-02-13 15:03:59 +01:00
mezzanine pythonPackages.mezzanine: Fix template project 2016-10-31 16:38:45 +01:00
mpi4py
multidict pythonPackages.multidict: init at 2.1.4 2016-12-11 20:07:24 +01:00
numba pythonPackages.numba: 0.29.0 -> 0.30.1 2017-02-14 09:23:59 +01:00
pandas pandas: Mark broken in i686.See #23253. 2017-03-01 13:02:08 +00:00
pip-tools pip-tools: init at 1.8.1rc3 2017-03-13 22:21:57 +01:00
podcastparser pythonPackages.podcastparser: correct license 2017-03-21 17:12:48 +01:00
poezio poezio: 0.10 -> 0.11 2017-02-12 15:57:39 +01:00
pyatspi treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
pycairo pycairo: fix build with Python 3.6 2017-04-01 09:58:01 +02:00
pycangjie python pycangjie: add python.libPrefix 2015-12-11 11:28:31 +01:00
pycassa pythonPackages.pycassa: fix evaluation 2017-03-16 19:43:28 +00:00
pycdio
pycrypto pythonPackages.pycrypto: dummy depending on pycryptodome, closes #21671 2017-01-05 11:01:07 +01:00
pycryptodome pycryptodome: init at 3.4.3 2016-11-24 14:38:46 -08:00
pycuda pythonPackages.pycuda: 2016.1 -> 2016.1.2 2016-11-14 12:31:05 +01:00
pyexiv2 treewide: Add lots of platforms to packages with no meta 2016-08-02 21:17:44 +03:00
pyext pythonPackages.pyext: init at 0.7 2017-02-27 10:52:21 +01:00
pygame pygame: 1.9.1 -> 1.9.3 2017-03-17 07:35:35 +00:00
pyGithub PyGithub: init at 1.32 2017-03-16 00:59:56 +01:00
pygobject pythonPackages.pygobject2: fixup conversation to buildPythonPackage 2017-03-21 21:58:57 +01:00
pygtk pygtk: Add flag -ObjC for darwin 2017-01-07 17:35:09 +01:00
pygtksourceview Python: replace mkPythonDerivation with buildPythonPackage and format="other"; 2017-03-21 13:01:49 +01:00
pylibmc pylibmc: init at 1.5.1; patch by @risicle 2017-03-18 23:09:20 +01:00
pylint pylint: 1.5.4 -> 1.6.5 2017-03-03 08:37:42 -05:00
pyopencl opencl-icd: remove, point to ocl-icd 2017-01-20 03:37:51 +03:00
pyqt Python: replace mkPythonDerivation with buildPythonPackage and format="other"; 2017-03-21 13:01:49 +01:00
pyroute2 pyroute2: 0.4.12 -> 0.4.13 2017-02-19 09:58:13 +01:00
pyscard pythonPackages.pcsclite: refactor 2017-01-19 15:20:54 +01:00
pyside Python: replace mkPythonDerivation with buildPythonPackage and format="other"; 2017-03-21 13:01:49 +01:00
pytest pythonPackages.pytest_30: 3.0.5 -> 3.0.6 2017-01-24 22:13:40 +01:00
pytest-django pythonPackages.pytest-django: fix hash patch setuptools_scm 2017-03-19 10:14:43 +01:00
pytest-expect pythonPackages.pytest_expect: init at 1.1.0 2016-12-25 11:12:53 +01:00
python-jose pythonPackages.python-jose: init at 1.3.2 2017-03-16 00:59:56 +01:00
python-sql python-sql: init at 0.8 2017-02-20 23:02:04 +01:00
python-stdnum python-stdnum: init at 1.5 2017-02-21 10:05:16 +01:00
pywebdav PyWebDAV: init at 0.9.8 2017-02-21 10:05:16 +01:00
pyxml Python: replace mkPythonDerivation with buildPythonPackage and format="other"; 2017-03-21 13:01:49 +01:00
pyzufall PyZufall: init at 0.13.2 2017-02-22 22:59:42 +01:00
rainbowstream rainbowstream: 1.3.5 -> 1.3.6 2016-11-27 11:37:20 +09:00
recursive-pth-loader
reikna pythonPackages.reikna: init at 0.6.7 2016-11-14 12:31:05 +01:00
relatorio relatorio: init at 0.6.4 2017-02-20 23:03:04 +01:00
rhpl pythonPackages.rhpl: md5->sha256 2016-09-10 14:04:49 -04:00
scrapy Move scrapy to its own module and add patch to fix broken permission code. 2017-02-16 16:21:46 +00:00
setuptools pythonPackages.setuptools: 28.8.0 -> 30.2.0 2016-12-05 17:33:21 +01:00
simpleeval simpleeval: init at 0.9.5 2017-02-21 10:05:16 +01:00
sip treewide: purge maintainers.urkud 2017-03-27 19:52:29 +02:00
snakeviz pythonPackages.snakeviz: init at 0.4.1 2017-02-22 08:14:53 -05:00
stringtemplate pystringtemplate -> pythonPackages.pystringtemplate 2016-09-25 22:41:26 +02:00
tables pytables: 3.2.2 -> 3.3.0 2017-03-15 12:28:18 +00:00
taskw
tensorflow tensorflow: depend on cudatoolkit 8 and cudnn 5.1 2017-02-27 15:23:23 +01:00
Theano pythonPackages.Theano: move and rename variants 2016-11-30 10:04:54 +01:00
treq treq: init 16.12.1 2017-02-09 10:10:51 -05:00
twill treewide: fix evaluation 2017-01-19 16:50:42 +01:00
typed-ast pythonPackages.typed-ast: 1.0.1 -> 1.0.2 2017-03-14 16:52:25 +01:00
u-msgpack-python pythonPackages.u-msgpack-python: use python.interpreter 2016-12-25 16:17:33 +01:00
uranium python.pkgs.uranium: init at 2.4.0 2017-03-01 02:23:18 +03:00
vowpalwabbit vowpalwabbit: init at 8.3.2 2017-02-22 07:28:52 +01:00
webencodings pythonPackages.webencodings: init at 0.5 2016-12-25 11:12:53 +01:00
websockets pythonPackages.websockets: init at 3.2 2016-12-14 19:10:14 +01:00
wxPython wxPython: fix on darwin 2017-02-16 18:48:08 -05:00
xlwt pythonPackages.xlwt: fix patch hash 2016-12-25 16:37:51 +01:00
xmpppy Fix evaluation (xmpppy: use correct 'licenses' attr) 2017-01-19 20:12:21 +01:00
yarl pythonPackages.yarl: init at 0.8.1 2016-12-11 20:07:24 +01:00
yenc pythonPackages.yenc: init at 0.4.0 2017-01-11 18:12:32 +01:00
yolk Python: use PyPI mirror (#15001) 2016-04-26 13:38:03 +01:00
zeep pythonPackages.zeep: init at 1.1.0 2017-03-17 18:40:00 +00:00
bcrypt.nix pythonPackages.bcrypt: 3.1.0 -> 3.1.2 2017-01-18 18:26:26 +01:00
django_guardian.nix pythonPackages.django_guardian: fix eval 2017-03-16 17:20:08 +01:00
docker.nix pythonPackages.docker: 1.10.6 -> 2.0.2 2017-01-27 12:38:05 +01:00
docker_compose.nix docker_compose: Remove upper bound version limitations 2017-02-05 18:39:30 +01:00
ds4drv.nix pythonPackages.ds4drv: 0.5.0 -> 0.5.1 2017-03-11 15:25:32 +01:00
dulwich.nix pythonPackages.dulwich: 0.14.0 -> 0.14.1 2017-01-18 18:26:28 +01:00
fedpkg-buildfix.diff
fix_swiftclient_mocking.patch
flask-elastic.nix pythonPackages.flask_elastic: init at 0.2 2017-01-18 18:26:29 +01:00
flask-ldap-login.nix pythonPackages.flask-ldap-login: init at 0.3.0 2017-01-18 18:26:30 +01:00
flask-login.nix pythonPackages.flask_login: enable python3 tests 2017-01-18 18:26:29 +01:00
flask-oauthlib.nix pythonPackages.flask_oauthlib: init at 0.9.3 2017-01-18 18:26:30 +01:00
flask-testing.nix pythonPackages.flask_testing: init at 0.6.1 2017-01-18 18:26:31 +01:00
flask-wtf.nix treewide: fix evaluation 2017-01-19 16:50:42 +01:00
ghdiff.nix treewide: fix evaluation 2017-01-19 16:50:42 +01:00
gunicorn.nix pythonPackages.gunicorn: 19.1.0 -> 19.3.0 2017-01-18 18:26:28 +01:00
hypothesis.nix hypothesis: disabled for Python 3.3 2017-03-14 10:49:39 +01:00
jabberbot.nix python27Packages.jabberbot: init at 0.16 2017-01-19 19:10:23 +01:00
ldap.nix pythonPackages.ldap: 2.4.19 -> 2.4.22 2017-01-18 18:26:27 +01:00
markdown2.nix pythonPackages.markdown2: 2.3.0 -> 2.3.1 2017-01-18 18:26:28 +01:00
mnemonic.nix pythonPackages.mnemonic: 0.12 -> 0.17 2017-03-11 19:26:27 +01:00
netcdf4.nix pythonPackages.netcdf4: 1.2.4 -> 1.2.7 2017-02-01 14:04:57 +01:00
nltk.nix nltk: init at 3.2.2 2017-03-09 12:46:34 +00:00
numpy-distutils-C++.patch python: add C++ compiler support for distutils 2016-10-17 11:23:13 -04:00
numpy.nix pythonPackages.numpy: 1.11.2 -> 1.11.3 2016-12-24 12:07:33 +01:00
pelican-fix-tests-with-pygments-2.1.patch pythonPackages.pelican: fix tests with Pygments 2.1 2016-01-24 19:43:54 +01:00
pep257.nix pythonPackages.pep257: meta.lecense -> license 2017-03-10 20:39:03 +01:00
protobuf.nix pythonPackages.protobuf: add pyext dependency 2017-02-27 10:52:21 +01:00
pyacoustid-py3.patch
pyaes.nix pythonPackages.pyaes: init at 1.6.0 2017-03-11 19:26:29 +01:00
pyhepmc_export_edges.patch pythonPackages.pyhepmc: init at 0.5.0 2017-03-01 22:53:40 -05:00
pyhepmc_export_flow.patch pythonPackages.pyhepmc: init at 0.5.0 2017-03-01 22:53:40 -05:00
pyocr-tesseract.patch pyocr: Add patch to support Tesseract 3.05.00 2017-04-11 03:21:39 +02:00
pypoppler-0.39.0.patch pythonPackages.pypoppler: init at 0.12.2 2016-10-01 11:10:02 +02:00
pypoppler-poppler.c.patch pythonPackages.pypoppler: init at 0.12.2 2016-10-01 11:10:02 +02:00
pyrax.nix pythonPackges.pyrax: enable tests 2017-03-09 11:01:58 +01:00
pytest-pep257.nix pythonPackages.pytest-pep257: 0.0.1 -> 0.0.5 2017-02-01 15:11:45 +01:00
pytestdjango.nix pythonPackages.pytest-django: unpin setuptools_scm 2017-03-16 12:40:43 +01:00
pyudev.nix pythonPackages.pyudev: fix package 2017-03-29 08:33:53 +02:00
pyuv-external-libuv.patch pyuv: 0.11.5 -> 1.2.0 2016-04-27 12:25:22 +02:00
rackspace-novaclient.nix rackspace-novaclient: init at 2.1 2017-03-09 09:22:45 +00:00
requests-oauthlib.nix pythonPackages.requests_oauthlib: 0.4.1 -> 0.7.0 2017-01-18 18:26:27 +01:00
rpkg-buildfix.diff
scipy.nix pythonPackages.scipy: 0.17.1 -> 0.18.0 2016-07-29 17:22:20 +02:00
sqlalchemy-0.7.10-test-failures.patch
suds-0.4-CVE-2013-2217.patch
tarsnapper-path.patch
testtools_support_unittest2.patch
trezor.nix pythonPackages.trezor: 0.7.4 -> 0.7.12 2017-03-11 19:26:22 +01:00
virtualenv-change-prefix.patch