newick-utils 1.6: Move to Homebrew/science
Closes Homebrew/homebrew#35671. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
79fa433747
commit
1a27bf5a2a
1 changed files with 0 additions and 40 deletions
|
@ -1,40 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class NewickUtils < Formula
|
||||
homepage 'http://cegg.unige.ch/newick_utils'
|
||||
url 'http://cegg.unige.ch/pub/newick-utils-1.6.tar.gz'
|
||||
sha1 'a9779054dcbf957618458ebfed07991fabeb3e19'
|
||||
|
||||
# don't bother testing nw_gen, it's known to fail on MacOSX
|
||||
patch :DATA
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system "make"
|
||||
system "make check"
|
||||
system "make install"
|
||||
end
|
||||
|
||||
test do
|
||||
expected = <<-EOS
|
||||
+-------------------------------------+ B
|
||||
=| A
|
||||
+---------------------------------------------------------------------------+ C
|
||||
|
||||
|------------------|------------------|------------------|------------------|
|
||||
0 0.5 1 1.5 2
|
||||
substitutions/site
|
||||
EOS
|
||||
|
||||
output = pipe_output("#{bin}/nw_display -", "(B:1,C:2)A;\n")
|
||||
assert_equal expected, output.split("\n").map(&:rstrip).join("\n")
|
||||
end
|
||||
end
|
||||
|
||||
__END__
|
||||
--- a/tests/test_nw_gen.sh
|
||||
+++ b/tests/test_nw_gen.sh
|
||||
@@ -138,0 +139,2 @@
|
||||
+pass=TRUE
|
||||
+
|
Loading…
Reference in a new issue