Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macaulay2-common: 1.22 #201

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions Formula/macaulay2-common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,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.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"
Expand All @@ -15,17 +14,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

Expand Down
Loading