Skip to content

Commit b00080f

Browse files
committed
1 parent ab4c1a6 commit b00080f

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

Formula/python@3.8.rb

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,7 @@ class PythonAT38 < Formula
1717

1818
# setuptools remembers the build flags python is built with and uses them to
1919
# build packages later. Xcode-only systems need different flags.
20-
pour_bottle? do
21-
reason <<~EOS
22-
The bottle needs the Apple Command Line Tools to be installed.
23-
You can install them, if desired, with:
24-
xcode-select --install
25-
EOS
26-
satisfy { MacOS::CLT.installed? }
27-
end
20+
pour_bottle? only_if: :clt_installed
2821

2922
keg_only :versioned_formula
3023

@@ -60,15 +53,6 @@ class PythonAT38 < Formula
6053
sha256 "e11eefd162658ea59a60a0f6c7d493a7190ea4b9a85e335b33489d9f17e0245e"
6154
end
6255

63-
# Remove this block when upstream backports arm64 compatibility to the 3.8 branch
64-
if Hardware::CPU.arm?
65-
# Upstream PRs #20171, #21114, #21224 and #21249
66-
patch do
67-
url "https://raw.githubusercontent.com/Homebrew/formula-patches/cef51fde/python/3.8.7.patch"
68-
sha256 "01ebca9fed99fd0b34abfd198e7d6137e3f851d9d1a07ded837b28c7998e810c"
69-
end
70-
end
71-
7256
# Link against libmpdec.so.3, update for mpdecimal.h symbol cleanup.
7357
patch do
7458
url "https://www.bytereef.org/contrib/decimal-3.8.diff"

0 commit comments

Comments
 (0)