Merge pull request #7273 from jonchang/python-cellar-build-deps

formula_cellar_checks: skip unless Python libs
This commit is contained in:
Bo Anderson 2020-04-04 11:21:56 +01:00 committed by GitHub
commit 24adf6af47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,6 +180,8 @@ module FormulaCellarChecks
match.captures.first
end.compact
return if pythons.blank?
python_deps = deps.map(&:name)
.grep(/^python(@.*)?$/)
.map { |d| Formula[d].version.to_s[/^\d+\.\d+/] }