From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oAK1Obt8GV9YOQAA0tVLHw (envelope-from ) for ; Thu, 23 Jul 2020 12:04:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4NeFNbt8GV8OFQAAB5/wlQ (envelope-from ) for ; Thu, 23 Jul 2020 12:04:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A4BA89403AD for ; Thu, 23 Jul 2020 12:04:11 +0000 (UTC) Received: from localhost ([::1]:36948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyZxK-00057P-Kt for larch@yhetil.org; Thu, 23 Jul 2020 08:04:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyZxC-00056t-Jb for guix-patches@gnu.org; Thu, 23 Jul 2020 08:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60962) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyZxC-00072v-Aj for guix-patches@gnu.org; Thu, 23 Jul 2020 08:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyZxC-00058o-6Z for guix-patches@gnu.org; Thu, 23 Jul 2020 08:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42404] [PATCH 5/5] gnu: Add python-sop. Resent-From: Justus Winter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jul 2020 12:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42404 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42404@debbugs.gnu.org Cc: Justus Winter Received: via spool by 42404-submit@debbugs.gnu.org id=B42404.159550581119688 (code B ref 42404); Thu, 23 Jul 2020 12:04:02 +0000 Received: (at 42404) by debbugs.gnu.org; 23 Jul 2020 12:03:31 +0000 Received: from localhost ([127.0.0.1]:44267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyZwg-00057S-ID for submit@debbugs.gnu.org; Thu, 23 Jul 2020 08:03:30 -0400 Received: from avior.uberspace.de ([185.26.156.32]:50384 ident=p5UZowuyWOK) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyZwe-000577-H8 for 42404@debbugs.gnu.org; Thu, 23 Jul 2020 08:03:29 -0400 Received: (qmail 10794 invoked from network); 23 Jul 2020 12:03:26 -0000 Received: from localhost (HELO europa) (127.0.0.1) by avior.uberspace.de with SMTP; 23 Jul 2020 12:03:26 -0000 Received: from teythoon by europa with local (Exim 4.92) (envelope-from ) id 1jyZwb-0002CE-Gd; Thu, 23 Jul 2020 14:03:25 +0200 From: Justus Winter Date: Thu, 23 Jul 2020 14:03:22 +0200 Message-Id: <20200723120322.8385-5-justus@sequoia-pgp.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200723120322.8385-1-justus@sequoia-pgp.org> References: <20200723120322.8385-1-justus@sequoia-pgp.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: r4/tsf+uo31z * gnu/packages/python-crypto.scm (python-sop): New variable. --- gnu/packages/python-crypto.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 7ea86d1f7b..ecf82f2078 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1474,3 +1474,34 @@ armored and binary formats. It can create and verify RSA, DSA, and ECDSA signatures, at the moment. It can also encrypt and decrypt messages using RSA and ECDH.") (license license:bsd-3))) + +(define-public python-sop + (package + (name "python-sop") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sop" version)) + (sha256 + (base32 + "0gljyjsdn6hdmwlwwb5g5s0c031p6izamvfxp0d39x60af8k5jyf")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) ; There are no tests, and unittest throws an error trying + ; to find some: + ; TypeError: don't know how to make test from: 0.2.0 + (home-page "https://gitlab.com/dkg/python-sop") + (synopsis "Stateless OpenPGP Command-Line Interface") + (description + "The Stateless OpenPGP Command-Line Interface (or sop) is a +specification that encourages OpenPGP implementors to provide a common, +relatively simple command-line API for purposes of object security. + +This Python module helps implementers build such a CLI from any implementation +accessible to the Python interpreter. + +It does not provide such an implementation itself -- this is just the +scaffolding for the command line, which should make it relatively easy to +supply a handful of python functions as methods to a class.") + (license license:expat))) ; MIT license -- 2.20.1