Skip to content
Merged
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
27 changes: 8 additions & 19 deletions Formula/n/netcdf.rb
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
class Netcdf < Formula
desc "Libraries and data formats for array-oriented scientific data"
homepage "https://www.unidata.ucar.edu/software/netcdf/"
url "https://github.com/Unidata/netcdf-c/archive/refs/tags/v4.10.0.tar.gz"
sha256 "ce160f9c1483b32d1ba8b7633d7984510259e4e439c48a218b95a023dc02fd4c"
license "BSD-3-Clause"
revision 2
head "https://github.com/Unidata/netcdf-c.git", branch: "main"

stable do
url "https://github.com/Unidata/netcdf-c/archive/refs/tags/v4.9.3.tar.gz"
sha256 "990f46d49525d6ab5dc4249f8684c6deeaf54de6fec63a187e9fb382cc0ffdff"

# Backport support for HDF5 2.0.0
# https://github.com/Unidata/netcdf-c/commit/62e5b44a50872a60dd597600ee87b584a0692180
patch do
url "https://raw.githubusercontent.com/Homebrew/homebrew-core/f0a9243159dadf13a5c58097cf73fccc32dec332/Patches/netcdf/4.9.3.patch"
sha256 "73e1591e833a66945391f7e1323d1c077cecdebfb2c918825e9c6f01f912ad60"
end
end

livecheck do
url :stable
regex(/^(?:netcdf[._-])?v?(\d+(?:\.\d+)+)$/i)
end

bottle do
sha256 cellar: :any, arm64_tahoe: "10d18ec71ec26a605c4502a7d6d99773d47a7a51279e47ceea0461e4ad1abc2d"
sha256 cellar: :any, arm64_sequoia: "cc9073c77ea2133b6559ba1945aa391e04d62d09b45d5c091f7121d220e1c616"
sha256 cellar: :any, arm64_sonoma: "bde7dbde9b474aaaf98748d1ecbfe11d52f7104712ba503875fa0fbe482e379a"
sha256 cellar: :any, sonoma: "3d06a5929ab8956cf299d73adaf04c85faa8794bc56f9026913b60a0adfe8f38"
sha256 cellar: :any_skip_relocation, arm64_linux: "57f0217f3718aee8f6e78dd92f5b7d0cc7ad833c7a64b64925cc0e4825f13f97"
sha256 cellar: :any_skip_relocation, x86_64_linux: "0a5e152ac7e674a5f82dccf48d377514d2364dc97b9841a9ea247dc9243cda58"
sha256 cellar: :any, arm64_tahoe: "c9ddcf980457c6068593640c746b5ed0e7d9b252b251172f6417f8ec2053ea66"
sha256 cellar: :any, arm64_sequoia: "163fed6be2e0d4aa70b327be4ca3cc702562764d8138ec2fa5a64c6da5c62e96"
sha256 cellar: :any, arm64_sonoma: "951763c3895c6634ed1de5f58a33f5b6df4f42b13fb7863d39eddcd3d88e2c70"
sha256 cellar: :any, sonoma: "cdb43a113fbd0ffeb4451c3152c8c1c07fcbabbc90cc8575edf4681ebf0093b2"
sha256 cellar: :any_skip_relocation, arm64_linux: "451da8be1f36b126818e0f0ddb8bde360fd49c7b2af26ed7b920915d4e4caab8"
sha256 cellar: :any_skip_relocation, x86_64_linux: "33334198a494db895097576ac2a797497979a47617ae8cd19c13abe2d8052c41"
end

depends_on "cmake" => :build
Expand Down
Loading