easy-tag: move to Python 3
This commit is contained in:
parent
b9e0274e03
commit
4f7b2329ae
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue