ocrmypdf: relax pdfminer version requirements

This commit is contained in:
Austin Butler 2022-03-23 10:21:23 -07:00
parent 7076d82805
commit 5d10edd260

View file

@ -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"
]; ];