aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMark Cornick2014-02-20 13:52:13 -0500
committerAdam Vandenberg2014-02-23 14:00:47 -0800
commit9df4abd5088644877cec09216e94414677e4d596 (patch)
treea7e4a4af0fbe0774c14c89ae10944e77076ddcad /Library/Formula
parent06b9f817446c8f7cc600054e9cc5414f2d33dba6 (diff)
downloadhomebrew-9df4abd5088644877cec09216e94414677e4d596.tar.bz2
pyenv-pip-rehash 0.0.3
Closes #26865. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pyenv-pip-rehash.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/pyenv-pip-rehash.rb b/Library/Formula/pyenv-pip-rehash.rb
new file mode 100644
index 000000000..749199220
--- /dev/null
+++ b/Library/Formula/pyenv-pip-rehash.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class PyenvPipRehash < Formula
+ homepage 'https://github.com/yyuu/pyenv-pip-rehash'
+ url 'https://github.com/yyuu/pyenv-pip-rehash/archive/v0.0.3.tar.gz'
+ sha1 'c0d354c7886aed142a46dfd8cf427a7000f40896'
+
+ head 'https://github.com/yyuu/pyenv-pip-rehash.git'
+
+ depends_on 'pyenv'
+
+ def install
+ ENV['PREFIX'] = prefix
+ system "./install.sh"
+ end
+
+ test do
+ %x(pyenv hooks exec).include?('pip.bash')
+ end
+end