aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2019-09-11 04:10:53 +0800
committerKai Knoblich <kai@FreeBSD.org>2019-09-11 04:10:53 +0800
commit2513b126adfdfc2c13d2557807f6ca6c8f40fe0b (patch)
tree54acf8396a316bb3a2bb13975428169616e49ffe /textproc
parentb1242228d18a5315e074ae238a99430a813d665f (diff)
downloadfreebsd-ports-gnome-2513b126adfdfc2c13d2557807f6ca6c8f40fe0b.tar.gz
freebsd-ports-gnome-2513b126adfdfc2c13d2557807f6ca6c8f40fe0b.tar.zst
freebsd-ports-gnome-2513b126adfdfc2c13d2557807f6ca6c8f40fe0b.zip
textproc/py-ocrmypdf: Update to 9.0.3
* Introduce new default option UNPAPER after graphics/unpaper was updated to a more recent version in r511568. Changelog: https://github.com/jbarlow83/OCRmyPDF/blob/v9.0.3/docs/release_notes.rst
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-ocrmypdf/Makefile8
-rw-r--r--textproc/py-ocrmypdf/distinfo6
2 files changed, 8 insertions, 6 deletions
diff --git a/textproc/py-ocrmypdf/Makefile b/textproc/py-ocrmypdf/Makefile
index deef9938d5b5..a65d1bdb2882 100644
--- a/textproc/py-ocrmypdf/Makefile
+++ b/textproc/py-ocrmypdf/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ocrmypdf
-DISTVERSION= 9.0.2
+DISTVERSION= 9.0.3
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -57,12 +57,14 @@ NO_ARCH= yes
PLIST_FILES= etc/bash_completion.d/ocrmypdf.bash share/fish/vendor_completions.d/ocrmypdf.fish
-OPTIONS_DEFINE= PNGQUANT
-OPTIONS_DEFAULT=PNGQUANT
+OPTIONS_DEFINE= PNGQUANT UNPAPER
+OPTIONS_DEFAULT=PNGQUANT UNPAPER
PNGQUANT_DESC= Optimizes the encoding of PNG-style images in PDFs
+UNPAPER_DESC= Deskew and clean up pages before OCR processing
PNGQUANT_RUN_DEPENDS= pngquant:graphics/pngquant
+UNPAPER_RUN_DEPENDS= unpaper:graphics/unpaper
# This workaround copes with the files that are generated in the CFFI
# out-of-line ABI mode (through devel/py-cffi). Those files are installed but
diff --git a/textproc/py-ocrmypdf/distinfo b/textproc/py-ocrmypdf/distinfo
index b8b360625451..115eb5642cca 100644
--- a/textproc/py-ocrmypdf/distinfo
+++ b/textproc/py-ocrmypdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1567617015
-SHA256 (ocrmypdf-9.0.2.tar.gz) = d3a986234995302f284d7cb1fcbc046a1ff49face7f6a0a02e6be87c8f210ec1
-SIZE (ocrmypdf-9.0.2.tar.gz) = 7643561
+TIMESTAMP = 1567867813
+SHA256 (ocrmypdf-9.0.3.tar.gz) = 3d9b92f6a01d0711e4156c6b36638d9d946d010e2925ec473ec7f666096cceeb
+SIZE (ocrmypdf-9.0.3.tar.gz) = 7643541