From owner-svn-ports-all@FreeBSD.ORG Sat Oct 4 23:21:20 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 673E7FE1; Sat, 4 Oct 2014 23:21:20 +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 48A0538B; Sat, 4 Oct 2014 23:21:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s94NLKFX040975; Sat, 4 Oct 2014 23:21:20 GMT (envelope-from wg@FreeBSD.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s94NLJSi040972; Sat, 4 Oct 2014 23:21:19 GMT (envelope-from wg@FreeBSD.org) Message-Id: <201410042321.s94NLJSi040972@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: wg set sender to wg@FreeBSD.org using -f From: William Grzybowski Date: Sat, 4 Oct 2014 23:21:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370012 - in head/graphics/imgv: . 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-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2014 23:21:20 -0000 Author: wg Date: Sat Oct 4 23:21:19 2014 New Revision: 370012 URL: https://svnweb.freebsd.org/changeset/ports/370012 QAT: https://qat.redports.org/buildarchive/r370012/ Log: graphics/imgv: switch from py-imaging to py-pillow With hat: python Approved by: portmgr (bdrewery, implicit) Added: head/graphics/imgv/files/patch-downloader.py (contents, props changed) head/graphics/imgv/files/patch-verbose.py (contents, props changed) Modified: head/graphics/imgv/Makefile Modified: head/graphics/imgv/Makefile ============================================================================== --- head/graphics/imgv/Makefile Sat Oct 4 23:09:47 2014 (r370011) +++ head/graphics/imgv/Makefile Sat Oct 4 23:21:19 2014 (r370012) @@ -4,7 +4,7 @@ PORTNAME= imgv PORTVERSION= 3.1.6 DISTVERSIONSUFFIX= -src -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} @@ -14,7 +14,7 @@ COMMENT= Unique and feature rich Image V LICENSE= GPLv2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}game>0:${PORTSDIR}/devel/py-game \ - ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging + ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow NO_ARCH= yes NO_BUILD= yes Added: head/graphics/imgv/files/patch-downloader.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/imgv/files/patch-downloader.py Sat Oct 4 23:21:19 2014 (r370012) @@ -0,0 +1,11 @@ +--- downloader.py.orig 2014-10-04 23:19:16 UTC ++++ downloader.py +@@ -7,7 +7,7 @@ + if platform == 'win32': + import BmpImagePlugin, JpegImagePlugin, PngImagePlugin, SgiImagePlugin, SunImagePlugin, TgaImagePlugin, TiffImagePlugin, PcxImagePlugin, PpmImagePlugin, XpmImagePlugin # for py2exe to work with PIL + try: +- import Image # PIL ++ from PIL import Image # PIL + except: + print "You are missing the python-imaging package (PIL). Please install it" + from usr_event import check_quit Added: head/graphics/imgv/files/patch-verbose.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/imgv/files/patch-verbose.py Sat Oct 4 23:21:19 2014 (r370012) @@ -0,0 +1,11 @@ +--- verbose.py.orig 2014-10-04 23:19:42 UTC ++++ verbose.py +@@ -12,7 +12,7 @@ + from usr_event import check_quit, hit_key + if platform == 'win32': + import BmpImagePlugin, JpegImagePlugin, PngImagePlugin, SgiImagePlugin, SunImagePlugin, TgaImagePlugin, TiffImagePlugin, PcxImagePlugin, PpmImagePlugin, XpmImagePlugin # for py2exe to work with PIL +-import Image # PIL ++from PIL import Image # PIL + import pygame.font, pygame.event + from pygame.transform import scale + from pygame.display import update, flip, set_caption