aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pyenv-virtualenvwrapper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/pyenv-virtualenvwrapper.rb')
-rw-r--r--Library/Formula/pyenv-virtualenvwrapper.rb20
1 files changed, 20 insertions, 0 deletions
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