cee85d8884
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 Homebrew/homebrew#29518. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
23 lines
618 B
Ruby
23 lines
618 B
Ruby
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
|