public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-office/impressive/files: impressive-pillow.patch
@ 2013-06-08 15:00 Mike Gilbert (floppym)
  0 siblings, 0 replies; only message in thread
From: Mike Gilbert (floppym) @ 2013-06-08 15:00 UTC (permalink / raw
  To: gentoo-commits

floppym     13/06/08 15:00:01

  Added:                impressive-pillow.patch
  Log:
  Convert to python-single-r1. Replace dev-python/imaging with virtual/python-imaging.
  
  (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)

Revision  Changes    Path
1.1                  app-office/impressive/files/impressive-pillow.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/impressive/files/impressive-pillow.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/impressive/files/impressive-pillow.patch?rev=1.1&content-type=text/plain

Index: impressive-pillow.patch
===================================================================
# See revision 53 in upstream svn
# https://bugs.gentoo.org/show_bug.cgi?id=471496
--- a/impressive.py
+++ b/impressive.py
@@ -182,8 +182,8 @@
     from OpenGL.GL import *
     import pygame
     from pygame.locals import *
-    import Image, ImageDraw, ImageFont, ImageFilter
-    import TiffImagePlugin, BmpImagePlugin, JpegImagePlugin, PngImagePlugin, PpmImagePlugin
+    from PIL import Image, ImageDraw, ImageFont, ImageFilter
+    from PIL import TiffImagePlugin, BmpImagePlugin, JpegImagePlugin, PngImagePlugin, PpmImagePlugin
 except (ValueError, ImportError), err:
     print >>sys.stderr, "Oops! Cannot load necessary modules:", err
     print >>sys.stderr, """To use Impressive, you need to install the following Python modules:





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-08 15:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-08 15:00 [gentoo-commits] gentoo-x86 commit in app-office/impressive/files: impressive-pillow.patch Mike Gilbert (floppym)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox