Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python@3.8: update setuptools/pip/wheel, add livecheck #93

Merged
merged 1 commit into from Sep 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 11 additions & 6 deletions Formula/python@3.8.rb
Expand Up @@ -5,6 +5,11 @@ class PythonAT38 < Formula
sha256 "e3003ed57db17e617acb382b0cade29a248c6026b1bd8aad1f976e9af66a83b0"
license "Python-2.0"

livecheck do
url "https://www.python.org/ftp/python/"
regex(%r{href=.*?v?(3\.8(?:\.\d+)*)/?["' >]}i)
end

# setuptools remembers the build flags python is built with and uses them to
# build packages later. Xcode-only systems need different flags.
pour_bottle? do
Expand Down Expand Up @@ -36,18 +41,18 @@ class PythonAT38 < Formula
"bin/easy_install-3.7", "bin/easy_install-3.8"

resource "setuptools" do
url "https://pypi.org/packages/source/s/setuptools/setuptools-49.2.0.zip"
sha256 "afe9e81fee0270d3f60d52608549cc8ec4c46dada8c95640c1a00160f577acf2"
url "https://pypi.org/packages/source/s/setuptools/setuptools-49.6.0.zip"
sha256 "46bd862894ed22c2edff033c758c2dc026324788d758e96788e8f7c11f4e9707"
end

resource "pip" do
url "https://www.pypi.org/packages/source/p/pip/pip-20.1.1.tar.gz"
sha256 "27f8dc29387dd83249e06e681ce087e6061826582198a425085e0bf4c1cf3a55"
url "https://www.pypi.org/packages/source/p/pip/pip-20.2.2.tar.gz"
sha256 "58a3b0b55ee2278104165c7ee7bc8e2db6f635067f3c66cf637113ec5aa71584"
end

resource "wheel" do
url "https://pypi.org/packages/source/w/wheel/wheel-0.34.2.tar.gz"
sha256 "8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96"
url "https://pypi.org/packages/source/w/wheel/wheel-0.35.1.tar.gz"
sha256 "99a22d87add3f634ff917310a3d87e499f19e663413a52eb9232c447aa646c9f"
end

# Remove this block when upstream adds arm64 compatibility
Expand Down