@@ -4,6 +4,7 @@ class PythonAT38 < Formula
4
4
url "https://www.python.org/ftp/python/3.8.7/Python-3.8.7.tar.xz"
5
5
sha256 "ddcc1df16bb5b87aa42ec5d20a5b902f2d088caa269b28e01590f97a798ec50a"
6
6
license "Python-2.0"
7
+ revision 1
7
8
8
9
livecheck do
9
10
url "https://www.python.org/ftp/python/"
@@ -43,17 +44,15 @@ class PythonAT38 < Formula
43
44
uses_from_macos "zlib"
44
45
45
46
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"
48
47
49
48
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 "
52
51
end
53
52
54
53
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 "
57
56
end
58
57
59
58
resource "wheel" do
@@ -226,17 +225,16 @@ def post_install
226
225
end
227
226
end
228
227
229
- rm_rf [ bin /"pip" , bin / "easy_install" ]
228
+ rm_rf [ bin /"pip" ]
230
229
mv bin /"wheel" , bin /"wheel3"
231
230
232
231
# Create symlink python3 -> python3.8 (due to use of altinstall and conflict with python@3.8 formulae)
233
232
bin . install_symlink ( bin /"python3.8" ) => "python3"
234
233
235
234
# Install unversioned symlinks in libexec/bin.
236
235
{
237
- "easy_install" => "easy_install-#{ xy } " ,
238
- "pip" => "pip3" ,
239
- "wheel" => "wheel3" ,
236
+ "pip" => "pip3" ,
237
+ "wheel" => "wheel3" ,
240
238
} . each do |unversioned_name , versioned_name |
241
239
( libexec /"bin" ) . install_symlink ( bin /versioned_name ) . realpath => unversioned_name
242
240
end
0 commit comments