diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/python.rb | 8 | ||||
| -rw-r--r-- | Library/Formula/python3.rb | 8 |
2 files changed, 0 insertions, 16 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 diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index 4bf602120..f30972893 100644 --- a/Library/Formula/python3.rb +++ b/Library/Formula/python3.rb @@ -18,7 +18,6 @@ class Python3 < Formula option :universal option 'quicktest', 'Run `make quicktest` after the build' option 'with-brewed-tk', "Use Homebrew's Tk (has optional Cocoa and threads support)" - option "with-docs", "Install HTML documentation" depends_on 'pkg-config' => :build depends_on 'readline' => :recommended @@ -32,11 +31,6 @@ class Python3 < Formula skip_clean "bin/pip3", "bin/pip-#{VER}" skip_clean "bin/easy_install3", "bin/easy_install-#{VER}" - resource "docs" do - url "https://docs.python.org/3/archives/python-3.4.1-docs-html.tar.bz2" - sha1 "7d76e33a98bcd7c24790309780171c75988ad82a" - end - patch :DATA if build.with? 'brewed-tk' def site_packages_cellar @@ -136,8 +130,6 @@ class Python3 < Formula # Remove the site-packages that Python created in its Cellar. site_packages_cellar.rmtree - - doc.install resource("docs") if build.with? "docs" end def post_install |
