diff options
| -rw-r--r-- | Library/Formula/pyenv-virtualenv.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/pyenv-virtualenv.rb b/Library/Formula/pyenv-virtualenv.rb new file mode 100644 index 000000000..7c972d281 --- /dev/null +++ b/Library/Formula/pyenv-virtualenv.rb @@ -0,0 +1,17 @@ +require 'formula' + +class PyenvVirtualenv < Formula + homepage 'https://github.com/yyuu/pyenv-virtualenv' + url 'https://github.com/yyuu/pyenv-virtualenv/archive/v20130622.tar.gz' + sha1 '2e27b3b76931e6f0eecc4bccb3166d1abc130393' + + head 'https://github.com/yyuu/pyenv-virtualenv.git' + + depends_on 'pyenv' + + def install + ENV['PREFIX'] = prefix + system "./install.sh" + ln_sf opt_prefix, "#{HOMEBREW_PREFIX}/var/lib/pyenv/plugins/#{name}" + end +end |
