Gentoo Archives: gentoo-commits

From: "Thomas Beierlein (tomjbe)" <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-radio/wspr/files: wspr-2.00-PIL.patch
Date: Sun, 02 Jun 2013 16:34:57
Message-Id: 20130602163453.DBA5D2171E@flycatcher.gentoo.org
1 tomjbe 13/06/02 16:34:53
2
3 Added: wspr-2.00-PIL.patch
4 Log:
5 Fix import of PIL modules (Bug #471538)
6
7 (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x762053D5)
8
9 Revision Changes Path
10 1.1 media-radio/wspr/files/wspr-2.00-PIL.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/files/wspr-2.00-PIL.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/files/wspr-2.00-PIL.patch?rev=1.1&content-type=text/plain
14
15 Index: wspr-2.00-PIL.patch
16 ===================================================================
17 --- wspr.py.orig 2013-06-02 18:25:02.000000000 +0200
18 +++ wspr.py 2013-06-02 18:25:51.000000000 +0200
19 @@ -15,7 +15,9 @@
20 from Numeric import zeros
21 import array
22 import dircache
23 -import Image, ImageTk, ImageDraw
24 +from PIL import Image
25 +from PIL import ImageTk
26 +from PIL import ImageDraw
27 from WsprMod.palettes import colormapblue, colormapgray0, colormapHot, \
28 colormapAFMHot, colormapgray1, colormapLinrad, Colormap2Palette
29 from types import *