From 8ae8d6fcb4d39e427387866aab74c9148ebdfe8f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 17 Mar 2014 14:43:59 -0500 Subject: pygobject3: use checksummed patches --- Library/Formula/pygobject3.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Library') 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? -- cgit v1.2.3