Skip to content

Instantly share code, notes, and snippets.

@mcroydon
Created May 1, 2011 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcroydon/950255 to your computer and use it in GitHub Desktop.
Save mcroydon/950255 to your computer and use it in GitHub Desktop.
Update homebrew formula to 1.5.0 for 64-bit; keep 1.4.1 for 32-bit.
diff --git a/Library/Formula/pypy.rb b/Library/Formula/pypy.rb
index ace63b2..cb79dad 100644
--- a/Library/Formula/pypy.rb
+++ b/Library/Formula/pypy.rb
@@ -3,14 +3,15 @@ require 'hardware'
class Pypy < Formula
if MacOS.prefer_64_bit?
- url 'http://pypy.org/download/pypy-1.4.1-osx64.tar.bz2'
- md5 '769b3fb134944ee8c22ad0834970de3b'
+ url 'http://pypy.org/download/pypy-1.5-osx64.tar.bz2'
+ md5 'b1417916bc01ebb9f95c666f5e397fb5'
+ version '1.5.0'
else
url 'http://pypy.org/download/pypy-1.4.1-osx.tar.bz2'
md5 '8584c4e8c042f5b661fcfffa0d9b8a25'
+ version '1.4.1'
end
homepage 'http://pypy.org/'
- version '1.4.1'
def install
prefix.install ["bin", "lib-python", "lib_pypy"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment