Skip to content

Commit

Permalink
dependencies need to be ordered
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed May 17, 2024
1 parent b363b8d commit ebf949a
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions Formula/sumo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@ class Sumo < Formula
option "with-examples", "Install docs/examples and docs/tutorial folder"

depends_on "cmake" => :build
depends_on "xerces-c"
depends_on "proj"
depends_on "fox"
depends_on "python" if build.head? && build.with?("examples")
depends_on "ffmpeg" => :optional
depends_on "gdal" => :optional
depends_on "gl2ps" => :optional
depends_on "open-scene-graph" => :optional
depends_on "swig" => :optional
# indirect dependencies
# indirect dependencies due to fox
depends_on "fontconfig"

Check failure on line 19 in Formula/sumo.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-12)

FormulaAudit/DependencyOrder: dependency "fontconfig" (line 19) should be put before dependency "fox" (line 45)

Check failure on line 19 in Formula/sumo.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

FormulaAudit/DependencyOrder: dependency "fontconfig" (line 19) should be put before dependency "fox" (line 45)
depends_on "freetype"
depends_on "gettext"
depends_on "jpeg-turbo"
depends_on "libice"
depends_on "libpng"
depends_on "libtiff"
depends_on "libx11"
depends_on "libxcursor"
depends_on "libxext"
Expand All @@ -33,15 +31,19 @@ class Sumo < Formula
depends_on "libxi"
depends_on "libxrandr"
depends_on "libxrender"
depends_on "fontconfig"
depends_on "freetype"
depends_on "gettext"
depends_on "jpeg-turbo"
depends_on "libpng"
depends_on "libtiff"
depends_on "mesa"
depends_on "mesa-glu"

depends_on "proj"
depends_on "python" if build.head? && build.with?("examples")
depends_on "xerces-c"

depends_on "ffmpeg" => :optional
depends_on "gdal" => :optional
depends_on "gl2ps" => :optional
depends_on "open-scene-graph" => :optional
depends_on "swig" => :optional

# workaround due to dependency gdal -> numpy -> openblas -> gcc (originally gfortran)
# (use 'brew deps --tree sumo' to see dependencies of higher levels)
# also see: https://github.com/davidchall/homebrew-hep/issues/28
Expand Down

0 comments on commit ebf949a

Please sign in to comment.