Skip to content

Commit

Permalink
gpgme: package python3 bindings
Browse files Browse the repository at this point in the history
Closes #33129.

Signed-off-by: FX Coudert <[email protected]>
  • Loading branch information
michael-paddle authored and fxcoudert committed Mar 4, 2019
1 parent 48952ba commit 0736053
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/gpgme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -32,5 +33,6 @@ def install
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

0 comments on commit 0736053

Please sign in to comment.