1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

games/fretsonfire: switch from py-imaging to py-pillow

- USES python

With hat:	python
Approved by:	portmgr (bdrewery, implicit)
This commit is contained in:
William Grzybowski 2014-10-07 12:42:07 +00:00
parent ef9bcde3a5
commit 18a7ca2eab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370326
2 changed files with 18 additions and 4 deletions

View File

@ -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

View File

@ -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