From 1c0b0ef31ff866cb51bf498b8da352ac98adfb8c Mon Sep 17 00:00:00 2001 From: Mahrud Sayrafi Date: Mon, 15 Jan 2024 03:57:04 -0600 Subject: [PATCH] corrected syntax issues --- Formula/fflas-ffpack.rb | 6 ++---- Formula/givaro.rb | 6 ++---- Formula/linbox.rb | 6 ++---- Formula/macaulay2.rb | 6 ++---- 4 files changed, 8 insertions(+), 16 deletions(-) diff --git a/Formula/fflas-ffpack.rb b/Formula/fflas-ffpack.rb index 583ea40..d325404 100644 --- a/Formula/fflas-ffpack.rb +++ b/Formula/fflas-ffpack.rb @@ -5,6 +5,8 @@ class FflasFfpack < Formula sha256 "dafb4c0835824d28e4f823748579be6e4c8889c9570c6ce9cce1e186c3ebbb23" license "LGPL-2.1-or-later" + head "https://github.com/linbox-team/fflas-ffpack.git", using: :git + bottle do root_url "https://github.com/Macaulay2/homebrew-tap/releases/download/fflas-ffpack-2.5.0" sha256 cellar: :any_skip_relocation, arm64_monterey: "09243154036963bfe61d886796bafca1b124412a573ae8cc07c881aa2eb76d32" @@ -15,10 +17,6 @@ class FflasFfpack < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "144a8bb935684cfc3e836dc09d6681dcb31f5a3ca9adabf0aa9681862b9d7f92" end - head do - url "https://github.com/linbox-team/fflas-ffpack.git", using: :git - end - depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build diff --git a/Formula/givaro.rb b/Formula/givaro.rb index 5a57580..a466b66 100644 --- a/Formula/givaro.rb +++ b/Formula/givaro.rb @@ -5,6 +5,8 @@ class Givaro < Formula sha256 "865e228812feca971dfb6e776a7bc7ac959cf63ebd52b4f05492730a46e1f189" license "CECILL-B" + head "https://github.com/linbox-team/givaro.git", using: :git + bottle do root_url "https://github.com/Macaulay2/homebrew-tap/releases/download/givaro-4.2.0" sha256 cellar: :any, arm64_monterey: "a2dd485809f7d5e1f9955711478ff277480d9928c953b5521b06bfb617e40076" @@ -15,10 +17,6 @@ class Givaro < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "909af3d560a72e11db51d01d739830f0a1a745450811986d41f21d41d236917d" end - head do - url "https://github.com/linbox-team/givaro.git", using: :git - end - depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build diff --git a/Formula/linbox.rb b/Formula/linbox.rb index 84ad221..dd1413d 100644 --- a/Formula/linbox.rb +++ b/Formula/linbox.rb @@ -5,6 +5,8 @@ class Linbox < Formula sha256 "6d2159fd395be0298362dd37f6c696676237bc8e2757341fbc46520e3b466bcc" license "LGPL-2.1-or-later" + head "https://github.com/linbox-team/linbox.git", using: :git, branch: "master" + bottle do root_url "https://github.com/Macaulay2/homebrew-tap/releases/download/linbox-1.7.0" sha256 cellar: :any, arm64_ventura: "b603f57c404b5b15b830ecddb81f9def82be4d57dbe88c50d5024af347842773" @@ -14,10 +16,6 @@ class Linbox < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "feb752911c5c7156bc95400a4292b60c53ba99a2ae5de57f2e04fe25aea648c4" end - head do - url "https://github.com/linbox-team/linbox.git", using: :git, branch: "master" - end - depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build diff --git a/Formula/macaulay2.rb b/Formula/macaulay2.rb index d2d4394..9d07439 100644 --- a/Formula/macaulay2.rb +++ b/Formula/macaulay2.rb @@ -5,6 +5,8 @@ class Macaulay2 < Formula license any_of: ["GPL-2.0-only", "GPL-3.0-only"] revision 2 + head "https://github.com/Macaulay2/M2/archive/refs/heads/development.tar.gz" + stable do url "https://github.com/Macaulay2/M2/archive/refs/tags/release-1.22.tar.gz" sha256 "fededb82203d93f3f6db22db97350407fc6e55e90285cc8fa89713ff21d5c0fc" @@ -21,10 +23,6 @@ class Macaulay2 < Formula sha256 x86_64_linux: "3e64bb7cf1677029e5374c172c81b6a8b556e762d6d3f2c3465a4c9706414f02" end - head do - url "https://github.com/Macaulay2/M2/archive/refs/heads/development.tar.gz" - end - depends_on "bison" => :build depends_on "cmake" => :build depends_on "ninja" => :build