From 45b09cdb2ddd1000fe03a8bf264453839684a258 Mon Sep 17 00:00:00 2001 From: Mahrud Sayrafi Date: Wed, 6 Dec 2023 16:10:48 -0600 Subject: [PATCH] macaulay2-common: 1.22 --- Formula/macaulay2-common.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/macaulay2-common.rb b/Formula/macaulay2-common.rb index 2b49e03..ba22786 100644 --- a/Formula/macaulay2-common.rb +++ b/Formula/macaulay2-common.rb @@ -2,7 +2,7 @@ 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.20" + version "1.22" license any_of: ["GPL-2.0-only", "GPL-3.0-only"] revision 1 @@ -15,17 +15,17 @@ class Macaulay2Common < Formula keg_only "it only installs documentation for macaulay2/tap/M2" - resource "v1.20" do - url "https://github.com/Macaulay2/homebrew-tap/releases/download/macaulay2-1.20_2/macaulay2-1.20_2.big_sur.bottle.tar.gz" - sha256 "8e840e42d134e094d0b854d7c934f44ec2ceb465859158830d03ca1cc5e850a0" + 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" end def install - resource("v1.20").stage buildpath + resource("v1.22").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.20_2/share", prefix - mv buildpath/"1.20_2/lib", prefix + mv buildpath/"1.22_2/share", prefix + mv buildpath/"1.22_2/lib", prefix rm_rf share/"emacs" end