From 97e96bdaa4556814309e465a60ec2ce546c9fefe Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Thu, 27 Dec 2018 21:29:01 +0100 Subject: [PATCH] gucharmap: move to Python 3 --- Formula/gucharmap.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Formula/gucharmap.rb b/Formula/gucharmap.rb index 5cdc6d847a..0bc6a9c65a 100644 --- a/Formula/gucharmap.rb +++ b/Formula/gucharmap.rb @@ -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",