From 0cf37c1b809a7348eff18f8c91d6f09347c648cf Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Fri, 20 Sep 2024 01:48:45 +0800 Subject: [PATCH 1/2] neo4j: build an `:all` bottle The only differences between the bottles are `/usr/local` references inside comments in the completion scripts. Let's also install the shell completions since we're already modifying them. --- Formula/n/neo4j.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Formula/n/neo4j.rb b/Formula/n/neo4j.rb index 3c8ef5712cac..0be97db3b21b 100644 --- a/Formula/n/neo4j.rb +++ b/Formula/n/neo4j.rb @@ -36,8 +36,13 @@ def install # Install jars in libexec to avoid conflicts libexec.install Dir["*"] + bash_completion.install (libexec/"bin/completion").children + # Ensure uniform bottles by replacing comments that reference `/usr/local`. + inreplace bash_completion.children, "/usr/local", HOMEBREW_PREFIX + rm_r libexec/"bin/completion" + # Symlink binaries - bin.install Dir["#{libexec}/bin/neo4j{,-shell,-import,-shared.sh,-admin}"] + bin.install libexec.glob("bin/neo4j*") bin.env_script_all_files(libexec/"bin", env) # Adjust UDC props From 8d54f98c20f5acae6763b17697776a08084a1fa9 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 19 Sep 2024 18:49:38 +0000 Subject: [PATCH 2/2] neo4j: update 5.23.0 bottle. --- Formula/n/neo4j.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Formula/n/neo4j.rb b/Formula/n/neo4j.rb index 0be97db3b21b..9aca2cb47ad8 100644 --- a/Formula/n/neo4j.rb +++ b/Formula/n/neo4j.rb @@ -12,14 +12,8 @@ class Neo4j < Formula end bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "6a96c2cf085392c178fc5178bf4f34f64d771f85f7ecdc757efc4e2415837098" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "6a96c2cf085392c178fc5178bf4f34f64d771f85f7ecdc757efc4e2415837098" - sha256 cellar: :any_skip_relocation, arm64_ventura: "6a96c2cf085392c178fc5178bf4f34f64d771f85f7ecdc757efc4e2415837098" - sha256 cellar: :any_skip_relocation, arm64_monterey: "6a96c2cf085392c178fc5178bf4f34f64d771f85f7ecdc757efc4e2415837098" - sha256 cellar: :any_skip_relocation, sonoma: "acbcc86bd703dd71220ad921843c72df30f8a73b0291d157a7d3d139f27913cf" - sha256 cellar: :any_skip_relocation, ventura: "acbcc86bd703dd71220ad921843c72df30f8a73b0291d157a7d3d139f27913cf" - sha256 cellar: :any_skip_relocation, monterey: "acbcc86bd703dd71220ad921843c72df30f8a73b0291d157a7d3d139f27913cf" - sha256 cellar: :any_skip_relocation, x86_64_linux: "6a96c2cf085392c178fc5178bf4f34f64d771f85f7ecdc757efc4e2415837098" + rebuild 1 + sha256 cellar: :any_skip_relocation, all: "41bd232865678761a9903c5ae1eccb56bafd0763cb66a767ac0462e18d4e82db" end depends_on "cypher-shell"