svn commit: r370326 - in head/games/fretsonfire: . files
William Grzybowski
wg at FreeBSD.org
Tue Oct 7 12:42:08 UTC 2014
Author: wg
Date: Tue Oct 7 12:42:07 2014
New Revision: 370326
URL: https://svnweb.freebsd.org/changeset/ports/370326
QAT: https://qat.redports.org/buildarchive/r370326/
Log:
games/fretsonfire: switch from py-imaging to py-pillow
- USES python
With hat: python
Approved by: portmgr (bdrewery, implicit)
Added:
head/games/fretsonfire/files/patch-src__Texture.py (contents, props changed)
Modified:
head/games/fretsonfire/Makefile
Modified: head/games/fretsonfire/Makefile
==============================================================================
--- head/games/fretsonfire/Makefile Tue Oct 7 12:36:28 2014 (r370325)
+++ head/games/fretsonfire/Makefile Tue Oct 7 12:42:07 2014 (r370326)
@@ -3,7 +3,7 @@
PORTNAME= fretsonfire
PORTVERSION= 1.3.110
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= games python
MASTER_SITES= SF
DISTNAME= ${PORTNAME:S/f/F/g:S/o/O/}-${PORTVERSION}
@@ -15,11 +15,10 @@ COMMENT= Game of musical skill and fast
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}game>=0:${PORTSDIR}/devel/py-game \
${PYTHON_PKGNAMEPREFIX}opengl>=0:${PORTSDIR}/graphics/py-opengl \
- ${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging \
+ ${PYTHON_PKGNAMEPREFIX}pillow>=0:${PORTSDIR}/graphics/py-pillow \
${LOCALBASE}/share/${PORTNAME}/default.ttf:${PORTSDIR}/games/fretsonfire-data
-USES= dos2unix
-USE_PYTHON= yes
+USES= dos2unix python
DOS2UNIX_FILES= *.txt
NO_BUILD= yes
Added: head/games/fretsonfire/files/patch-src__Texture.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/fretsonfire/files/patch-src__Texture.py Tue Oct 7 12:42:07 2014 (r370326)
@@ -0,0 +1,15 @@
+--- src/Texture.py.orig 2014-10-07 12:30:12 UTC
++++ src/Texture.py
+@@ -24,10 +24,10 @@
+
+ import Log
+ import Config
+-import Image
++from PIL import Image
+ import pygame
+ import StringIO
+-import PngImagePlugin
++from PIL import PngImagePlugin
+ from OpenGL.GL import *
+ from OpenGL.GLU import *
+ from Queue import Queue, Empty
More information about the svn-ports-all
mailing list