Skip to content

Commit c2207db

Browse files
authored
Merge pull request sashkab#74 from sashkab/3.6-3.5
python@3.5 and python@3.6 update resources
2 parents 4b17350 + 57b205a commit c2207db

2 files changed

Lines changed: 18 additions & 8 deletions

File tree

‎Formula/python@3.5.rb‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class PythonAT35 < Formula
2929
skip_clean "bin/easy_install3", "bin/easy_install-3.4", "bin/easy_install-3.5"
3030

3131
resource "setuptools" do
32-
url "https://pypi.org/packages/source/s/setuptools/setuptools-45.2.0.zip"
33-
sha256 "89c6e6011ec2f6d57d43a3f9296c4ef022c2cbf49bab26b407fe67992ae3397f"
32+
url "https://pypi.org/packages/source/s/setuptools/setuptools-46.0.0.zip"
33+
sha256 "2f00f25b780fbfd0787e46891dcccd805b08d007621f24629025f48afef444b5"
3434
end
3535

3636
resource "pip" do
@@ -39,8 +39,8 @@ class PythonAT35 < Formula
3939
end
4040

4141
resource "wheel" do
42-
url "https://pypi.org/packages/source/w/wheel/wheel-0.33.6.tar.gz"
43-
sha256 "10c9da68765315ed98850f8e048347c3eb06dd81822dc2ab1d4fde9dc9702646"
42+
url "https://pypi.org/packages/source/w/wheel/wheel-0.34.2.tar.gz"
43+
sha256 "8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96"
4444
end
4545

4646
def install
@@ -155,6 +155,11 @@ def install
155155
%w[setuptools pip wheel].each do |r|
156156
(libexec/r).install resource(r)
157157
end
158+
159+
# Remove wheel test data.
160+
# It's for people editing wheel and contains binaries which fail `brew linkage`.
161+
rm libexec/"wheel/tox.ini"
162+
rm_r libexec/"wheel/tests"
158163
end
159164

160165
def post_install

‎Formula/python@3.6.rb‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class PythonAT36 < Formula
2929
skip_clean "bin/easy_install3", "bin/easy_install-3.4", "bin/easy_install-3.5", "bin/easy_install-3.6"
3030

3131
resource "setuptools" do
32-
url "https://pypi.org/packages/source/s/setuptools/setuptools-45.2.0.zip"
33-
sha256 "89c6e6011ec2f6d57d43a3f9296c4ef022c2cbf49bab26b407fe67992ae3397f"
32+
url "https://pypi.org/packages/source/s/setuptools/setuptools-46.0.0.zip"
33+
sha256 "2f00f25b780fbfd0787e46891dcccd805b08d007621f24629025f48afef444b5"
3434
end
3535

3636
resource "pip" do
@@ -39,8 +39,8 @@ class PythonAT36 < Formula
3939
end
4040

4141
resource "wheel" do
42-
url "https://pypi.org/packages/source/w/wheel/wheel-0.33.6.tar.gz"
43-
sha256 "10c9da68765315ed98850f8e048347c3eb06dd81822dc2ab1d4fde9dc9702646"
42+
url "https://pypi.org/packages/source/w/wheel/wheel-0.34.2.tar.gz"
43+
sha256 "8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96"
4444
end
4545

4646
def install
@@ -156,6 +156,11 @@ def install
156156
%w[setuptools pip wheel].each do |r|
157157
(libexec/r).install resource(r)
158158
end
159+
160+
# Remove wheel test data.
161+
# It's for people editing wheel and contains binaries which fail `brew linkage`.
162+
rm libexec/"wheel/tox.ini"
163+
rm_r libexec/"wheel/tests"
159164
end
160165

161166
def post_install

0 commit comments

Comments
 (0)