From nobody Sun Nov 7 10:05:03 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B21101854248; Sun, 7 Nov 2021 10:05:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hn8xW4FNxz4RlD; Sun, 7 Nov 2021 10:05:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6E0891C2F8; Sun, 7 Nov 2021 10:05:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A7A53hJ022530; Sun, 7 Nov 2021 10:05:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A7A53Rn022529; Sun, 7 Nov 2021 10:05:03 GMT (envelope-from git) Date: Sun, 7 Nov 2021 10:05:03 GMT Message-Id: <202111071005.1A7A53Rn022529@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 4ae910239acd - main - textproc/py-ocrmypdf: Update to 12.7.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4ae910239acd614b4407f9bdd313998dd2fa30b3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=4ae910239acd614b4407f9bdd313998dd2fa30b3 commit 4ae910239acd614b4407f9bdd313998dd2fa30b3 Author: Kai Knoblich AuthorDate: 2021-11-07 10:03:57 +0000 Commit: Kai Knoblich 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 + +.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 +.include 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