|
1 | 1 | class Seqkit < Formula
|
2 | 2 | desc "Cross-platform and ultrafast toolkit for FASTA/Q file manipulation in Golang"
|
3 | 3 | homepage "https://bioinf.shenwei.me/seqkit"
|
4 |
| - url "https://github.com/shenwei356/seqkit/archive/refs/tags/v2.7.0.tar.gz" |
5 |
| - sha256 "b5c723ffd4640659860fc70a71c218d8f53bea0eae571cecc98eff04c7291e02" |
| 4 | + url "https://github.com/shenwei356/seqkit/archive/refs/tags/v2.8.0.tar.gz" |
| 5 | + sha256 "260ff3d483965b15071f4632f9f9c35ca335ebebbd74aa3322ecc37a999be7fe" |
6 | 6 | license "MIT"
|
7 | 7 | head "https://github.com/shenwei356/seqkit.git", branch: "master"
|
8 | 8 |
|
9 | 9 | bottle do
|
10 |
| - sha256 cellar: :any_skip_relocation, arm64_sonoma: "220332904e4a88963670a8735c24e3be0d3725fb6ec5c061952d3135b6193692" |
11 |
| - sha256 cellar: :any_skip_relocation, arm64_ventura: "1a09c4f4ea47fc402958ff04c96174d21e5bc480ef30bcea50a58240e9a710ef" |
12 |
| - sha256 cellar: :any_skip_relocation, arm64_monterey: "1445b55643ef2e37de8892593c3eb53af8cae1bf7481ba8a595632812721a484" |
13 |
| - sha256 cellar: :any_skip_relocation, sonoma: "a09ee8e2d45639f4b8c7017901c5a45a90121cd7b9a0ca6f03c1b6550c29ae18" |
14 |
| - sha256 cellar: :any_skip_relocation, ventura: "e90d3620ddeb5e847f6c1d3d030a03c82a2a542f726c49aec42a1674107dc8b2" |
15 |
| - sha256 cellar: :any_skip_relocation, monterey: "b01e97e77b9be247f2a7c64a0b3ba9081553bb0d6af081c32fce8a5dd7590cc3" |
16 |
| - sha256 cellar: :any_skip_relocation, x86_64_linux: "485c59a26fa5d09874aa047d946c2f0fe6f7cedb6fdea0a9e23781eaefb4222c" |
| 10 | + sha256 cellar: :any_skip_relocation, arm64_sonoma: "e57c507876b8904f066909d3d3e733c22db522698408d11ece06bf34564156a2" |
| 11 | + sha256 cellar: :any_skip_relocation, arm64_ventura: "4cb5765855a07dce5b551f9939481e5fa4b29fb91b2ef53843c35dad6434f555" |
| 12 | + sha256 cellar: :any_skip_relocation, arm64_monterey: "4d72afab3afbd04f58647c3c20d0e2a96b82fe5ddd2715984242467b72e86a02" |
| 13 | + sha256 cellar: :any_skip_relocation, sonoma: "124c29527f79c53260f8ca7337d673ff89ecce7c82149d0367ee95aaa09e3df6" |
| 14 | + sha256 cellar: :any_skip_relocation, ventura: "2c3225241e0556804faea50b8d1721f2a587ed98e22feb81d121729248b18e66" |
| 15 | + sha256 cellar: :any_skip_relocation, monterey: "d874a2e94ccee427d803563543cb46bf0f55ea29442d0c336ae3f0ed65e16d5c" |
| 16 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "9a50ea0f58e3820372221637e0fe7a09c5d93ccfe1b5632359694092a0493ab9" |
17 | 17 | end
|
18 | 18 |
|
19 | 19 | depends_on "go" => :build
|
20 | 20 |
|
21 |
| - resource "homebrew-testdata" do |
22 |
| - url "https://raw.githubusercontent.com/shenwei356/seqkit/e37d70a7e0ca0e53d6dbd576bd70decac32aba64/tests/seqs4amplicon.fa" |
23 |
| - sha256 "b0f09da63e3c677cc698d5cdff60e2d246368263c22385937169a9a4c321178a" |
24 |
| - end |
25 |
| - |
26 | 21 | def install
|
27 | 22 | system "go", "build", *std_go_args(ldflags: "-s -w"), "./seqkit"
|
28 | 23 | end
|
29 | 24 |
|
30 | 25 | test do
|
| 26 | + resource "homebrew-testdata" do |
| 27 | + url "https://raw.githubusercontent.com/shenwei356/seqkit/e37d70a7e0ca0e53d6dbd576bd70decac32aba64/tests/seqs4amplicon.fa" |
| 28 | + sha256 "b0f09da63e3c677cc698d5cdff60e2d246368263c22385937169a9a4c321178a" |
| 29 | + end |
| 30 | + |
31 | 31 | resource("homebrew-testdata").stage do
|
32 | 32 | assert_equal ">seq1\nCCCACTGAAA",
|
33 | 33 | shell_output("#{bin}/seqkit amplicon --quiet -F CCC -R TTT seqs4amplicon.fa").strip
|
|
0 commit comments