parent
77836cfb3f
commit
aae447996c
@ -55,10 +55,14 @@ class Formula
|
|||||||
end
|
end
|
||||||
|
|
||||||
def python(_options = {}, &block)
|
def python(_options = {}, &block)
|
||||||
opoo "Formula#python is deprecated and will go away shortly."
|
opoo "Formula#python is deprecated."
|
||||||
block.call if block_given?
|
block.call if block_given?
|
||||||
PythonRequirement.new
|
PythonRequirement.new
|
||||||
end
|
end
|
||||||
alias_method :python2, :python
|
alias_method :python2, :python
|
||||||
alias_method :python3, :python
|
alias_method :python3, :python
|
||||||
|
|
||||||
|
def startup_plist
|
||||||
|
opoo "startup_plist is deprecated: use plist instead."
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -725,7 +725,6 @@ class Formula
|
|||||||
def plist
|
def plist
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
alias_method :startup_plist, :plist
|
|
||||||
|
|
||||||
# The generated launchd {.plist} service name.
|
# The generated launchd {.plist} service name.
|
||||||
def plist_name
|
def plist_name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user