diff options
author | William Grzybowski <wg@FreeBSD.org> | 2014-10-04 23:21:19 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2014-10-04 23:21:19 +0000 |
commit | 2eb179e5a62cc215d3d04872b3dd917a0739250c (patch) | |
tree | f0d20d067b1021b3a0d8e31ed2df10b775696a35 /graphics/imgv/files/patch-verbose.py | |
parent | Do not depend on both py-imaging and py-pillow (via py-reportlab2) (diff) |
graphics/imgv: switch from py-imaging to py-pillow
With hat: python
Approved by: portmgr (bdrewery, implicit)
Notes
Notes:
svn path=/head/; revision=370012
Diffstat (limited to 'graphics/imgv/files/patch-verbose.py')
-rw-r--r-- | graphics/imgv/files/patch-verbose.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/imgv/files/patch-verbose.py b/graphics/imgv/files/patch-verbose.py new file mode 100644 index 000000000000..acf95e4c4c3d --- /dev/null +++ b/graphics/imgv/files/patch-verbose.py @@ -0,0 +1,11 @@ +--- verbose.py.orig 2014-10-04 23:19:42 UTC ++++ verbose.py +@@ -12,7 +12,7 @@ + from usr_event import check_quit, hit_key + if platform == 'win32': + import BmpImagePlugin, JpegImagePlugin, PngImagePlugin, SgiImagePlugin, SunImagePlugin, TgaImagePlugin, TiffImagePlugin, PcxImagePlugin, PpmImagePlugin, XpmImagePlugin # for py2exe to work with PIL +-import Image # PIL ++from PIL import Image # PIL + import pygame.font, pygame.event + from pygame.transform import scale + from pygame.display import update, flip, set_caption |