Skip to content

Commit

Permalink
python3{5,6,7}: remove checkes for old compilers.
Browse files Browse the repository at this point in the history
upstream@0fd65dbaa6516c1c354a109ecf97479645a8f1e2

closes #36.
  • Loading branch information
sashkab committed Jan 31, 2019
1 parent 0fc389d commit ef70e0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
7 changes: 1 addition & 6 deletions Formula/python35.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Python35 < Formula
homepage "https://www.python.org/" homepage "https://www.python.org/"
url "https://www.python.org/ftp/python/3.5.6/Python-3.5.6.tar.xz" url "https://www.python.org/ftp/python/3.5.6/Python-3.5.6.tar.xz"
sha256 "f55cde04f521f273c7cba08912921cc5642cfc15ca7b22d5829f0aff4371155f" sha256 "f55cde04f521f273c7cba08912921cc5642cfc15ca7b22d5829f0aff4371155f"
revision 1 revision 2


# setuptools remembers the build flags python is built with and uses them to # setuptools remembers the build flags python is built with and uses them to
# build packages later. Xcode-only systems need different flags. # build packages later. Xcode-only systems need different flags.
Expand All @@ -28,11 +28,6 @@ class Python35 < Formula
skip_clean "bin/pip3", "bin/pip-3.4", "bin/pip-3.5" skip_clean "bin/pip3", "bin/pip-3.4", "bin/pip-3.5"
skip_clean "bin/easy_install3", "bin/easy_install-3.4", "bin/easy_install-3.5" skip_clean "bin/easy_install3", "bin/easy_install-3.4", "bin/easy_install-3.5"


fails_with :clang do
build 425
cause "https://bugs.python.org/issue24844"
end

resource "setuptools" do resource "setuptools" do
url "https://pypi.org/packages/source/s/setuptools/setuptools-40.6.3.zip" url "https://pypi.org/packages/source/s/setuptools/setuptools-40.6.3.zip"
sha256 "3b474dad69c49f0d2d86696b68105f3a6f195f7ab655af12ef9a9c326d2b08f8" sha256 "3b474dad69c49f0d2d86696b68105f3a6f195f7ab655af12ef9a9c326d2b08f8"
Expand Down
6 changes: 1 addition & 5 deletions Formula/python36.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ class Python36 < Formula
homepage "https://www.python.org/" homepage "https://www.python.org/"
url "https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz" url "https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz"
sha256 "35446241e995773b1bed7d196f4b624dadcadc8429f26282e756b2fb8a351193" sha256 "35446241e995773b1bed7d196f4b624dadcadc8429f26282e756b2fb8a351193"
revision 1


# setuptools remembers the build flags python is built with and uses them to # setuptools remembers the build flags python is built with and uses them to
# build packages later. Xcode-only systems need different flags. # build packages later. Xcode-only systems need different flags.
Expand All @@ -27,11 +28,6 @@ class Python36 < Formula
skip_clean "bin/pip3", "bin/pip-3.4", "bin/pip-3.5", "bin/pip-3.6" skip_clean "bin/pip3", "bin/pip-3.4", "bin/pip-3.5", "bin/pip-3.6"
skip_clean "bin/easy_install3", "bin/easy_install-3.4", "bin/easy_install-3.5", "bin/easy_install-3.6" skip_clean "bin/easy_install3", "bin/easy_install-3.4", "bin/easy_install-3.5", "bin/easy_install-3.6"


fails_with :clang do
build 425
cause "https://bugs.python.org/issue24844"
end

resource "setuptools" do resource "setuptools" do
url "https://pypi.org/packages/source/s/setuptools/setuptools-40.6.3.zip" url "https://pypi.org/packages/source/s/setuptools/setuptools-40.6.3.zip"
sha256 "3b474dad69c49f0d2d86696b68105f3a6f195f7ab655af12ef9a9c326d2b08f8" sha256 "3b474dad69c49f0d2d86696b68105f3a6f195f7ab655af12ef9a9c326d2b08f8"
Expand Down
6 changes: 1 addition & 5 deletions Formula/python37.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ class Python37 < Formula
homepage "https://www.python.org/" homepage "https://www.python.org/"
url "https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz" url "https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz"
sha256 "d83fe8ce51b1bb48bbcf0550fd265b9a75cdfdfa93f916f9e700aef8444bf1bb" sha256 "d83fe8ce51b1bb48bbcf0550fd265b9a75cdfdfa93f916f9e700aef8444bf1bb"
revision 1


# setuptools remembers the build flags python is built with and uses them to # setuptools remembers the build flags python is built with and uses them to
# build packages later. Xcode-only systems need different flags. # build packages later. Xcode-only systems need different flags.
Expand All @@ -27,11 +28,6 @@ class Python37 < Formula
skip_clean "bin/pip3", "bin/pip-3.4", "bin/pip-3.5", "bin/pip-3.6", "bin/pip-3.7" skip_clean "bin/pip3", "bin/pip-3.4", "bin/pip-3.5", "bin/pip-3.6", "bin/pip-3.7"
skip_clean "bin/easy_install3", "bin/easy_install-3.4", "bin/easy_install-3.5", "bin/easy_install-3.6", "bin/easy_install-3.7" skip_clean "bin/easy_install3", "bin/easy_install-3.4", "bin/easy_install-3.5", "bin/easy_install-3.6", "bin/easy_install-3.7"


fails_with :clang do
build 425
cause "https://bugs.python.org/issue24844"
end

resource "setuptools" do resource "setuptools" do
url "https://pypi.org/packages/source/s/setuptools/setuptools-40.6.3.zip" url "https://pypi.org/packages/source/s/setuptools/setuptools-40.6.3.zip"
sha256 "3b474dad69c49f0d2d86696b68105f3a6f195f7ab655af12ef9a9c326d2b08f8" sha256 "3b474dad69c49f0d2d86696b68105f3a6f195f7ab655af12ef9a9c326d2b08f8"
Expand Down

0 comments on commit ef70e0b

Please sign in to comment.