Rename requirements named *Dependency.
Dependency is another similar, related class and it's super confusing to have some Requirements that are named *Dependency. Closes Homebrew/homebrew#38891. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
ef2689f51e
commit
b0aec65942
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ class Osxfuse < Formula
|
|||
|
||||
# A fairly heinous hack to workaround our dependency resolution getting upset
|
||||
# See https://github.com/Homebrew/homebrew/issues/35073
|
||||
depends_on ConflictsWithBinaryOsxfuse => :build
|
||||
depends_on ::NonBinaryOsxfuseRequirement => :build
|
||||
depends_on UnsignedKextRequirement => [ :cask => "osxfuse",
|
||||
:download => "http://sourceforge.net/projects/osxfuse/files/" ]
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ class Ranger < Formula
|
|||
|
||||
def install
|
||||
inreplace %w[ranger.py ranger/ext/rifle.py] do |s|
|
||||
s.gsub! "#!/usr/bin/python", "#!#{PythonDependency.new.which_python}"
|
||||
s.gsub! "#!/usr/bin/python", "#!#{PythonRequirement.new.which_python}"
|
||||
end if MacOS.version <= :leopard
|
||||
|
||||
man1.install "doc/ranger.1"
|
||||
|
|
Loading…
Reference in a new issue