needs_python? separate formula name from tap name
This commit is contained in:
parent
505c1e7240
commit
a7a9793f99
@ -167,7 +167,7 @@ module Language
|
||||
def needs_python?(python)
|
||||
return true if build.with?(python)
|
||||
|
||||
(requirements.to_a | deps).any? { |r| r.name == python && r.required? }
|
||||
(requirements.to_a | deps).any? { |r| r.name.split("/").last == python && r.required? }
|
||||
end
|
||||
|
||||
# Helper method for the common case of installing a Python application.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user