homebrew-core/Formula/pygobject.rb
Bas Stottelaar 6ae2d3f707 Fix patch hash + mirror for pygobject 2.28.6
The patch was added to homebrew/patch because the original patch
changed hash for no explainable reason.

Closes Homebrew/homebrew#44629.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-12 21:59:47 +02:00

33 lines
1.2 KiB
Ruby

class Pygobject < Formula
desc "GLib/GObject/GIO Python bindings for Python 2"
homepage "https://live.gnome.org/PyGObject"
url "https://download.gnome.org/sources/pygobject/2.28/pygobject-2.28.6.tar.bz2"
sha256 "e4bfe017fa845940184c82a4d8949db3414cb29dfc84815fb763697dc85bdcee"
bottle do
sha256 "2eeb114e8508e6e58a35ac263f39abce53b409f350e3677a0bf49980e4a9920b" => :el_capitan
sha1 "41b026312378b3d1cc90135e68e88e72aed68fea" => :yosemite
sha1 "5ab93e8961a6645aa4213b5deaf30acf3d7d0011" => :mavericks
sha1 "0eb2294d2eff8f0efef2b12c8d7b7e87d0026bee" => :mountain_lion
end
depends_on "pkg-config" => :build
depends_on "glib"
depends_on :python
option :universal
# https://bugzilla.gnome.org/show_bug.cgi?id=668522
patch do
url "https://raw.githubusercontent.com/Homebrew/patches/master/pygobject/patch-enum-types.diff"
sha256 "99a39c730f9af499db88684e2898a588fdae9cd20eef70675a28c2ddb004cb19"
end
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-introspection"
system "make", "install"
end
end