aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/charm-tools.rb
blob: 115d7529dbf17df20de7f51310a09043a3789bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'formula'

class CharmTools < Formula
  homepage 'https://launchpad.net/charm-tools'
  url 'https://launchpad.net/charm-tools/1.0/1.0.1/+download/charmtools-1.0.1.tar.gz'
  sha1 '08c7a7c4f266c037d1405981adc080cd6c5be9e1'

  depends_on :python
  depends_on 'libyaml'

  def install
    python do
      system python, "setup.py", "install", "--prefix=#{prefix}"
    end
  end

  def caveats
    python.standard_caveats if python
  end
end