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