diff options
author | William Grzybowski <wg@FreeBSD.org> | 2014-10-07 12:42:07 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2014-10-07 12:42:07 +0000 |
commit | 18a7ca2eab5d3182bd62f8eb5c5b5960da172e36 (patch) | |
tree | 0acf59fe5063ff0610ee43da70ca3ba69ed8251a | |
parent | Fix build (diff) |
games/fretsonfire: switch from py-imaging to py-pillow
- USES python
With hat: python
Approved by: portmgr (bdrewery, implicit)
Notes
Notes:
svn path=/head/; revision=370326
-rw-r--r-- | games/fretsonfire/Makefile | 7 | ||||
-rw-r--r-- | games/fretsonfire/files/patch-src__Texture.py | 15 |
2 files changed, 18 insertions, 4 deletions
diff --git a/games/fretsonfire/Makefile b/games/fretsonfire/Makefile index d373a52fa7c7..5d3d2eab81d8 100644 --- a/games/fretsonfire/Makefile +++ b/games/fretsonfire/Makefile @@ -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 fingers 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 diff --git a/games/fretsonfire/files/patch-src__Texture.py b/games/fretsonfire/files/patch-src__Texture.py new file mode 100644 index 000000000000..2dea1f05a352 --- /dev/null +++ b/games/fretsonfire/files/patch-src__Texture.py @@ -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 |