Skip to content

Commit

Permalink
graph-tool: fix python3 reference.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
miles170 authored and BrewTestBot committed Sep 11, 2022
1 parent 073f0a3 commit 5c62960
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Formula/graph-tool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5c62960

Please sign in to comment.