homebrew-core/Formula/pygtksourceview.rb
Tom Schoonjans e619394ff3 several small fixes
Closes Homebrew/homebrew#39868.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-17 15:59:00 +01:00

23 lines
797 B
Ruby

class Pygtksourceview < Formula
desc "Python wrapper for the GtkSourceView widget library"
homepage "https://projects.gnome.org/gtksourceview/pygtksourceview.html"
url "https://download.gnome.org/sources/pygtksourceview/2.10/pygtksourceview-2.10.1.tar.bz2"
sha256 "b4b47c5aeb67a26141cb03663091dfdf5c15c8a8aae4d69c46a6a943ca4c5974"
revision 1
depends_on "pkg-config" => :build
depends_on "gtksourceview"
depends_on "gtk+"
depends_on "pygtk"
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-docs" # attempts to download chunk.xsl on demand (and sometimes fails)
system "make", "install"
end
test do
system "python", "-c", "import gtksourceview2"
end
end