meson 0.36.0

Closes #6925.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2016-11-14 23:26:26 -08:00
parent c548a6856c
commit d6820bfee0

View file

@ -3,8 +3,8 @@ class Meson < Formula
desc "Fast and user friendly build system" desc "Fast and user friendly build system"
homepage "http://mesonbuild.com/" homepage "http://mesonbuild.com/"
url "https://github.com/mesonbuild/meson/releases/download/0.35.1/meson-0.35.1.tar.gz" url "https://github.com/mesonbuild/meson/releases/download/0.36.0/meson-0.36.0.tar.gz"
sha256 "b47edb53bd7554cb7890a32399fdf6402e8079379393893ab3dec8fffcbfba2c" sha256 "dc087ec40dacb5e256e6ee6467f2d004faf4ef284d3c1ce5e89faa1e16540950"
head "https://github.com/mesonbuild/meson.git" head "https://github.com/mesonbuild/meson.git"
bottle do bottle do
@ -17,8 +17,8 @@ class Meson < Formula
depends_on "ninja" depends_on "ninja"
def install def install
virtualenv_create(libexec, "python3")
virtualenv_install_with_resources virtualenv_install_with_resources
inreplace bin/"meson", "#!/usr/bin/env python3", "#!#{libexec}/bin/python3"
end end
test do test do
@ -34,7 +34,7 @@ class Meson < Formula
EOS EOS
mkdir testpath/"build" do mkdir testpath/"build" do
system "#{bin}/meson.py", ".." system "#{bin}/meson", ".."
assert File.exist?(testpath/"build/build.ninja") assert File.exist?(testpath/"build/build.ninja")
end end
end end