gucharmap: move to Python 3

This commit is contained in:
FX Coudert 2018-12-27 21:29:01 +01:00
parent 51c321e3b6
commit 97e96bdaa4

View file

@ -15,11 +15,14 @@ class Gucharmap < Formula
depends_on "intltool" => :build
depends_on "itstool" => :build
depends_on "pkg-config" => :build
depends_on "python" => :build
depends_on "gtk+3"
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.append_path "PYTHONPATH", "#{Formula["libxml2"].opt_lib}/python2.7/site-packages"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",