20 lines
566 B
Ruby
20 lines
566 B
Ruby
class PyenvCcache < Formula
|
|
desc "Make Python build faster, using the leverage of `ccache`"
|
|
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
|