Skip to content

Commit

Permalink
macaulay2-common: 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud committed Dec 28, 2023
1 parent ece74a5 commit 6e64c40
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Formula/macaulay2-common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@ 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

bottle do
root_url "https://github.com/Macaulay2/homebrew-tap/releases/download/macaulay2-common-1.20_1"
sha256 cellar: :any_skip_relocation, big_sur: "5b2f3c1457cd85d8503fed486fd54dd39cabf2533d5641fc5ee4fac61f121f7d"
sha256 cellar: :any_skip_relocation, catalina: "1dd43e4eab5d02dff7dc10ee2cbdf5ba744af9e384a3694676b0750b545cadf8"
sha256 cellar: :any_skip_relocation, x86_64_linux: "3187b44b7fe52ade5a4a073f747a97b2b48d97e7bdb6d05bebc322c95a8ce26f"
root_url "https://github.com/Macaulay2/homebrew-tap/releases/download/macaulay2-common-1.22"
sha256 cellar: :any_skip_relocation, big_sur: "07cf937af6de9653a7337a4c58c94aff8f390f5cd60231ef39b7e91b3ba05549"
sha256 cellar: :any_skip_relocation, monterey: "2bc6d3176a0d741ad5a0cb521b62491842f36f2050fb9e41879ad90235ec3908"
sha256 cellar: :any_skip_relocation, ventura: "8b8e5372d7b2d71ebb7e928f568e5110b8e8abbf8717d6e5de4013b5011e1f22"
sha256 cellar: :any_skip_relocation, x86_64_linux: "3f297ee3114e0a08ef37bc247f1a19bab1d2a42c4392700fc7bf99701afcd4fd"
end

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

Expand Down

0 comments on commit 6e64c40

Please sign in to comment.