diff options
Diffstat (limited to 'textproc/py-pdfminer.six/files')
-rw-r--r-- | textproc/py-pdfminer.six/files/patch-tools_dumppdf.py | 14 | ||||
-rw-r--r-- | textproc/py-pdfminer.six/files/patch-tools_pdf2txt.py | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/textproc/py-pdfminer.six/files/patch-tools_dumppdf.py b/textproc/py-pdfminer.six/files/patch-tools_dumppdf.py new file mode 100644 index 000000000000..be2418db37c8 --- /dev/null +++ b/textproc/py-pdfminer.six/files/patch-tools_dumppdf.py @@ -0,0 +1,14 @@ +Fix CLI usability, see also https://github.com/pdfminer/pdfminer.six/issues/405 + +Obtained from: + +https://github.com/pdfminer/pdfminer.six/pull/421/commits/0c2f44b6de064d9a3cea99bde5b8e9c6a525a69c + +--- tools/dumppdf.py.orig 2020-06-12 21:01:43 UTC ++++ tools/dumppdf.py +@@ -1,3 +1,5 @@ ++#!/usr/bin/env python ++ + """Extract pdf structure in XML format""" + import logging + import os.path diff --git a/textproc/py-pdfminer.six/files/patch-tools_pdf2txt.py b/textproc/py-pdfminer.six/files/patch-tools_pdf2txt.py new file mode 100644 index 000000000000..30a5d41432ea --- /dev/null +++ b/textproc/py-pdfminer.six/files/patch-tools_pdf2txt.py @@ -0,0 +1,14 @@ +Fix CLI usability, see also https://github.com/pdfminer/pdfminer.six/issues/405 + +Obtained from: + +https://github.com/pdfminer/pdfminer.six/pull/421/commits/0c2f44b6de064d9a3cea99bde5b8e9c6a525a69c + +--- tools/pdf2txt.py.orig 2019-11-10 11:59:55 UTC ++++ tools/pdf2txt.py +@@ -1,3 +1,5 @@ ++#!/usr/bin/env python ++ + """A command line tool for extracting text and images from PDF and output it to plain text, html, xml or tags.""" + import argparse + import logging |