gucharmap: move to Python 3
This commit is contained in:
parent
51c321e3b6
commit
97e96bdaa4
1 changed files with 4 additions and 1 deletions
|
@ -15,11 +15,14 @@ class Gucharmap < Formula
|
||||||
depends_on "intltool" => :build
|
depends_on "intltool" => :build
|
||||||
depends_on "itstool" => :build
|
depends_on "itstool" => :build
|
||||||
depends_on "pkg-config" => :build
|
depends_on "pkg-config" => :build
|
||||||
|
depends_on "python" => :build
|
||||||
depends_on "gtk+3"
|
depends_on "gtk+3"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
xy = Language::Python.major_minor_version "python3"
|
||||||
|
ENV.append_path "PYTHONPATH", "#{Formula["libxml2"].opt_lib}/python#{xy}/site-packages"
|
||||||
ENV["WGET"] = "curl"
|
ENV["WGET"] = "curl"
|
||||||
ENV.append_path "PYTHONPATH", "#{Formula["libxml2"].opt_lib}/python2.7/site-packages"
|
|
||||||
system "./configure", "--disable-debug",
|
system "./configure", "--disable-debug",
|
||||||
"--disable-dependency-tracking",
|
"--disable-dependency-tracking",
|
||||||
"--disable-silent-rules",
|
"--disable-silent-rules",
|
||||||
|
|
Loading…
Reference in a new issue