homebrew-core/Formula/reclass.rb
Mike McQuaid 94f6de65f6 Revert "reclass: add 1.3 bottle."
This reverts commit 944986b0a5b710e0172bc3c708bd17fbfb656c43.
2014-06-20 19:49:32 +01:00

22 lines
664 B
Ruby

require "formula"
class Reclass < Formula
homepage "http://reclass.pantsfullofunix.net/"
head "https://github.com/madduck/reclass.git"
url "https://github.com/madduck/reclass/archive/reclass-1.3.tar.gz"
sha1 "eaa8eb1fd22aa040fa7a57c613c6223706904578"
depends_on :python if MacOS.version <= :snow_leopard
def install
ENV.prepend_create_path "PYTHONPATH", "#{libexec}/lib/python2.7/site-packages"
system "python", "setup.py", "install", "--prefix=#{libexec}"
bin.install Dir[libexec/"bin/*"]
bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"])
end
test do
system "#{bin}/reclass", "--version"
end
end