Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2014 23:21:19 +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: r370012 - in head/graphics/imgv: . files
Message-ID:  <201410042321.s94NLJSi040972@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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