homebrew-core/Formula/mackup.rb
glaszig 49b9b2965c mackup 0.8.2
Closes Homebrew/homebrew#36298.

Signed-off-by: Brett Koonce <koonce@gmail.com>
2015-01-27 21:44:58 -08:00

20 lines
579 B
Ruby

require "formula"
class Mackup < Formula
homepage "https://github.com/lra/mackup"
url "https://github.com/lra/mackup/archive/0.8.2.tar.gz"
sha1 "364045a943a88a3c12bfaf8c374a345392288600"
head "https://github.com/lra/mackup.git"
def install
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages"
system "python", *Language::Python.setup_install_args(libexec)
bin.install Dir[libexec/"bin/*"]
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
end
test do
system "#{bin}/mackup", "--help"
end
end