summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2014-10-05 00:19:01 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2014-10-05 00:19:01 +0000
commit0e48185d116413387265e1f8dbfc7cc5e2226637 (patch)
tree907cd8177fb3ac4cabd27455b062c4e33d6c3486 /misc
parentmisc/pylize: switch from py-imaging to py-pillow (diff)
misc/wotsap: switch from py-imaging to py-pillow
- USES python With hat: python Approved by: portmgr (bdrewery, implicit)
Notes
Notes: svn path=/head/; revision=370031
Diffstat (limited to 'misc')
-rw-r--r--misc/wotsap/Makefile5
-rw-r--r--misc/wotsap/files/patch-wotsap11
2 files changed, 14 insertions, 2 deletions
diff --git a/misc/wotsap/Makefile b/misc/wotsap/Makefile
index edf5360bccd0..0ebdb1b2d1f8 100644
--- a/misc/wotsap/Makefile
+++ b/misc/wotsap/Makefile
@@ -3,6 +3,7 @@
PORTNAME= wotsap
PORTVERSION= 0.7
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.lysator.liu.se/~jc/wotsap/download/
EXTRACT_SUFX= .tgz
@@ -10,9 +11,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= danilo@FreeBSD.org
COMMENT= Web of trust statistics and pathfinder
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
-USE_PYTHON_RUN= 2
+USES= python:2,run
NO_BUILD= yes
PLIST_FILES= bin/pks2wot bin/wotsap
diff --git a/misc/wotsap/files/patch-wotsap b/misc/wotsap/files/patch-wotsap
new file mode 100644
index 000000000000..e752da0b4cfc
--- /dev/null
+++ b/misc/wotsap/files/patch-wotsap
@@ -0,0 +1,11 @@
+--- wotsap.orig 2014-10-05 00:18:42 UTC
++++ wotsap
+@@ -193,7 +193,7 @@
+
+ try:
+ global Image, ImageDraw, ImageFont
+- import Image, ImageDraw, ImageFont
++ from PIL import Image, ImageDraw, ImageFont
+ except ImportError:
+ print >>sys.stderr, \
+ "wotsap: Unable to import Python Imaging Library modules\n" \