blob: 687f576a2d3943c3f9aece5ffd6befff923d43d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  | 
require 'formula'
class PyenvVirtualenvwrapper < Formula
  homepage 'https://github.com/yyuu/pyenv-virtualenvwrapper'
  url 'https://github.com/yyuu/pyenv-virtualenvwrapper/archive/v20140321.tar.gz'
  sha1 '964b6a52f4c097effd03a5c3005a42dfbb413508'
  head 'https://github.com/yyuu/pyenv-virtualenvwrapper.git'
  depends_on 'pyenv'
  def install
    ENV['PREFIX'] = prefix
    system "./install.sh"
  end
  test do
    system "eval \"$(pyenv init -)\" && pyenv virtualenvwrapper"
  end
end
  |