homebrew-core/Formula/pex.rb

38 lines
1.7 KiB
Ruby

class Pex < Formula
desc "Package manager for PostgreSQL"
homepage "https://github.com/petere/pex"
url "https://github.com/petere/pex/archive/1.20140409.tar.gz"
sha256 "5047946a2f83e00de4096cd2c3b1546bc07be431d758f97764a36b32b8f0ae57"
license "MIT"
revision 3
bottle do
sha256 cellar: :any_skip_relocation, arm64_big_sur: "2affe95fc76da2a2f6d289f2fb93a4ac16ace824fd1835d756d0664bc8e9ca25"
sha256 cellar: :any_skip_relocation, big_sur: "02aca9cefc6e949f6a4f2854c70f31cc63fa1c88fb01e2f2e3108a3b608e0552"
sha256 cellar: :any_skip_relocation, catalina: "d266cf66e50d44748ed83ba2a20ffa0bd0530f637d98a85e3ab1b6eb11794319"
sha256 cellar: :any_skip_relocation, mojave: "427b8a701474aa879f8728ec463d3f20aad7c67f7b0ce330245015ec2830806a"
sha256 cellar: :any_skip_relocation, high_sierra: "ed1429f15df1e663735f27b1c7660e289953494b84a84bdd919a7eb077576a72"
sha256 cellar: :any_skip_relocation, sierra: "ed1429f15df1e663735f27b1c7660e289953494b84a84bdd919a7eb077576a72"
sha256 cellar: :any_skip_relocation, el_capitan: "ed1429f15df1e663735f27b1c7660e289953494b84a84bdd919a7eb077576a72"
sha256 cellar: :any_skip_relocation, x86_64_linux: "59626635064ff1c2378a5eb62df32fc06657919d4afe141b545d0e41c51fd1cd"
sha256 cellar: :any_skip_relocation, all: "59626635064ff1c2378a5eb62df32fc06657919d4afe141b545d0e41c51fd1cd"
end
depends_on "postgresql"
def install
system "make", "install", "prefix=#{prefix}", "mandir=#{man}"
end
def caveats
<<~EOS
If installing for the first time, perform the following in order to setup the necessary directory structure:
pex init
EOS
end
test do
assert_match "share/pex/packages", shell_output("#{bin}/pex --repo").strip
end
end