svn commit: r369998 - in head/graphics/imgtops: . files

William Grzybowski wg at FreeBSD.org
Sat Oct 4 21:44:25 UTC 2014


Author: wg
Date: Sat Oct  4 21:44:23 2014
New Revision: 369998
URL: https://svnweb.freebsd.org/changeset/ports/369998
QAT: https://qat.redports.org/buildarchive/r369998/

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

Added:
  head/graphics/imgtops/files/patch-imgtopslib__epstoimg.py   (contents, props changed)
  head/graphics/imgtops/files/patch-imgtopslib__imgtops.py   (contents, props changed)
Modified:
  head/graphics/imgtops/Makefile

Modified: head/graphics/imgtops/Makefile
==============================================================================
--- head/graphics/imgtops/Makefile	Sat Oct  4 21:39:04 2014	(r369997)
+++ head/graphics/imgtops/Makefile	Sat Oct  4 21:44:23 2014	(r369998)
@@ -3,18 +3,18 @@
 
 PORTNAME=	imgtops
 PORTVERSION=	1.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Create efficient Encapsulated Postscript files from images
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
 
+USES=			python
 USE_GHOSTSCRIPT_RUN=	yes
-USE_PYTHON=		yes
-USE_PYDISTUTILS=	yes
+USE_PYTHON=		distutils
 
 post-install:
 	${CHMOD} 644 ${STAGEDIR}${MANPREFIX}/man/man1/imgtops.1

Added: head/graphics/imgtops/files/patch-imgtopslib__epstoimg.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/imgtops/files/patch-imgtopslib__epstoimg.py	Sat Oct  4 21:44:23 2014	(r369998)
@@ -0,0 +1,10 @@
+--- imgtopslib/epstoimg.py.orig	2014-10-04 21:43:06 UTC
++++ imgtopslib/epstoimg.py
+@@ -1,6 +1,6 @@
+ import os, tempfile, sys
+ import getopt
+-import Image
++from PIL import Image
+ from dimensions import interpret_dimension
+ import re
+ import cStringIO

Added: head/graphics/imgtops/files/patch-imgtopslib__imgtops.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/imgtops/files/patch-imgtopslib__imgtops.py	Sat Oct  4 21:44:23 2014	(r369998)
@@ -0,0 +1,9 @@
+--- imgtopslib/imgtops.py.orig	2014-10-04 21:42:40 UTC
++++ imgtopslib/imgtops.py
+@@ -1,5 +1,5 @@
+ import sys, os.path
+-import Image
++from PIL import Image
+ import cStringIO
+ import time
+ import getopt


More information about the svn-ports-head mailing list