svn commit: r369995 - in head/games/gnomesudoku: . files
William Grzybowski
wg at FreeBSD.org
Sat Oct 4 21:29:11 UTC 2014
Author: wg
Date: Sat Oct 4 21:29:10 2014
New Revision: 369995
URL: https://svnweb.freebsd.org/changeset/ports/369995
QAT: https://qat.redports.org/buildarchive/r369995/
Log:
games/gnomesudoku: switch from py-imaging to py-pillow
With hat: python
Approved by: portmgr (bdrewery, implicit)
Added:
head/games/gnomesudoku/files/
head/games/gnomesudoku/files/patch-setup.py (contents, props changed)
head/games/gnomesudoku/files/patch-src__lib__gtk_goodies__image_extras.py (contents, props changed)
Modified:
head/games/gnomesudoku/Makefile
Modified: head/games/gnomesudoku/Makefile
==============================================================================
--- head/games/gnomesudoku/Makefile Sat Oct 4 20:30:39 2014 (r369994)
+++ head/games/gnomesudoku/Makefile Sat Oct 4 21:29:10 2014 (r369995)
@@ -3,7 +3,7 @@
PORTNAME= gnomesudoku
PORTVERSION= 0.6.0
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= games gnome
MASTER_SITES= SF/gnome-sudoku/gnome-sudoku/${PORTVERSION}
DISTNAME= gnome-sudoku-${PORTVERSION}
@@ -12,12 +12,11 @@ MAINTAINER= ports at FreeBSD.org
COMMENT= GNOME Sudoku game
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric \
- ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
+ ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-USES= pathfix display
+USES= display pathfix python
USE_GNOME= gnomeprefix pygnome2 pygnomedesktop
+USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= gnome-sudoku
post-patch:
Added: head/games/gnomesudoku/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/gnomesudoku/files/patch-setup.py Sat Oct 4 21:29:10 2014 (r369995)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2014-10-04 20:26:24 UTC
++++ setup.py
+@@ -43,7 +43,7 @@
+ except ImportError:
+ sys.exit('Error: PyGTK-2.6 or newer is required.')
+ raise
+- mod_list = ['Image','gnomeprint','Numeric']
++ mod_list = ['PIL','gnomeprint','Numeric']
+ ok = 1
+ for m in mod_list:
+ try:
Added: head/games/gnomesudoku/files/patch-src__lib__gtk_goodies__image_extras.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/gnomesudoku/files/patch-src__lib__gtk_goodies__image_extras.py Sat Oct 4 21:29:10 2014 (r369995)
@@ -0,0 +1,8 @@
+--- src/lib/gtk_goodies/image_extras.py.orig 2014-10-04 19:22:19 UTC
++++ src/lib/gtk_goodies/image_extras.py
+@@ -1,4 +1,4 @@
+-import Image,ImageOps
++from PIL import Image,ImageOps
+ import gtk
+ import string
+ import StringIO
More information about the svn-ports-all
mailing list