create: call update-python-resources for --python
This commit is contained in:
parent
2d086013f9
commit
c1ba64677f
@ -4,6 +4,7 @@ require "formula"
|
||||
require "formula_creator"
|
||||
require "missing_formula"
|
||||
require "cli/parser"
|
||||
require "utils/pypi"
|
||||
|
||||
module Homebrew
|
||||
module_function
|
||||
@ -137,6 +138,8 @@ module Homebrew
|
||||
|
||||
fc.generate!
|
||||
|
||||
PyPI.update_python_resources! Formula[fc.name], ignore_non_pypi_packages: true if args.python?
|
||||
|
||||
puts "Please run `brew audit --new-formula #{fc.name}` before submitting, thanks."
|
||||
exec_editor fc.path
|
||||
end
|
||||
|
||||
@ -134,7 +134,7 @@ module Homebrew
|
||||
# depends_on "cmake" => :build
|
||||
<% end %>
|
||||
|
||||
<% if mode == :perl || mode == :python %>
|
||||
<% if mode == :perl %>
|
||||
# Additional dependency
|
||||
# resource "" do
|
||||
# url ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user