python: use new pour_bottle DSL.
This commit is contained in:
parent
05d44ca233
commit
a9b282161e
1 changed files with 3 additions and 2 deletions
|
@ -84,8 +84,9 @@ class Python < Formula
|
|||
|
||||
# setuptools remembers the build flags python is built with and uses them to
|
||||
# build packages later. Xcode-only systems need different flags.
|
||||
def pour_bottle?
|
||||
MacOS::CLT.installed?
|
||||
pour_bottle? do
|
||||
reason "The bottle needs the Xcode CLT to be installed."
|
||||
satisfy { MacOS::CLT.installed? }
|
||||
end
|
||||
|
||||
def install
|
||||
|
|
Loading…
Reference in a new issue