Skip to content

Commit 8122be7

Browse files
authored
Merge pull request #124 from sashkab/3.8
python@3.8: update pip and setuptools.
2 parents 4693ca8 + 7342455 commit 8122be7

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

Formula/python@3.8.rb

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class PythonAT38 < Formula
44
url "https://www.python.org/ftp/python/3.8.7/Python-3.8.7.tar.xz"
55
sha256 "ddcc1df16bb5b87aa42ec5d20a5b902f2d088caa269b28e01590f97a798ec50a"
66
license "Python-2.0"
7+
revision 1
78

89
livecheck do
910
url "https://www.python.org/ftp/python/"
@@ -43,17 +44,15 @@ class PythonAT38 < Formula
4344
uses_from_macos "zlib"
4445

4546
skip_clean "bin/pip3", "bin/pip-3.4", "bin/pip-3.5", "bin/pip-3.6", "bin/pip-3.7", "bin/pip-3.8"
46-
skip_clean "bin/easy_install3", "bin/easy_install-3.4", "bin/easy_install-3.5", "bin/easy_install-3.6",
47-
"bin/easy_install-3.7", "bin/easy_install-3.8"
4847

4948
resource "setuptools" do
50-
url "https://pypi.org/packages/source/s/setuptools/setuptools-51.1.2.tar.gz"
51-
sha256 "4fa149145ba5dcd4aaa89912ec92393a31170eaf17fe0268b1429538bad1f85a"
49+
url "https://pypi.org/packages/source/s/setuptools/setuptools-53.0.0.tar.gz"
50+
sha256 "1b18ef17d74ba97ac9c0e4b4265f123f07a8ae85d9cd093949fa056d3eeeead5"
5251
end
5352

5453
resource "pip" do
55-
url "https://www.pypi.org/packages/source/p/pip/pip-20.3.3.tar.gz"
56-
sha256 "79c1ac8a9dccbec8752761cb5a2df833224263ca661477a2a9ed03ddf4e0e3ba"
54+
url "https://www.pypi.org/packages/source/p/pip/pip-21.0.1.tar.gz"
55+
sha256 "99bbde183ec5ec037318e774b0d8ae0a64352fe53b2c7fd630be1d07e94f41e5"
5756
end
5857

5958
resource "wheel" do
@@ -226,17 +225,16 @@ def post_install
226225
end
227226
end
228227

229-
rm_rf [bin/"pip", bin/"easy_install"]
228+
rm_rf [bin/"pip"]
230229
mv bin/"wheel", bin/"wheel3"
231230

232231
# Create symlink python3 -> python3.8 (due to use of altinstall and conflict with python@3.8 formulae)
233232
bin.install_symlink (bin/"python3.8") => "python3"
234233

235234
# Install unversioned symlinks in libexec/bin.
236235
{
237-
"easy_install" => "easy_install-#{xy}",
238-
"pip" => "pip3",
239-
"wheel" => "wheel3",
236+
"pip" => "pip3",
237+
"wheel" => "wheel3",
240238
}.each do |unversioned_name, versioned_name|
241239
(libexec/"bin").install_symlink (bin/versioned_name).realpath => unversioned_name
242240
end

0 commit comments

Comments
 (0)