From owner-svn-ports-head@FreeBSD.ORG Mon Oct 6 17:02:33 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC83DF71; Mon, 6 Oct 2014 17:02:33 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E9D19FC; Mon, 6 Oct 2014 17:02:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s96H2XbS090590; Mon, 6 Oct 2014 17:02:33 GMT (envelope-from wg@FreeBSD.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s96H2Wfx090586; Mon, 6 Oct 2014 17:02:32 GMT (envelope-from wg@FreeBSD.org) Message-Id: <201410061702.s96H2Wfx090586@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: wg set sender to wg@FreeBSD.org using -f From: William Grzybowski Date: Mon, 6 Oct 2014 17:02:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370193 - in head/net/tucan: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2014 17:02:33 -0000 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 +