From 07360530118e6a4abe1193ab84a713892e014345 Mon Sep 17 00:00:00 2001 From: Michael De La Rue Date: Thu, 18 Oct 2018 13:55:26 +0100 Subject: [PATCH] gpgme: package python3 bindings Closes #33129. Signed-off-by: FX Coudert --- Formula/gpgme.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/gpgme.rb b/Formula/gpgme.rb index 299d430fe6..3bcecb9842 100644 --- a/Formula/gpgme.rb +++ b/Formula/gpgme.rb @@ -12,6 +12,7 @@ class Gpgme < Formula sha256 "bb4ac5c5bbc9f3f2c54febe2e872c780337d6c8612124778b76826371c673492" => :sierra end + depends_on "python" => [:build, :test] depends_on "swig" => :build depends_on "gnupg" depends_on "libassuan" @@ -32,5 +33,6 @@ class Gpgme < Formula test do assert_match version.to_s, shell_output("#{bin}/gpgme-tool --lib-version") system "python2.7", "-c", "import gpg; print gpg.version.versionstr" + system "python3", "-c", "import gpg; print(gpg.version.versionstr)" end end