Merge pull request #207020 from Homebrew/bump-qpdf-11.10.0
[Homebrew/homebrew-core.git] / Formula / t / titan-server.rb
blobd7a7e3d09aec1d951f44c8b1eed681c6084982c0
1 class TitanServer < Formula
2   desc "Distributed graph database"
3   homepage "https://thinkaurelius.github.io/titan/"
4   url "http://s3.thinkaurelius.com/downloads/titan/titan-1.0.0-hadoop1.zip"
5   version "1.0.0"
6   sha256 "67538e231db5be75821b40dd026bafd0cd7451cdd7e225a2dc31e124471bb8ef"
7   license "Apache-2.0"
9   bottle do
10     rebuild 1
11     sha256 cellar: :any_skip_relocation, arm64_sonoma:   "ad979abf4355375d61b23ec670d548680090f6d8ce4616c00f6c039fa99a1838"
12     sha256 cellar: :any_skip_relocation, arm64_ventura:  "c6d98726b834d82fe0adb786919652c5f0e0974ff3cb03969b2c69042cd4998c"
13     sha256 cellar: :any_skip_relocation, arm64_monterey: "d152d5cdf3a9a8f600f9956f9e1687a4cbcccbda4398c69ddde2d44a42d43723"
14     sha256 cellar: :any_skip_relocation, arm64_big_sur:  "d152d5cdf3a9a8f600f9956f9e1687a4cbcccbda4398c69ddde2d44a42d43723"
15     sha256 cellar: :any_skip_relocation, sonoma:         "aa9d2a7bdbbec0244fe31f207bcf289a8453fb9e8786239669180e5b867450df"
16     sha256 cellar: :any_skip_relocation, ventura:        "11f1ceef4d191f1bf683fdec2a0cff3ffff8510b373e83fa12065af581583e0e"
17     sha256 cellar: :any_skip_relocation, monterey:       "6e84706c4de8f9288fe11a9c28d0b6901289ce45ddcd7ff51abc1ecfcc6f3ac3"
18     sha256 cellar: :any_skip_relocation, big_sur:        "6e84706c4de8f9288fe11a9c28d0b6901289ce45ddcd7ff51abc1ecfcc6f3ac3"
19     sha256 cellar: :any_skip_relocation, catalina:       "6e84706c4de8f9288fe11a9c28d0b6901289ce45ddcd7ff51abc1ecfcc6f3ac3"
20     sha256 cellar: :any_skip_relocation, mojave:         "6e84706c4de8f9288fe11a9c28d0b6901289ce45ddcd7ff51abc1ecfcc6f3ac3"
21     sha256 cellar: :any_skip_relocation, x86_64_linux:   "c6d98726b834d82fe0adb786919652c5f0e0974ff3cb03969b2c69042cd4998c"
22   end
24   # upstream is not responsive on the issues and no commits since 2015 dec
25   # community has forked the project to janusgraph
26   # https://github.com/thinkaurelius/titan/issues/1393
27   # https://github.com/thinkaurelius/titan/issues/1392
28   disable! date: "2025-01-01", because: :does_not_build
30   on_linux do
31     depends_on "openjdk"
32   end
34   def install
35     libexec.install %w[bin conf data ext javadocs lib log scripts]
36     bin.install_symlink libexec/"bin/titan.sh" => "titan"
37     bin.install_symlink libexec/"bin/gremlin.sh" => "titan-gremlin"
38     bin.install_symlink libexec/"bin/gremlin-server.sh" => "titan-gremlin-server"
39   end
41   test do
42     assert_match("not found in the java process table", shell_output("#{bin}/titan stop"))
43   end
44 end