git-remote-gcrypt 1.2 (new formula)

added new formula

Closes #47907.

Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
Jay Colson 2019-12-15 15:51:01 +00:00 committed by Rui Chen
parent 02d7525788
commit b2dcca0227

View file

@ -0,0 +1,18 @@
class GitRemoteGcrypt < Formula
desc "GPG-encrypted git remotes"
homepage "https://spwhitton.name/tech/code/git-remote-gcrypt/"
url "https://github.com/spwhitton/git-remote-gcrypt/archive/1.2.tar.gz"
sha256 "6f00d5891639f8d2c263ca15b14ad02bb5a8dd048e9c778fcc12a38cb26f51c4"
depends_on "docutils" => :build
def install
inreplace "./install.sh", "rst2man", "rst2man.py"
ENV["prefix"] = prefix
system "./install.sh"
end
test do
assert_match("fetch\npush\n", pipe_output("#{bin}/git-remote-gcrypt", "capabilities\n", 0))
end
end