From 7340fd163ad0d5a9006e1e9b35048feab9920e75 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Thu, 1 Mar 2018 23:19:13 -0800 Subject: [PATCH] liblunar: rename python@2 optional dependency --- Formula/liblunar.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Formula/liblunar.rb b/Formula/liblunar.rb index 58726616b5..ff9ba67eb8 100644 --- a/Formula/liblunar.rb +++ b/Formula/liblunar.rb @@ -16,20 +16,22 @@ class Liblunar < Formula option "with-python", "Build python bindings using pygobject" + deprecated_option "with-python" => "with-python@2" + depends_on "pkg-config" => :build depends_on "intltool" => :build depends_on "glib" depends_on "gettext" depends_on "vala" => :optional - depends_on "python" => :optional - depends_on "pygobject" if build.with? "python" + depends_on "python@2" => :optional + depends_on "pygobject" if build.with? "python@2" def install args = %W[ --disable-dependency-tracking --prefix=#{prefix} ] - args << "--disable-python" if build.without? "python" + args << "--disable-python" if build.without? "python@2" system "./configure", *args system "make", "install" end