py3cairo 1.15.2

Closes #18028.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Tom Schoonjans 2017-09-13 09:38:41 +01:00 committed by FX Coudert
parent f7d3c932d7
commit 472a37b3ca

View file

@ -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