summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2014-10-05 00:19:01 +0000
committerwg <wg@FreeBSD.org>2014-10-05 00:19:01 +0000
commitfa842e054f8d63fd862fde45bdafa1519a117bf6 (patch)
tree907cd8177fb3ac4cabd27455b062c4e33d6c3486
parent3eeed082cb9647c9047bb10acdf01265c7d152a9 (diff)
downloadFreeBSD-ports-fa842e054f8d63fd862fde45bdafa1519a117bf6.zip
FreeBSD-ports-fa842e054f8d63fd862fde45bdafa1519a117bf6.tar.gz
misc/wotsap: switch from py-imaging to py-pillow
- USES python With hat: python Approved by: portmgr (bdrewery, implicit)
-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 edf5360..0ebdb1b 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 0000000..e752da0
--- /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" \
OpenPOWER on IntegriCloud