From fe8080bad915c6734e754202fda6ced3e6ed4b72 Mon Sep 17 00:00:00 2001 From: Ilya Otyutskiy Date: Tue, 4 Mar 2014 13:17:29 +0400 Subject: pyenv-virtualenvwrapper 20140122 (new formula) Closes #27187. Signed-off-by: Mike McQuaid --- Library/Formula/pyenv-virtualenvwrapper.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Library/Formula/pyenv-virtualenvwrapper.rb (limited to 'Library/Formula/pyenv-virtualenvwrapper.rb') diff --git a/Library/Formula/pyenv-virtualenvwrapper.rb b/Library/Formula/pyenv-virtualenvwrapper.rb new file mode 100644 index 000000000..e8d53da43 --- /dev/null +++ b/Library/Formula/pyenv-virtualenvwrapper.rb @@ -0,0 +1,20 @@ +require 'formula' + +class PyenvVirtualenvwrapper < Formula + homepage 'https://github.com/yyuu/pyenv-virtualenvwrapper' + url 'https://github.com/yyuu/pyenv-virtualenvwrapper/archive/v20140122.tar.gz' + sha1 '7233865730c207d6e6660db906be19b88cb3ca3b' + + 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 -- cgit v1.2.3