From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: [PATCH 2/5] gnu: Add python-gpg.
Date: Mon, 2 Jan 2017 20:39:52 -0500 [thread overview]
Message-ID: <1b8b84cc3e29eacc314724c3fab1d88c68909270.1483407593.git.leo@famulari.name> (raw)
In-Reply-To: <ade1ad506bebf6e00ba7bc02889a9572e9737bec.1483407593.git.leo@famulari.name>
In-Reply-To: <ade1ad506bebf6e00ba7bc02889a9572e9737bec.1483407593.git.leo@famulari.name>
* gnu/packages/gnupg.scm (python-gpg, python2-gpg): New variable.
---
gnu/packages/gnupg.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 4a7b323b4..5eef3678a 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2016 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2016 Mike Gerwitz <mtg@gnu.org>
;;; Copyright © 2016 Troy Sankey <sankeytms@gmail.com>
+;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -46,6 +47,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages security-token)
+ #:use-module (gnu packages swig)
#:use-module (gnu packages tls)
#:use-module (guix packages)
#:use-module (guix download)
@@ -382,6 +384,31 @@ instead. This way bug fixes or improvements can be done at a central place
and every application benefits from this.")
(license license:lgpl2.1+)))
+(define-public python-gpg
+ (package
+ (name "python-gpg")
+ (version (package-version gpgme))
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "gpg" version))
+ (sha256
+ (base32
+ "1x74i6q713c0bckls7rdm8kgsmllf9qvy9x62jghszlhgjkyh9nd"))))
+ (build-system python-build-system)
+ (inputs
+ `(("gpgme" ,gpgme)))
+ (native-inputs
+ `(("swig" ,swig)))
+ (home-page (package-home-page gpgme))
+ (synopsis "Python bindings for GPGME GnuPG cryptography library")
+ (description "This package provides Python bindings to the GPGME GnuPG
+cryptographic library. It is developed in the GPGME source code, and then
+distributed separately.")
+ (license license:lgpl2.1+)))
+
+(define-public python2-gpg
+ (package-with-python2 python-gpg))
+
(define-public python-pygpgme
(package
(name "python-pygpgme")
--
2.11.0
next prev parent reply other threads:[~2017-01-03 1:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-03 1:39 [PATCH 1/5] gnu: gpgme: Update to 1.8.0 Leo Famulari
2017-01-03 1:39 ` Leo Famulari [this message]
2017-01-03 1:44 ` [PATCH 2/5] gnu: Add python-gpg Leo Famulari
2017-01-03 12:39 ` Ludovic Courtès
2017-01-03 1:39 ` [PATCH 3/5] gnu: python2-xdo: Update to 0.3 Leo Famulari
2017-01-03 12:40 ` Ludovic Courtès
2017-01-03 1:39 ` [PATCH 4/5] gnu: Add python-xdo Leo Famulari
2017-01-03 12:39 ` Ludovic Courtès
2017-01-03 1:39 ` [PATCH 5/5] gnu: assword: Update to 0.10 Leo Famulari
2017-01-03 12:41 ` Ludovic Courtès
2017-01-03 17:36 ` Leo Famulari
2017-01-03 12:38 ` [PATCH 1/5] gnu: gpgme: Update to 1.8.0 Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1b8b84cc3e29eacc314724c3fab1d88c68909270.1483407593.git.leo@famulari.name \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.