Skip to content

Commit

Permalink
pygobject3: make python recommended
Browse files Browse the repository at this point in the history
  • Loading branch information
tschoonj authored and ilovezfs committed Mar 22, 2018
1 parent e4c8f08 commit 9ea7ae1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Formula/pygobject3.rb
Expand Up @@ -3,6 +3,7 @@ class Pygobject3 < Formula
homepage "https://live.gnome.org/PyGObject"
url "https://download.gnome.org/sources/pygobject/3.28/pygobject-3.28.1.tar.xz"
sha256 "42312b4a5015571fa0a4f2d201005da46b71c251ea2625bc95702d071c4ff895"
revision 1

bottle do
cellar :any
Expand All @@ -11,16 +12,14 @@ class Pygobject3 < Formula
sha256 "de1ced9995f352c09780fdddf7bebf00aea13acfc8222aeccc3e2e144dbdd2f1" => :el_capitan
end

option "without-python@2", "Build without python2 support"

deprecated_option "with-python3" => "with-python"
deprecated_option "without-python" => "without-python@2"
option "without-python", "Build without python3 support"
option "with-python@2", "Build with python2 support"

depends_on "pkg-config" => :build
depends_on "libffi" => :optional
depends_on "glib"
depends_on "python@2" if MacOS.version <= :snow_leopard
depends_on "python" => :optional
depends_on "python@2" => :optional if MacOS.version <= :snow_leopard
depends_on "python" => :recommended
depends_on "py2cairo" if build.with? "python@2"
depends_on "py3cairo" if build.with? "python"
depends_on "gobject-introspection"
Expand Down

0 comments on commit 9ea7ae1

Please sign in to comment.