aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJeroen2013-07-28 00:51:48 +0200
committerSamuel John2013-08-08 18:15:33 +0200
commit2c45ddf949733f3028544727fb9d07c45e77ff2b (patch)
tree4a93f31e14d725e8844e665e98e1a78df4e8499f /Library/Formula
parent2393206ea8874bbf1a53e591d0d02ea89dbca1c2 (diff)
downloadhomebrew-2c45ddf949733f3028544727fb9d07c45e77ff2b.tar.bz2
ninja-ide: 2.3 - Python IDE
NINJA-IDE (from: "Ninja Is Not Just Another IDE"), is a cross-platform integrated development environment specially designed to build Python Applications. NINJA-IDE provides tools to simplify the Python-software development and handles all kinds of situations thanks to its rich extensibility. Closes #21487 Signed-off-by: Samuel John <github@SamuelJohn.de> Just added a test and fixed the python fsenvents dep.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ninja-ide.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/ninja-ide.rb b/Library/Formula/ninja-ide.rb
new file mode 100644
index 000000000..e51fa8eb7
--- /dev/null
+++ b/Library/Formula/ninja-ide.rb
@@ -0,0 +1,22 @@
+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
+ depends_on :python => ['fsevents' => 'MacFSEvents']
+ depends_on 'pyqt'
+
+ def install
+ python do
+ system python, "setup.py", "install", "--prefix=#{prefix}",
+ "--single-version-externally-managed", "--record=installed.txt"
+ end
+ end
+
+ test do
+ system "ninja-ide", "-h"
+ end
+end