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

qsv 3.1.1 #208815

Merged
merged 2 commits into from
Feb 25, 2025
Merged

qsv 3.1.1 #208815

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
20 changes: 11 additions & 9 deletions Formula/q/qsv.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Qsv < Formula
desc "Ultra-fast CSV data-wrangling toolkit"
homepage "https://qsv.dathere.com/"
url "https://github.com/dathere/qsv/archive/refs/tags/3.0.0.tar.gz"
sha256 "25d2fec81e027682c3a67b5d3088082df77a899c946fff423b0f969353b7968b"
url "https://github.com/dathere/qsv/archive/refs/tags/3.1.1.tar.gz"
sha256 "a533e35c4c2a4145e9d94fec76f5cc0ddf4b9f650286145172096e677fce6af5"
license any_of: ["MIT", "Unlicense"]
head "https://github.com/dathere/qsv.git", branch: "master"

Expand All @@ -15,14 +15,16 @@ class Qsv < Formula
end

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "ad4431438657d829e177424596a30297a62a04f62ceea84c3f263d2ee060ec99"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "fa49f312daae64ad05689c7039a8848832d450d8f21b4e74320afe870bd017ac"
sha256 cellar: :any_skip_relocation, arm64_ventura: "4e611bd114d48eceee0ddc4215aea7286c719a1a7fbe5623a185cd146a9f60d6"
sha256 cellar: :any_skip_relocation, sonoma: "34d4a7c27c3fc9adfd2efe194ee94e5a589e56a769b5adfe3f8a8c709ff7ead4"
sha256 cellar: :any_skip_relocation, ventura: "6f7154741c4f1af077f87df4eead798018d08cc19e443455f2187cec1c10092c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "9b123f993a9d9990368fa962c29d9c76f519d86e857ab43ddaceca97c391ab72"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "1962e7a8de6164d69c6d1afdceb5aa8db167bc739677523ed2accce37f3f9c5f"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "13f138ca701756370c670724a89f2ec5f0ac881bd66fcbde398e52eeb9cf90dd"
sha256 cellar: :any_skip_relocation, arm64_ventura: "f470fb011781a80c214f195220653f34fe28d560ddd94bbc5a4f59050a7db2ef"
sha256 cellar: :any_skip_relocation, sonoma: "bd76c6b28d4f8409fae0923d7d5040a1657e56c441274255c5c8af627b88dd96"
sha256 cellar: :any_skip_relocation, ventura: "8f69c6293a2bdb33965aa8322986713e43bd62c72565a97dafd3645370fce1f8"
sha256 cellar: :any_skip_relocation, x86_64_linux: "15a5c92a4344ef00894a05a0faa0bcf30c93f870b48680b3c20b878c62d24fea"
end

depends_on "cmake" => :build # for libz-ng-sys
depends_on "pkgconf" => :build
depends_on "rust" => :build

on_linux do
Expand All @@ -38,7 +40,7 @@ def install

test do
(testpath/"test.csv").write("first header,second header")
assert_equal <<~EOS, shell_output("#{bin}/qsv stats test.csv")
assert_equal <<~EOS, shell_output("#{bin}/qsv stats --dataset-stats test.csv")
field,type,is_ascii,sum,min,max,range,sort_order,sortiness,min_length,max_length,sum_length,avg_length,stddev_length,variance_length,cv_length,mean,sem,geometric_mean,harmonic_mean,stddev,variance,cv,nullcount,max_precision,sparsity,qsv__value
first header,NULL,,,,,,,,,,,,,,,,,,,,,,0,,,
second header,NULL,,,,,,,,,,,,,,,,,,,,,,0,,,
Expand Down
Loading