aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2022-10-22 17:26:59 +0000
committerKai Knoblich <kai@FreeBSD.org>2022-10-22 17:26:59 +0000
commit96b0bf14075f83df424fb862141aff00837a79a8 (patch)
tree4ea711c2091e83d9530d9de1e74f37c818416606 /textproc
parent76d822d633c91164fa940d39abc78e405b2c867d (diff)
downloadports-96b0bf14075f83df424fb862141aff00837a79a8.tar.gz
ports-96b0bf14075f83df424fb862141aff00837a79a8.zip
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-ocrmypdf/Makefile13
-rw-r--r--textproc/py-ocrmypdf/distinfo6
2 files changed, 15 insertions, 4 deletions
diff --git a/textproc/py-ocrmypdf/Makefile b/textproc/py-ocrmypdf/Makefile
index 5b2c8b92ecc2..f9a030caa0cd 100644
--- a/textproc/py-ocrmypdf/Makefile
+++ b/textproc/py-ocrmypdf/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ocrmypdf
-DISTVERSION= 13.6.0
+DISTVERSION= 13.7.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -58,6 +58,17 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4:devel/py-importlib-me
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=5:devel/py-importlib-resources@${PY_FLAVOR}
.endif
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+# The "pyproject.toml" wants devel/py-setuptools_scm >= 7.0.5 which isn't in
+# the Ports tree, yet. Although py-ocrmypdf builds fine as the "setup.cfg" is
+# used during build instead the "pyproject.toml" move the latter one out of the
+# way to prevent surprises.
+post-extract:
+ @${MV} ${WRKSRC}/pyproject.toml ${WRKSRC}/pyproject.toml.dist
+
post-install:
# Install shell completion files
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/
diff --git a/textproc/py-ocrmypdf/distinfo b/textproc/py-ocrmypdf/distinfo
index a53100744d4a..33eede6cf05b 100644
--- a/textproc/py-ocrmypdf/distinfo
+++ b/textproc/py-ocrmypdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657358024
-SHA256 (ocrmypdf-13.6.0.tar.gz) = ed2ad72ef796770c38edf5eb43392c6d166eb8959ad14a19ea0350c510b9c121
-SIZE (ocrmypdf-13.6.0.tar.gz) = 7904404
+TIMESTAMP = 1665938750
+SHA256 (ocrmypdf-13.7.0.tar.gz) = 45fa226f6753f6e0be1e6304d3363a6d8047bb4cb0cf0d25728c3b9c9a0bff40
+SIZE (ocrmypdf-13.7.0.tar.gz) = 7911229