aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python3.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-27 01:16:05 -0500
committerJack Nagel2014-07-27 01:20:02 -0500
commitd7144bb1280abede74cfa145a1e9ca6c39e6a1b9 (patch)
tree70aaa48ad5d330784d23bd7f8d247e78797a63e5 /Library/Formula/python3.rb
parent74c6e3f71c20337b2cdfb421d3f89d895191f5f5 (diff)
downloadhomebrew-d7144bb1280abede74cfa145a1e9ca6c39e6a1b9.tar.bz2
Remove html docs options from python and python3
The tarballs are updated frequently, so the checksums are not stable. Since documentation updates happen more often than python releases, the installed docs will become stale, so it doesn't make sense to tie them to the installed python in this way. Users are better off viewing the documentation online or downloading the tarballs manually if an offline copy is required. Closes #31088. Closes #31127. Squashed commit of the following: commit 78c5fba482aa827fe0168de04412a1100219cae6 Author: Jack Nagel <jacknagel@gmail.com> Date: Sun Jul 27 01:15:05 2014 -0500 Revert "python3: add with-docs option" This reverts commit 0005b34ed3276f71f0cc89806423c5c7b6374034. commit 8abfb19d51583fa4370eea9b8e33355da830a104 Author: Jack Nagel <jacknagel@gmail.com> Date: Sun Jul 27 01:14:57 2014 -0500 Revert "python: add --with-docs option" This reverts commit 97cef6041f78e2d8a9dd6f36725ddc056a9b6e2c. commit ada80382f347641ed6b947210d94249d114f9604 Author: Jack Nagel <jacknagel@gmail.com> Date: Sun Jul 27 01:14:45 2014 -0500 Revert "python: fix docs checksum" This reverts commit c0bffbcdc9d9f729b382bd3bfd4cef5fc66fcc19.
Diffstat (limited to 'Library/Formula/python3.rb')
-rw-r--r--Library/Formula/python3.rb8
1 files changed, 0 insertions, 8 deletions
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