diff options
| author | Szymon Kaliski | 2014-05-23 15:00:23 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2014-06-16 20:14:48 -0700 |
| commit | d838fe4988c41a952fb9c288c0fdc6fe06e0aa67 (patch) | |
| tree | 52af5cbd488cf3162ccb40d1f07068aaa0a1ef19 /Library/Formula | |
| parent | 3fec4c92b6bbfb6efefb12c721e4ab175428a33c (diff) | |
| download | homebrew-d838fe4988c41a952fb9c288c0fdc6fe06e0aa67.tar.bz2 | |
ino 0.3.6
Ino is a command line toolkit for working with Arduino hardware.
This commit adds new package for ino version 0.3.6
Official Ino website: http://inotool.org
Closes #29518.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ino.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/ino.rb b/Library/Formula/ino.rb new file mode 100644 index 000000000..3875ea139 --- /dev/null +++ b/Library/Formula/ino.rb @@ -0,0 +1,23 @@ +require "formula" + +class Ino < Formula + homepage "http://inotool.org" + url "https://pypi.python.org/packages/source/i/ino/ino-0.3.6.tar.gz" + sha1 "73fc512ce005d85d6aec5d910d68d6bf8c0f3b26" + + depends_on "picocom" + depends_on :python if MacOS.version <= :snow_leopard + + def install + ENV["PYTHONPATH"] = lib+"python2.7/site-packages" + ENV.prepend_create_path "PYTHONPATH", lib+"python2.7/site-packages" + + system "python", "setup.py", "install", "--prefix=#{prefix}" + + bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH']) + end + + test do + system "#{bin}/ino", "--help" + end +end |
