Skip to content

Commit

Permalink
switch HEAD build for M2 to development
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud committed Nov 12, 2023
1 parent fccc645 commit ece74a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Formula/macaulay2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class Macaulay2 < Formula
stable do
url "https://github.com/Macaulay2/M2/archive/refs/tags/release-1.22.tar.gz"
sha256 "fededb82203d93f3f6db22db97350407fc6e55e90285cc8fa89713ff21d5c0fc"
patch :DATA
patch do
url "https://github.com/Macaulay2/M2/commit/84c7b9f67bfdb6b821e24546ab2dd4e2455dfdbf.patch?full_index=1"
sha256 "135100251be6c1217948c74c46761d7550ed30e4dc27cce6a76a45d34a362f78"
Expand All @@ -23,7 +22,7 @@ class Macaulay2 < Formula
end

head do
url "https://github.com/Macaulay2/M2/archive/refs/heads/master.tar.gz"
url "https://github.com/Macaulay2/M2/archive/refs/heads/development.tar.gz"
end

depends_on "bison" => :build
Expand Down Expand Up @@ -65,6 +64,8 @@ class Macaulay2 < Formula
depends_on "[email protected]" => :recommended
depends_on "topcom" => :recommended

patch :DATA

def install
# Don't print the shims prefix path
inreplace "M2/Macaulay2/packages/Macaulay2Doc/functions/findProgram-doc.m2", "Verbose => true", "Verbose => false"
Expand Down

0 comments on commit ece74a5

Please sign in to comment.