2013-07-27 22:51:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class NinjaIde < Formula
|
|
|
|
homepage 'http://ninja-ide.org/'
|
|
|
|
url 'https://github.com/ninja-ide/ninja-ide/archive/v2.3.tar.gz'
|
|
|
|
sha1 '64ccbbf8521a8fbef43c3d57cf616b7f8b466460'
|
|
|
|
|
|
|
|
depends_on :python
|
2014-03-12 13:28:21 +00:00
|
|
|
depends_on "MacFSEvents" => [:python, "fsevents"]
|
2013-07-27 22:51:48 +00:00
|
|
|
depends_on 'pyqt'
|
|
|
|
|
|
|
|
def install
|
2014-01-04 13:11:47 +00:00
|
|
|
system "python", "setup.py", "install", "--prefix=#{prefix}",
|
2013-07-27 22:51:48 +00:00
|
|
|
"--single-version-externally-managed", "--record=installed.txt"
|
2014-01-04 13:11:47 +00:00
|
|
|
bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH'])
|
2013-07-27 22:51:48 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "ninja-ide", "-h"
|
|
|
|
end
|
|
|
|
end
|