79e13e4e0a
Closes Homebrew/homebrew#35500. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
19 lines
500 B
Ruby
19 lines
500 B
Ruby
class PyenvCcache < Formula
|
|
homepage "https://github.com/yyuu/pyenv-ccache"
|
|
url "https://github.com/yyuu/pyenv-ccache/archive/v0.0.2.tar.gz"
|
|
sha1 "bd68c92315c5aa8e2d596981f0fab31e6c366137"
|
|
|
|
head "https://github.com/yyuu/pyenv-ccache.git"
|
|
|
|
depends_on "pyenv"
|
|
depends_on "ccache" => :recommended
|
|
|
|
def install
|
|
ENV["PREFIX"] = prefix
|
|
system "./install.sh"
|
|
end
|
|
|
|
test do
|
|
assert shell_output("eval \"$(pyenv init -)\" && pyenv hooks install").include?("ccache.bash")
|
|
end
|
|
end
|