Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2019 13:34:33 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r517563 - branches/2019Q4/textproc/py-ocrmypdf
Message-ID:  <201911141334.xAEDYXQ9048468@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Thu Nov 14 13:34:33 2019
New Revision: 517563
URL: https://svnweb.freebsd.org/changeset/ports/517563

Log:
  MFH: r517380
  
  textproc/py-ocrmypdf: Update to 9.0.5
  
  * Remove the workaround that coped with the files that were generated in the
    CFFI out-of-line ABI mode (through devel/py-cffi) as they are now captured
    correctly during the installation process.
  
  Changelog since 9.0.3:
  
  https://github.com/jbarlow83/OCRmyPDF/blob/v9.0.5/docs/release_notes.rst
  
  Approved by:	ports-secteam (miwi)

Modified:
  branches/2019Q4/textproc/py-ocrmypdf/Makefile
  branches/2019Q4/textproc/py-ocrmypdf/distinfo
Directory Properties:
  branches/2019Q4/   (props changed)

Modified: branches/2019Q4/textproc/py-ocrmypdf/Makefile
==============================================================================
--- branches/2019Q4/textproc/py-ocrmypdf/Makefile	Thu Nov 14 13:33:24 2019	(r517562)
+++ branches/2019Q4/textproc/py-ocrmypdf/Makefile	Thu Nov 14 13:34:33 2019	(r517563)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	ocrmypdf
-DISTVERSION=	9.0.3
+DISTVERSION=	9.0.5
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,12 +19,12 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.9.1:deve
 LIB_DEPENDS=	liblept.so:graphics/leptonica
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.9.1:devel/py-cffi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}img2pdf>=0.3.0,<0.4:graphics/py-img2pdf@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pillow>=4.0.0:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=6.2.0:graphics/py-pillow@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tqdm>=4:misc/py-tqdm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}reportlab>=3.3.0:print/py-reportlab@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}chardet>=3.0.4,<4:textproc/py-chardet@${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} \
+		${PYTHON_PKGNAMEPREFIX}pikepdf>=1.6.5<2:textproc/py-pikepdf@${PY_FLAVOR} \
 		tesseract:graphics/tesseract
 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} \
@@ -66,17 +66,7 @@ UNPAPER_DESC=	Deskew and clean up pages before OCR pro
 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
-# aren't recorded to .PLIST.pymodtmp by Python's distutils.
-#
-# See here for a related issue from another port (audio/py-sounddevice):
-# https://github.com/spatialaudio/python-sounddevice/issues/116
 post-install:
-	${ECHO_CMD} "${PYTHONPREFIX_SITELIBDIR}/ocrmypdf/lib/__pycache__/_leptonica.cpython-${PYTHON_SUFFIX}.opt-1.pyc" >> ${_PYTHONPKGLIST}
-	${ECHO_CMD} "${PYTHONPREFIX_SITELIBDIR}/ocrmypdf/lib/__pycache__/_leptonica.cpython-${PYTHON_SUFFIX}.pyc" >> ${_PYTHONPKGLIST}
-	${ECHO_CMD} "${PYTHONPREFIX_SITELIBDIR}/ocrmypdf/lib/_leptonica.py" >> ${_PYTHONPKGLIST}
-
 	# Install shell completion files
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/
 	${INSTALL_DATA} ${WRKSRC}/misc/completion/ocrmypdf.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d/

Modified: branches/2019Q4/textproc/py-ocrmypdf/distinfo
==============================================================================
--- branches/2019Q4/textproc/py-ocrmypdf/distinfo	Thu Nov 14 13:33:24 2019	(r517562)
+++ branches/2019Q4/textproc/py-ocrmypdf/distinfo	Thu Nov 14 13:34:33 2019	(r517563)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1567867813
-SHA256 (ocrmypdf-9.0.3.tar.gz) = 3d9b92f6a01d0711e4156c6b36638d9d946d010e2925ec473ec7f666096cceeb
-SIZE (ocrmypdf-9.0.3.tar.gz) = 7643541
+TIMESTAMP = 1573543134
+SHA256 (ocrmypdf-9.0.5.tar.gz) = a0729c3ec8063975d3ebdfce2cf0f98b4f9c0a97f7676bc25ddb66b4e0a07737
+SIZE (ocrmypdf-9.0.5.tar.gz) = 7650347



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