diff --git a/Formula/macaulay2-common.rb b/Formula/macaulay2-common.rb index 036f4a4..50f66c3 100644 --- a/Formula/macaulay2-common.rb +++ b/Formula/macaulay2-common.rb @@ -1,8 +1,8 @@ class Macaulay2Common < Formula desc "Software system for algebraic geometry research" homepage "http://macaulay2.com" - url "https://github.com/Macaulay2/M2-emacs.git", using: :git, revision: "5029b532a2738d476fd685ac8d57324133c6d83e" - version "1.22" + url "https://github.com/Macaulay2/M2-emacs.git", using: :git, revision: "e29832126afb0b153505f69eb942b0f509ac8f41" + version "1.23" license any_of: ["GPL-2.0-only", "GPL-3.0-only"] bottle do @@ -15,17 +15,17 @@ class Macaulay2Common < Formula keg_only "it only installs documentation for macaulay2/tap/M2" - resource "v1.22" do - url "https://github.com/Macaulay2/homebrew-tap/releases/download/macaulay2-1.22_2/macaulay2-1.22_2.ventura.bottle.tar.gz" - sha256 "6f520730827d921b2f05719c43f5d260968490ab73b2240d99cc79f0a8d408b9" + resource "v1.23" do + url "https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:2de324956110d5c1dea1a6693fa9dfe22e45d5900093b5086983afb0468470ef?se=2024-03-23T06%3A30%3A00Z&sig=suoFPeqHEoPgFcxnfOs66fjA0o2afXGf4BNC%2Fjg%2Buls%3D&sp=r&spr=https&sr=b&sv=2019-12-12" + sha256 "2de324956110d5c1dea1a6693fa9dfe22e45d5900093b5086983afb0468470ef" end def install - resource("v1.22").stage buildpath + resource("v1.23").stage buildpath # nothing from the M2-emacs repository is actually used, # but brew requires at least one url, so I gave it one. - mv buildpath/"1.22_2/share", prefix - mv buildpath/"1.22_2/lib", prefix + mv buildpath/"1.23/share", prefix + mv buildpath/"1.23/lib", prefix rm_rf share/"emacs" end