public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-radio/wspr/files: wspr-3.01-numpy.patch
@ 2015-05-18 14:32 Thomas Beierlein (tomjbe)
  0 siblings, 0 replies; only message in thread
From: Thomas Beierlein (tomjbe) @ 2015-05-18 14:32 UTC (permalink / raw
  To: gentoo-commits

tomjbe      15/05/18 14:32:00

  Added:                wspr-3.01-numpy.patch
  Log:
  Adapt to >=numpy-1.9.0 (bug #544504). Thanks Teun.
  
  (Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key 0x762053D5)

Revision  Changes    Path
1.1                  media-radio/wspr/files/wspr-3.01-numpy.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/files/wspr-3.01-numpy.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/wspr/files/wspr-3.01-numpy.patch?rev=1.1&content-type=text/plain

Index: wspr-3.01-numpy.patch
===================================================================
# Numpy-1.9 dropped oldnumeric and numarray
--- WsprMod/specjt.py.orig	2015-05-18 15:49:37.000000000 +0200
+++ WsprMod/specjt.py	2015-05-18 15:49:48.000000000 +0200
@@ -12,7 +12,7 @@
 import w
 
 try:
-    from numpy.oldnumeric import zeros, multiarray
+    from numpy import zeros, multiarray
 except:
     from Numeric import zeros, multiarray
 import Image, ImageTk, ImageDraw
--- wspr.py.orig	2015-05-18 15:47:13.000000000 +0200
+++ wspr.py	2015-05-18 15:47:38.000000000 +0200
@@ -31,7 +31,7 @@
 from WsprMod import palettes
 from math import log10
 try:
-    from numpy.oldnumeric import zeros
+    from numpy import zeros
 except: 
     from Numeric import zeros
 import array





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

only message in thread, other threads:[~2015-05-18 14:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-18 14:32 [gentoo-commits] gentoo-x86 commit in media-radio/wspr/files: wspr-3.01-numpy.patch Thomas Beierlein (tomjbe)

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