Skip to content

Commit 7d1c89f

Browse files
committed
python@3.8: update style; update setuptools
Closes #136. Signed-off-by: Aleks Bunin <868842+sashkab@users.noreply.github.com>
1 parent d462655 commit 7d1c89f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Formula/python@3.8.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ class PythonAT38 < Formula
4242
"bin/easy_install-3.7", "bin/easy_install-3.8"
4343

4444
resource "setuptools" do
45-
url "https://pypi.org/packages/source/s/setuptools/setuptools-57.4.0.tar.gz"
46-
sha256 "6bac238ffdf24e8806c61440e755192470352850f3419a52f26ffe0a1a64f465"
45+
url "https://pypi.org/packages/source/s/setuptools/setuptools-58.0.3.tar.gz"
46+
sha256 "5e4c36f55012a46c1b3e4b67a8236d1d73856a90fc7b3207d29bedb7d2bac417"
4747
end
4848

4949
resource "pip" do
@@ -82,7 +82,7 @@ def install
8282
ENV["PYTHONPATH"] = nil
8383

8484
# Override the auto-detection in setup.py, which assumes a universal build.
85-
on_macos do
85+
if OS.mac?
8686
ENV["PYTHON_DECIMAL_WITH_MACHINE"] = Hardware::CPU.arm? ? "uint128" : "x64"
8787
end
8888

0 commit comments

Comments
 (0)