File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 158158 $source = $url ? {
159159 false => " ${pkgname}${extras_string} " ,
160160 /^(\/|[a-zA-Z]\:)/ => $url ,
161- /^(git\+|hg\+|bzr\+|svn\+)(http|https|ssh|svn|sftp|ftp|lp)(:\/\/).+$/ => $url ,
161+ /^(git\+|hg\+|bzr\+|svn\+)(http|https|ssh|svn|sftp|ftp|lp|git )(:\/\/).+$/ => $url ,
162162 default => " ${url} #egg=${egg_name} " ,
163163 }
164164
165165 $pip_install = " ${pip_env} --log ${log} /pip.log install"
166166 $pip_common_args = " ${pypi_index} ${proxy_flag} ${install_args} ${install_editable} ${source} "
167167
168168 # Explicit version out of VCS when PIP supported URL is provided
169- if $source =~ /^(git\+|hg\+|bzr\+|svn\+)(http|https|ssh|svn|sftp|ftp|lp)(:\/\/).+$/ {
169+ if $source =~ /^(git\+|hg\+|bzr\+|svn\+)(http|https|ssh|svn|sftp|ftp|lp|git )(:\/\/).+$/ {
170170 if $ensure != present and $ensure != latest {
171171 exec { "pip_install_${name}" :
172172 command => " ${pip_install} ${install_args} ${pip_common_args} @${ensure} #egg=${egg_name} " ,
You can’t perform that action at this time.
0 commit comments