From 31143e5b52b6b8fa894807ffc99617112399d4c4 Mon Sep 17 00:00:00 2001 From: Kai Knoblich Date: Thu, 5 Sep 2019 16:15:10 +0000 Subject: [PATCH] textproc/py-ocrmypdf: Update to 9.0.2 * Set the PNGQUANT option as default and remove the related comments since now the issue with the incorrect inverted PNG images has been fixed. Changelog: https://github.com/jbarlow83/OCRmyPDF/blob/v9.0.2/docs/release_notes.rst --- textproc/py-ocrmypdf/Makefile | 9 ++++----- textproc/py-ocrmypdf/distinfo | 6 +++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/textproc/py-ocrmypdf/Makefile b/textproc/py-ocrmypdf/Makefile index bd7d8c43a992..deef9938d5b5 100644 --- a/textproc/py-ocrmypdf/Makefile +++ b/textproc/py-ocrmypdf/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= ocrmypdf -DISTVERSION= 9.0.1 +DISTVERSION= 9.0.2 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -26,9 +26,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.9.1:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pdfminer.six>=20181108:textproc/py-pdfminer.six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pikepdf>=1.6.0,<2:textproc/py-pikepdf@${PY_FLAVOR} \ tesseract:graphics/tesseract -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=4.4.1,<5:devel/py-pytest@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=4.4.1:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-helpers-namespace>=2019.1.8:devel/py-pytest-helpers-namespace@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.28.0:devel/py-pytest-xdist@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.29.0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.6.1:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pdf2>=1.26.0:print/py-pdf2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-xmp-toolkit>=0:textproc/py-python-xmp-toolkit@${PY_FLAVOR} @@ -58,6 +58,7 @@ NO_ARCH= yes PLIST_FILES= etc/bash_completion.d/ocrmypdf.bash share/fish/vendor_completions.d/ocrmypdf.fish OPTIONS_DEFINE= PNGQUANT +OPTIONS_DEFAULT=PNGQUANT PNGQUANT_DESC= Optimizes the encoding of PNG-style images in PDFs @@ -79,8 +80,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/misc/completion/ocrmypdf.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ ${INSTALL_DATA} ${WRKSRC}/misc/completion/ocrmypdf.fish ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/ -# Note: The test "test_mono_not_inverted" will fail if graphics/pngquant is installed. -# See also: https://github.com/jbarlow83/OCRmyPDF/issues/417 do-test: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} -m pytest -rs -v \ -n ${MAKE_JOBS_NUMBER} -k ' \ diff --git a/textproc/py-ocrmypdf/distinfo b/textproc/py-ocrmypdf/distinfo index 86d6cde513b6..b8b360625451 100644 --- a/textproc/py-ocrmypdf/distinfo +++ b/textproc/py-ocrmypdf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1565588086 -SHA256 (ocrmypdf-9.0.1.tar.gz) = 1c125eb5b078658777a824d6831e483ce95f51287f18926c03d58f00df8c2610 -SIZE (ocrmypdf-9.0.1.tar.gz) = 7653261 +TIMESTAMP = 1567617015 +SHA256 (ocrmypdf-9.0.2.tar.gz) = d3a986234995302f284d7cb1fcbc046a1ff49face7f6a0a02e6be87c8f210ec1 +SIZE (ocrmypdf-9.0.2.tar.gz) = 7643561