From 5c629602295d05473fcb830d202a3bd74a281523 Mon Sep 17 00:00:00 2001 From: Miles Liu Date: Fri, 9 Sep 2022 01:15:05 +0800 Subject: [PATCH] graph-tool: fix `python3` reference. See #108008. Also, remove linux only gcc dependency. See #110010. Closes #110016. Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Formula/graph-tool.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Formula/graph-tool.rb b/Formula/graph-tool.rb index 25050588e28c..d83f9c8aed56 100644 --- a/Formula/graph-tool.rb +++ b/Formula/graph-tool.rb @@ -43,10 +43,6 @@ class GraphTool < Formula uses_from_macos "expat" => :build - on_linux do - depends_on "gcc" - end - fails_with gcc: "5" resource "Cycler" do @@ -87,7 +83,7 @@ class GraphTool < Formula def python3 deps.map(&:to_formula) .find { |f| f.name.match?(/^python@\d\.\d+$/) } - .opt_bin/"python3" + .opt_libexec/"bin/python" end def install