Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2019 16:15:10 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511194 - head/textproc/py-ocrmypdf
Message-ID:  <201909051615.x85GFAdZ069468@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Thu Sep  5 16:15:10 2019
New Revision: 511194
URL: https://svnweb.freebsd.org/changeset/ports/511194

Log:
  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

Modified:
  head/textproc/py-ocrmypdf/Makefile
  head/textproc/py-ocrmypdf/distinfo

Modified: head/textproc/py-ocrmypdf/Makefile
==============================================================================
--- head/textproc/py-ocrmypdf/Makefile	Thu Sep  5 16:13:39 2019	(r511193)
+++ head/textproc/py-ocrmypdf/Makefile	Thu Sep  5 16:15:10 2019	(r511194)
@@ -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/
 		${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 ' \

Modified: head/textproc/py-ocrmypdf/distinfo
==============================================================================
--- head/textproc/py-ocrmypdf/distinfo	Thu Sep  5 16:13:39 2019	(r511193)
+++ head/textproc/py-ocrmypdf/distinfo	Thu Sep  5 16:15:10 2019	(r511194)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909051615.x85GFAdZ069468>