aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-17 14:43:59 -0500
committerJack Nagel2014-03-17 14:43:59 -0500
commit8ae8d6fcb4d39e427387866aab74c9148ebdfe8f (patch)
tree2f10029eff6653f3c943170c75862f4683dd763a /Library/Formula
parent6b08bff00f975f5e71393b25274c64a8a2dc9cb9 (diff)
downloadhomebrew-8ae8d6fcb4d39e427387866aab74c9148ebdfe8f.tar.bz2
pygobject3: use checksummed patches
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pygobject3.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/pygobject3.rb b/Library/Formula/pygobject3.rb
index 6d85733b9..6fdfe9bc5 100644
--- a/Library/Formula/pygobject3.rb
+++ b/Library/Formula/pygobject3.rb
@@ -29,9 +29,10 @@ class Pygobject3 < Formula
option :universal
- def patches
- "https://gist.github.com/krrk/6439665/raw/a527e14cd3a77c19b089f27bea884ce46c988f55/pygobject-fix-module.patch" if build.with? 'tests'
- end
+ patch do
+ url "https://gist.github.com/krrk/6439665/raw/a527e14cd3a77c19b089f27bea884ce46c988f55/pygobject-fix-module.patch"
+ sha1 "1d7aad99256d87d616a41b7026cd05267bd9f97f"
+ end if build.with? 'tests'
def install
ENV.universal_binary if build.universal?