Date: Sun, 7 Nov 2021 10:05:03 GMT From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 4ae910239acd - main - textproc/py-ocrmypdf: Update to 12.7.2 Message-ID: <202111071005.1A7A53Rn022529@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=4ae910239acd614b4407f9bdd313998dd2fa30b3 commit 4ae910239acd614b4407f9bdd313998dd2fa30b3 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2021-11-07 10:03:57 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2021-11-07 10:03:57 +0000 textproc/py-ocrmypdf: Update to 12.7.2 Changelog since 12.4.0: https://github.com/jbarlow83/OCRmyPDF/blob/v12.7.2/docs/release_notes.rst --- textproc/py-ocrmypdf/Makefile | 17 ++++++++++++++--- textproc/py-ocrmypdf/distinfo | 6 +++--- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/textproc/py-ocrmypdf/Makefile b/textproc/py-ocrmypdf/Makefile index 368ff7e7f0cc..b0d355f17b72 100644 --- a/textproc/py-ocrmypdf/Makefile +++ b/textproc/py-ocrmypdf/Makefile @@ -1,5 +1,5 @@ PORTNAME= ocrmypdf -DISTVERSION= 12.4.0 +DISTVERSION= 12.7.2 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.9.1:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=8.2.0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4:misc/py-tqdm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}reportlab>=3.5.66:print/py-reportlab@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pdfminer.six>=20191110<20201019:textproc/py-pdfminer.six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pdfminer.six>=20191110<20211013:textproc/py-pdfminer.six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pikepdf>=2.10.0:textproc/py-pikepdf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pluggy>=0.13.0<2.0:devel/py-pluggy@${PY_FLAVOR} \ tesseract:graphics/tesseract @@ -50,6 +50,16 @@ UNPAPER_DESC= Deskew and clean up pages before OCR processing PNGQUANT_RUN_DEPENDS= pngquant:graphics/pngquant UNPAPER_RUN_DEPENDS= unpaper:graphics/unpaper +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 30900 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=5:devel/py-importlib-resources@${PY_FLAVOR} +.endif + post-install: # Install shell completion files @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/ @@ -62,6 +72,7 @@ do-test: -n ${MAKE_JOBS_NUMBER} -k ' \ not test_dev_null \ and not test_input_file_not_readable \ + and not test_outputtype_none \ and not test_chmod' -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/textproc/py-ocrmypdf/distinfo b/textproc/py-ocrmypdf/distinfo index 722775439583..b72e71ccb622 100644 --- a/textproc/py-ocrmypdf/distinfo +++ b/textproc/py-ocrmypdf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1630533360 -SHA256 (ocrmypdf-12.4.0.tar.gz) = 94c1bbc93a93493388930bbc6ede131ea3a17c30476033d99162647c0dc874f6 -SIZE (ocrmypdf-12.4.0.tar.gz) = 7879049 +TIMESTAMP = 1636221877 +SHA256 (ocrmypdf-12.7.2.tar.gz) = e8ccf43d28c8d328409ac0a2d1ad0c9f0c7af3074f55e5d150080e15d77858e2 +SIZE (ocrmypdf-12.7.2.tar.gz) = 7892772
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111071005.1A7A53Rn022529>