diff options
| author | Shaun Jackman | 2015-01-08 12:02:02 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-09 08:22:14 +0000 |
| commit | 2bf4acbcabf2c830f4fe5715df859f924d27d7ac (patch) | |
| tree | 04aefab71c6ea7f20e80b7587fcfa6ab157a2f2e | |
| parent | 6caf1988f0d0326d672066112396e257b63585ca (diff) | |
| download | homebrew-2bf4acbcabf2c830f4fe5715df859f924d27d7ac.tar.bz2 | |
newick-utils 1.6: Move to Homebrew/science
Closes #35671.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/newick-utils.rb | 40 | ||||
| -rw-r--r-- | Library/Homebrew/tap_migrations.rb | 1 |
2 files changed, 1 insertions, 40 deletions
diff --git a/Library/Formula/newick-utils.rb b/Library/Formula/newick-utils.rb deleted file mode 100644 index 6bc895413..000000000 --- a/Library/Formula/newick-utils.rb +++ /dev/null @@ -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 -+ diff --git a/Library/Homebrew/tap_migrations.rb b/Library/Homebrew/tap_migrations.rb index 106fea4a7..038d27418 100644 --- a/Library/Homebrew/tap_migrations.rb +++ b/Library/Homebrew/tap_migrations.rb @@ -101,6 +101,7 @@ TAP_MIGRATIONS = { "msgpack-rpc" => "homebrew/boneyard", "mupdf" => "homebrew/x11", "mydumper" => "homebrew/boneyard", + "newick-utils" => "homebrew/science", "nlopt" => "homebrew/science", "octave" => "homebrew/science", "opencv" => "homebrew/science", |
