python: drop universal

This commit is contained in:
FX Coudert 2017-03-11 19:31:13 +01:00
parent e579fffaf4
commit 3538e06db9

View file

@ -14,7 +14,6 @@ class Python < Formula
# Please don't add a wide/ucs4 option as it won't be accepted.
# More details in: https://github.com/Homebrew/homebrew/pull/32368
option :universal
option "with-quicktest", "Run `make quicktest` after the build (for devs; may fail)"
option "with-tcl-tk", "Use Homebrew's Tk instead of macOS Tk (has optional Cocoa and threads support)"
option "with-poll", "Enable select.poll, which is not fully implemented on macOS (https://bugs.python.org/issue5154)"
@ -140,11 +139,6 @@ class Python < Formula
s.gsub! "/usr/include/db4", Formula["berkeley-db@4"].opt_include
end
if build.universal?
ENV.universal_binary
args << "--enable-universalsdk=/" << "--with-universal-archs=intel"
end
if build.with? "sqlite"
inreplace "setup.py" do |s|
s.gsub! "sqlite_setup_debug = False", "sqlite_setup_debug = True"