git: d17857267da7 - main - textproc/py-ocrmypdf: Update to 13.4.1

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Mon, 21 Mar 2022 16:45:07 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d17857267da72b22ed4a3d5d58850c98abe86158

commit d17857267da72b22ed4a3d5d58850c98abe86158
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-03-21 16:42:47 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-03-21 16:42:47 +0000

    textproc/py-ocrmypdf: Update to 13.4.1
    
    Changelog since 12.7.2:
    
    https://github.com/ocrmypdf/OCRmyPDF/blob/v13.4.1/docs/release_notes.rst
    
    MFH:            No (feature release)
---
 textproc/py-ocrmypdf/Makefile | 18 ++++++++----------
 textproc/py-ocrmypdf/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/textproc/py-ocrmypdf/Makefile b/textproc/py-ocrmypdf/Makefile
index b0d355f17b72..870f5525fd74 100644
--- a/textproc/py-ocrmypdf/Makefile
+++ b/textproc/py-ocrmypdf/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	ocrmypdf
-DISTVERSION=	12.7.2
+DISTVERSION=	13.4.1
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -9,32 +9,30 @@ COMMENT=	Adds an OCR text layer to scanned PDF files
 
 LICENSE=	MPL20
 LICENSE_FILE=	${WRKSRC}/LICENSE
+install_requires =
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.9.1:devel/py-cffi@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR}
-LIB_DEPENDS=	liblept.so:graphics/leptonica
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.9.1:devel/py-cffi@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}coloredlogs>=14.0:devel/py-coloredlogs@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coloredlogs>=14.0:devel/py-coloredlogs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}img2pdf>=0.3.0<0.5:graphics/py-img2pdf@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${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<20211013:textproc/py-pdfminer.six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pikepdf>=2.10.0:textproc/py-pikepdf@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pikepdf>=4.0.0:textproc/py-pikepdf@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pluggy>=0.13.0<2.0:devel/py-pluggy@${PY_FLAVOR} \
 		tesseract:graphics/tesseract
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=4.4.1:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.31.0:devel/py-pytest-xdist@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-xdist>=2.2.0:devel/py-pytest-xdist@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-xmp-toolkit>=2.0.1:textproc/py-python-xmp-toolkit@${PY_FLAVOR}
 
-USES=		ghostscript:run python:3.6+ shebangfix
+USES=		ghostscript:run python:3.7+ shebangfix
 USE_LOCALE=	en_US.UTF-8
 USE_PYTHON=	autoplist concurrent distutils
 
 SHEBANG_FILES=	src/ocrmypdf/__main__.py \
 		src/ocrmypdf/hocrtransform.py \
-	       	src/ocrmypdf/leptonica.py \
 		src/ocrmypdf/pdfinfo/__init__.py
 
 NO_ARCH=	yes
diff --git a/textproc/py-ocrmypdf/distinfo b/textproc/py-ocrmypdf/distinfo
index b72e71ccb622..a5a75be09d60 100644
--- a/textproc/py-ocrmypdf/distinfo
+++ b/textproc/py-ocrmypdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1636221877
-SHA256 (ocrmypdf-12.7.2.tar.gz) = e8ccf43d28c8d328409ac0a2d1ad0c9f0c7af3074f55e5d150080e15d77858e2
-SIZE (ocrmypdf-12.7.2.tar.gz) = 7892772
+TIMESTAMP = 1647792549
+SHA256 (ocrmypdf-13.4.1.tar.gz) = 201ed2f589f851be73908fce35fbb6fb05e4739289d3cd8765f9519f49ea1cd9
+SIZE (ocrmypdf-13.4.1.tar.gz) = 7898297