diff --git a/Formula/easy-tag.rb b/Formula/easy-tag.rb index 067089bfe0..f91336e427 100644 --- a/Formula/easy-tag.rb +++ b/Formula/easy-tag.rb @@ -15,6 +15,7 @@ class EasyTag < Formula depends_on "intltool" => :build depends_on "itstool" => :build depends_on "pkg-config" => :build + depends_on "python" => :build depends_on "adwaita-icon-theme" depends_on "flac" depends_on "gtk+3" @@ -31,7 +32,9 @@ class EasyTag < Formula patch :DATA def install - ENV.append_path "PYTHONPATH", "#{Formula["libxml2"].opt_lib}/python2.7/site-packages" + xy = Language::Python.major_minor_version "python3" + ENV.append_path "PYTHONPATH", "#{Formula["libxml2"].opt_lib}/python#{xy}/site-packages" + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-schemas-compile"