pyenv-virtualenvwrapper: modernize
This commit is contained in:
parent
3915499fad
commit
fadbf0b1f6
1 changed files with 7 additions and 9 deletions
|
@ -1,20 +1,18 @@
|
|||
require 'formula'
|
||||
|
||||
class PyenvVirtualenvwrapper < Formula
|
||||
homepage 'https://github.com/yyuu/pyenv-virtualenvwrapper'
|
||||
url 'https://github.com/yyuu/pyenv-virtualenvwrapper/archive/v20140609.tar.gz'
|
||||
sha1 '04c36c836cbf1284f9d3bb5c442f40712022b532'
|
||||
homepage "https://github.com/yyuu/pyenv-virtualenvwrapper"
|
||||
url "https://github.com/yyuu/pyenv-virtualenvwrapper/archive/v20140609.tar.gz"
|
||||
sha1 "04c36c836cbf1284f9d3bb5c442f40712022b532"
|
||||
|
||||
head 'https://github.com/yyuu/pyenv-virtualenvwrapper.git'
|
||||
head "https://github.com/yyuu/pyenv-virtualenvwrapper.git"
|
||||
|
||||
depends_on 'pyenv'
|
||||
depends_on "pyenv"
|
||||
|
||||
def install
|
||||
ENV['PREFIX'] = prefix
|
||||
ENV["PREFIX"] = prefix
|
||||
system "./install.sh"
|
||||
end
|
||||
|
||||
test do
|
||||
system "eval \"$(pyenv init -)\" && pyenv virtualenvwrapper"
|
||||
shell_output("eval \"$(pyenv init -)\" && pyenv virtualenvwrapper")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue