ocrmypdf: relax pdfminer version requirements
This commit is contained in:
parent
7076d82805
commit
5d10edd260
1 changed files with 6 additions and 0 deletions
|
@ -80,6 +80,12 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# https://github.com/ocrmypdf/OCRmyPDF/issues/933
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "pdfminer.six!=20200720,>=20191110,<=20211012" "pdfminer.six!=20200720,>=20191110,<=20220319"
|
||||||
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"ocrmypdf"
|
"ocrmypdf"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue