@@ -2,6 +2,7 @@ class Macaulay2 < Formula
22 @name = "M2"
33 desc "Software system for algebraic geometry research"
44 homepage "http://macaulay2.com"
5+ # when bumping to a new release, also update the submodule commits below
56 url "https://github.com/Macaulay2/M2/archive/refs/tags/release-1.25.11.tar.gz"
67 sha256 "9700005196e4368af52156efaff081a4771fd21545a3cd8c2ee3b0571aeaa17f"
78 license any_of : [ "GPL-2.0-only" , "GPL-3.0-only" ]
@@ -68,10 +69,10 @@ def install
6869 inreplace "M2/Macaulay2/d/CMakeLists.txt" , "M2-supervisor" , "M2-supervisor quadmath" unless OS . mac?
6970
7071 # Place the submodules, since the tarfile doesn't include them
71- system "git" , "clone" , "https://github.com/Macaulay2/M2-emacs.git" , "M2/Macaulay2/editors/emacs"
72- system "git" , "clone" , "https://github.com/Macaulay2/memtailor.git" , "M2/submodules/memtailor"
73- system "git" , "clone" , "https://github.com/Macaulay2/mathic.git" , "M2/submodules/mathic"
74- system "git" , "clone" , "https://github.com/Macaulay2/mathicgb.git" , "M2/submodules/mathicgb"
72+ system "git" , "clone" , "--revision=524968452e95d010769ece30092edaa09d1e814f" , " https://github.com/Macaulay2/M2-emacs.git", "M2/Macaulay2/editors/emacs"
73+ system "git" , "clone" , "--revision=07c84a6852212495182ec32c3bdb589579e342b5" , " https://github.com/Macaulay2/memtailor.git", "M2/submodules/memtailor"
74+ system "git" , "clone" , "--revision=7abf77e4ce493b3830c7f8cc09722bbd6c03818e" , " https://github.com/Macaulay2/mathic.git", "M2/submodules/mathic"
75+ system "git" , "clone" , "--revision=de139564927563afef383174fd3cf8c93ee18ab3" , " https://github.com/Macaulay2/mathicgb.git", "M2/submodules/mathicgb"
7576
7677 # Prefix paths for dependencies
7778 lib_prefix = deps . map { |lib | Formula [ lib . name ] . prefix } . join ( ";" )
0 commit comments