From 472a37b3cad19062713292f700ace35bab784203 Mon Sep 17 00:00:00 2001 From: Tom Schoonjans Date: Wed, 13 Sep 2017 09:38:41 +0100 Subject: [PATCH] py3cairo 1.15.2 Closes #18028. Signed-off-by: FX Coudert --- Formula/py3cairo.rb | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Formula/py3cairo.rb b/Formula/py3cairo.rb index 6f974868a2..f2981ea0d7 100644 --- a/Formula/py3cairo.rb +++ b/Formula/py3cairo.rb @@ -1,10 +1,8 @@ class Py3cairo < Formula desc "Python 3 bindings for the Cairo graphics library" homepage "https://cairographics.org/pycairo/" - url "https://cairographics.org/releases/pycairo-1.10.0.tar.bz2" - mirror "https://distfiles.macports.org/py-cairo/pycairo-1.10.0.tar.bz2" - sha256 "9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be" - revision 3 + url "https://github.com/pygobject/pycairo/releases/download/v1.15.2/pycairo-1.15.2.tar.gz" + sha256 "a66f30c457736f682162e7b3a33bc5e8915c0f3b31ef9bdb4edf43c81935c914" bottle do cellar :any @@ -18,10 +16,7 @@ class Py3cairo < Formula depends_on :python3 def install - ENV["PYTHON"] = "python3" - system "./waf", "configure", "--prefix=#{prefix}" - system "./waf", "build" - system "./waf", "install" + system "python3", *Language::Python.setup_install_args(prefix) end test do