svn commit: r370031 - in head/misc/wotsap: . files

William Grzybowski wg at FreeBSD.org
Sun Oct 5 00:19:03 UTC 2014


Author: wg
Date: Sun Oct  5 00:19:01 2014
New Revision: 370031
URL: https://svnweb.freebsd.org/changeset/ports/370031
QAT: https://qat.redports.org/buildarchive/r370031/

Log:
  misc/wotsap: switch from py-imaging to py-pillow
  
  - USES python
  
  With hat:	python
  Approved by:	portmgr (bdrewery, implicit)

Added:
  head/misc/wotsap/files/
  head/misc/wotsap/files/patch-wotsap   (contents, props changed)
Modified:
  head/misc/wotsap/Makefile

Modified: head/misc/wotsap/Makefile
==============================================================================
--- head/misc/wotsap/Makefile	Sun Oct  5 00:16:00 2014	(r370030)
+++ head/misc/wotsap/Makefile	Sun Oct  5 00:19:01 2014	(r370031)
@@ -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 at 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

Added: head/misc/wotsap/files/patch-wotsap
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/wotsap/files/patch-wotsap	Sun Oct  5 00:19:01 2014	(r370031)
@@ -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" \


More information about the svn-ports-all mailing list