mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
graphics/imgtops: switch from py-imaging to py-pillow
- USES python With hat: python Approved by: portmgr (bdrewery, implicit)
This commit is contained in:
parent
90a40bb73b
commit
b1fd1cd72f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369998
@ -3,18 +3,18 @@
|
||||
|
||||
PORTNAME= imgtops
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= ports@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
|
||||
|
10
graphics/imgtops/files/patch-imgtopslib__epstoimg.py
Normal file
10
graphics/imgtops/files/patch-imgtopslib__epstoimg.py
Normal file
@ -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
|
9
graphics/imgtops/files/patch-imgtopslib__imgtops.py
Normal file
9
graphics/imgtops/files/patch-imgtopslib__imgtops.py
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user