Date: Mon, 6 Oct 2014 17:02:32 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370193 - in head/net/tucan: . files Message-ID: <201410061702.s96H2Wfx090586@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Mon Oct 6 17:02:32 2014 New Revision: 370193 URL: https://svnweb.freebsd.org/changeset/ports/370193 QAT: https://qat.redports.org/buildarchive/r370193/ Log: net/tucan: switch from py-imaging to py-pillow - USES python With hat: python Approved by: portmgr (bdrewery, implicit) Added: head/net/tucan/files/patch-core__dependencies.py (contents, props changed) head/net/tucan/files/patch-core__tesseract.py (contents, props changed) Modified: head/net/tucan/Makefile Modified: head/net/tucan/Makefile ============================================================================== --- head/net/tucan/Makefile Mon Oct 6 16:53:34 2014 (r370192) +++ head/net/tucan/Makefile Mon Oct 6 17:02:32 2014 (r370193) @@ -3,7 +3,7 @@ PORTNAME= tucan PORTVERSION= 0.3.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://forja.rediris.es/frs/download.php/2051/ \ http://build-tucan-doc.googlecode.com/files/ @@ -11,14 +11,13 @@ MASTER_SITES= http://forja.rediris.es/fr MAINTAINER= gustau.perez@gmail.com COMMENT= Tucan Manager aids file-sharing with 1-click hosters -RUN_DEPENDS= ${LOCALBASE}/bin/pilconvert.py:${PORTSDIR}/graphics/py-imaging \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \ ${LOCALBASE}/bin/cntraining:${PORTSDIR}/graphics/tesseract NO_BUILD= yes USE_GNOME= pygtk2 librsvg2 -USE_PYTHON= yes -USES= gettext +USES= gettext python post-patch: ${REINPLACE_CMD} -Ee 's|#! /usr/bin/env python|#! ${PYTHON_CMD}|' ${WRKSRC}/tucan.py Added: head/net/tucan/files/patch-core__dependencies.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/tucan/files/patch-core__dependencies.py Mon Oct 6 17:02:32 2014 (r370193) @@ -0,0 +1,11 @@ +--- core/dependencies.py.orig 2014-10-06 16:41:03 UTC ++++ core/dependencies.py +@@ -55,7 +55,7 @@ + """""" + self.checked[cons.DEPENDENCY_TESSERACT] = None + try: +- import Image ++ from PIL import Image + except: + message = "PIL not found." + self.checked[cons.DEPENDENCY_TESSERACT] = message Added: head/net/tucan/files/patch-core__tesseract.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/tucan/files/patch-core__tesseract.py Mon Oct 6 17:02:32 2014 (r370193) @@ -0,0 +1,15 @@ +--- core/tesseract.py.orig 2014-10-06 16:41:31 UTC ++++ core/tesseract.py +@@ -26,9 +26,9 @@ + import subprocess + import tempfile + +-import ImageFile +-import Image +-import TiffImagePlugin ++from PIL import ImageFile ++from PIL import Image ++from PIL import TiffImagePlugin + + import cons +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410061702.s96H2Wfx090586>