aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-03-20 14:05:18 -0500
committerJack Nagel2014-03-20 21:44:12 -0500
commitfedb343ec37249200232766bf7c9c57ce865b751 (patch)
tree1bb203269a6eb3b71b98cef2776d336587d283cc
parentafe09084bec31ca8d6d20a439b3493f4dd89a68e (diff)
downloadhomebrew-fedb343ec37249200232766bf7c9c57ce865b751.tar.bz2
python3: use patch DSL
-rw-r--r--Library/Formula/python3.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 7f6a59ef6..f16db123d 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -36,9 +36,7 @@ class Python3 < Formula
sha1 '35ccb7430356186cf253615b70f8ee580610f734'
end
- def patches
- DATA if build.with? 'brewed-tk'
- end
+ patch :DATA if build.with? 'brewed-tk'
def site_packages_cellar
prefix/"Frameworks/Python.framework/Versions/#{VER}/lib/python#{VER}/site-packages"