pypy: bump revision for upstream retag

Ref: https://github.com/Homebrew/homebrew-core/issues/873#issuecomment-217643590

Closes #970.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Dominyk Tiller 2016-05-08 02:25:07 +01:00
parent b7f71db468
commit 1d54cfeb52

View file

@ -3,6 +3,7 @@ class Pypy < Formula
homepage "http://pypy.org/"
url "https://bitbucket.org/pypy/pypy/downloads/pypy-5.1.1-src.tar.bz2"
sha256 "ca3d943d7fbd78bb957ee9e5833ada4bb8506ac99a41b7628790e286a65ed2be"
revision 1
bottle do
cellar :any
@ -65,11 +66,11 @@ class Pypy < Formula
package_args = %w[--archive-name pypy --targetdir . --nostrip]
package_args << "--without-gdbm" if build.without? "gdbm"
system python, "package.py", *package_args
system *%W[tar -C #{libexec} --strip-components 1 -xzf pypy.tar.bz2]
system(*%W[tar -C #{libexec} --strip-components 1 -xzf pypy.tar.bz2])
end
(libexec/"lib").install libexec/"bin/libpypy-c.dylib"
system *%W[install_name_tool -change @rpath/libpypy-c.dylib #{libexec}/lib/libpypy-c.dylib #{libexec}/bin/pypy]
system(*%W[install_name_tool -change @rpath/libpypy-c.dylib #{libexec}/lib/libpypy-c.dylib #{libexec}/bin/pypy])
# The PyPy binary install instructions suggest installing somewhere
# (like /opt) and symlinking in binaries as needed. Specifically,