nco 4.6.9

Closes #18266.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2017-09-19 02:31:35 -07:00
parent fa3d96c7b2
commit af3416d47b

View file

@ -1,8 +1,8 @@
class Nco < Formula class Nco < Formula
desc "Command-line operators for netCDF and HDF files" desc "Command-line operators for netCDF and HDF files"
homepage "https://nco.sourceforge.io/" homepage "https://nco.sourceforge.io/"
url "https://downloads.sourceforge.net/project/nco/nco-4.6.8.tar.gz" url "https://downloads.sourceforge.net/project/nco/nco-4.6.9.tar.gz"
sha256 "d818a9e4026d5cc5b4372a212ef3385449a757ee00b807ae9b91741bc79a545b" sha256 "efdc0d65d3cc67d0d5dc521709dd0e60b24839e0ae7ded92aaec656890f6f416"
bottle do bottle do
cellar :any cellar :any
@ -45,7 +45,7 @@ class Nco < Formula
test do test do
testpath.install resource("example_nc") testpath.install resource("example_nc")
assert_match "Root record dimension 0: name = time, size = 180", output = shell_output("#{bin}/ncks --json -M WMI_Lear.nc")
shell_output("#{bin}/ncks -M WMI_Lear.nc") assert_match "\"time\": 180", output
end end
end end