aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/python.rb')
-rw-r--r--Library/Formula/python.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index bdab33e2b..82bd874fb 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -17,7 +17,6 @@ class Python < Formula
option "with-brewed-tk", "Use Homebrew's Tk (has optional Cocoa and threads support)"
option "with-poll", "Enable select.poll, which is not fully implemented on OS X (http://bugs.python.org/issue5154)"
option "with-dtrace", "Experimental DTrace support (http://bugs.python.org/issue13405)"
- option "with-docs", "Install HTML documentation"
depends_on "pkg-config" => :build
depends_on "readline" => :recommended
@@ -30,11 +29,6 @@ class Python < Formula
skip_clean "bin/pip", "bin/pip-2.7"
skip_clean "bin/easy_install", "bin/easy_install-2.7"
- resource "docs" do
- url "https://docs.python.org/2/archives/python-2.7.8-docs-html.tar.bz2"
- sha1 "ba0c2ce0ddf0773306ed859262f405de61e486a6"
- end
-
resource "setuptools" do
url "https://pypi.python.org/packages/source/s/setuptools/setuptools-5.3.tar.gz"
sha1 "da2da9324a539029ebea602120afcb8cfd24ddf6"
@@ -149,8 +143,6 @@ class Python < Formula
# Remove the site-packages that Python created in its Cellar.
site_packages_cellar.rmtree
- doc.install resource('docs') if build.with? "docs"
-
(libexec/'setuptools').install resource('setuptools')
(libexec/'pip').install resource('pip')
end