aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/wxpython.rb
diff options
context:
space:
mode:
authorLarry Shaffer2014-11-21 21:00:40 -0700
committerMike McQuaid2014-11-25 19:47:46 +0000
commit8e45831a6a5219857c2be5462ff02f0d605dbf57 (patch)
tree9be18051f2190bd0a9f2d5b61fb7239a3a2a111b /Library/Formula/wxpython.rb
parent10d9e6da23fe0f96b98eab7615a07e9695971145 (diff)
downloadhomebrew-8e45831a6a5219857c2be5462ff02f0d605dbf57.tar.bz2
wxpython: patch plot lib to work with newer numpy
Closes #34448. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/wxpython.rb')
-rw-r--r--Library/Formula/wxpython.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/wxpython.rb b/Library/Formula/wxpython.rb
index 372a7ae78..d813a86ec 100644
--- a/Library/Formula/wxpython.rb
+++ b/Library/Formula/wxpython.rb
@@ -17,6 +17,7 @@ class Wxpython < Formula
homepage "http://www.wxwidgets.org"
url "https://downloads.sourceforge.net/project/wxpython/wxPython/3.0.1.1/wxPython-src-3.0.1.1.tar.bz2"
sha1 "d2c4719015d7c499a9765b1e5107fdf37a32abfb"
+ revision 1
bottle do
sha1 "e7fad91e96497ecae7a12f55f092c74e07e41f5b" => :mavericks
@@ -30,6 +31,18 @@ class Wxpython < Formula
end
depends_on "wxmac"
+ stable do
+ # See closed ticket #16590:
+ # Update wxpython lib/plot.py (numpy has removed oldnumeric)
+ # http://trac.wxwidgets.org/ticket/16590
+ # Applied upstream: http://trac.wxwidgets.org/changeset/77995
+ # This duplicate gist patch just strips "/trunk" from within target file's path
+ patch :p0 do
+ url "https://gist.githubusercontent.com/dakcarto/f0331c2e4e97a7c4271e/raw/9e65152464c6321bd2c5ff723c21b6cc78958e03/wxpython_77995.diff"
+ sha1 "73b90a983fbb5330abc1b3866817081c8efde479"
+ end
+ end
+
def install
ENV["WXWIN"] = buildpath