homebrew-core/Formula/mackup.rb
Alexander Schramm 8fc9bbe32e Mackup 0.8.3
Closes Homebrew/homebrew#36683.

Signed-off-by: Brett Koonce <koonce@gmail.com>
2015-02-09 20:46: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.3.tar.gz"
sha1 "09e455ab0e8efec8500ba07fef3e8b3633c13d28"
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