From fd90200760ab439302a47720b2172e6a16a49bc4 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Mon, 29 Jan 2018 04:45:59 -0800 Subject: [PATCH] alluxio 1.7.0 (#23436) rename from tachyon --- Aliases/tachyon | 1 + Formula/alluxio.rb | 27 +++++++++++++++++++++++++++ Formula/tachyon.rb | 27 --------------------------- formula_renames.json | 1 + 4 files changed, 29 insertions(+), 27 deletions(-) create mode 120000 Aliases/tachyon create mode 100644 Formula/alluxio.rb delete mode 100644 Formula/tachyon.rb diff --git a/Aliases/tachyon b/Aliases/tachyon new file mode 120000 index 00000000000..12026ac16e9 --- /dev/null +++ b/Aliases/tachyon @@ -0,0 +1 @@ +../Formula/alluxio.rb \ No newline at end of file diff --git a/Formula/alluxio.rb b/Formula/alluxio.rb new file mode 100644 index 00000000000..f507088818c --- /dev/null +++ b/Formula/alluxio.rb @@ -0,0 +1,27 @@ +class Alluxio < Formula + desc "Open Source Memory Speed Virtual Distributed Storage" + homepage "https://www.alluxio.org/" + url "http://downloads.alluxio.org/downloads/files/1.7.0/alluxio-1.7.0-bin.tar.gz" + sha256 "2d66f789bc89d0e01ce0e695848fa3aaff9e236bdc48a6cf9ac501393f4ff23d" + + bottle :unneeded + + def install + doc.install Dir["docs/*"] + libexec.install Dir["*"] + bin.write_exec_script Dir["#{libexec}/bin/*"] + + (etc/"alluxio").install libexec/"conf/alluxio-env.sh.template" => "alluxio-env.sh" + ln_sf "#{etc}/alluxio/alluxio-env.sh", "#{libexec}/conf/alluxio-env.sh" + end + + def caveats; <<~EOS + To configure alluxio, edit + #{etc}/alluxio/alluxio-env.sh + EOS + end + + test do + system bin/"alluxio", "version" + end +end diff --git a/Formula/tachyon.rb b/Formula/tachyon.rb deleted file mode 100644 index a07240ad052..00000000000 --- a/Formula/tachyon.rb +++ /dev/null @@ -1,27 +0,0 @@ -class Tachyon < Formula - desc "Open Source Memory Speed Virtual Distributed Storage" - homepage "http://tachyon-project.org/" - url "http://tachyon-project.org/downloads/files/0.8.2/tachyon-0.8.2-bin.tar.gz" - sha256 "52823ba1b5764a3c4be6738a0becb80d88de636bb605310718f6bf0fdbb632a0" - - bottle :unneeded - - def install - doc.install Dir["docs/*"] - libexec.install Dir["*"] - bin.write_exec_script Dir["#{libexec}/bin/*"] - - (etc/"tachyon").install libexec/"conf/tachyon-env.sh.template" => "tachyon-env.sh" - ln_sf "#{etc}/tachyon/tachyon-env.sh", "#{libexec}/conf/tachyon-env.sh" - end - - def caveats; <<~EOS - To configure tachyon, edit - #{etc}/tacyon/tachyon-env.sh - EOS - end - - test do - system bin/"tachyon", "version" - end -end diff --git a/formula_renames.json b/formula_renames.json index 25e33d393c3..7308bfd2025 100644 --- a/formula_renames.json +++ b/formula_renames.json @@ -169,6 +169,7 @@ "subversion18": "subversion@1.8", "swig2": "swig@2", "swig304": "swig@3.04", + "tachyon": "alluxio", "team-explorer-everywhere": "tee-clc", "tensorflow": "libtensorflow", "thrift@0.90": "thrift@0.9",