From patchwork Mon Dec 16 15:25:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TcSDZMSDbGluIElvbmVsIFBhdHJhyJljdQ==?= X-Patchwork-Id: 16540 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6BE6A17856; Mon, 16 Dec 2019 15:27:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 1B74C17856 for ; Mon, 16 Dec 2019 15:27:11 +0000 (GMT) Received: from localhost ([::1]:55558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igsH8-00051b-Hc for patchwork@mira.cbaines.net; Mon, 16 Dec 2019 10:27:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57518) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igsH1-00051J-QK for guix-patches@gnu.org; Mon, 16 Dec 2019 10:27:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igsH0-0006sb-N6 for guix-patches@gnu.org; Mon, 16 Dec 2019 10:27:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34263) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igsH0-0006sK-Jp for guix-patches@gnu.org; Mon, 16 Dec 2019 10:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1igsH0-0000eg-GH for guix-patches@gnu.org; Mon, 16 Dec 2019 10:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38637] [PATCH 2/4] gnu: Add python-argh. Resent-From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Dec 2019 15:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: <38637@debbugs.gnu.org> Cc: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Received: via spool by 38637-submit@debbugs.gnu.org id=B38637.15765099712433 (code B ref 38637); Mon, 16 Dec 2019 15:27:02 +0000 Received: (at 38637) by debbugs.gnu.org; 16 Dec 2019 15:26:11 +0000 Received: from localhost ([127.0.0.1]:40230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igsGB-0000dB-Bx for submit@debbugs.gnu.org; Mon, 16 Dec 2019 10:26:11 -0500 Received: from c2062.mx.srv.dfn.de ([194.95.238.172]:46915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igsG9-0000d3-2C for 38637@debbugs.gnu.org; Mon, 16 Dec 2019 10:26:09 -0500 Received: from localhost (localhost [127.0.0.1]) by c2062.mx.srv.dfn.de (Postfix) with ESMTP id 5C98230009F for <38637@debbugs.gnu.org>; Mon, 16 Dec 2019 16:26:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received:received; s=mdc; t=1576509967; x=1578324368; bh=/2keoQ8tg2e0n0ZGOHHV1bwotvXqlnmKYsP5kSBENkI=; b=HgGho7A5zG5L xw3+7MeM2rm7fWcJH3hNMBe2VNl8aDtK4QnEq/+qCTaVlySGsYH3x/JlPzg7hvaA 6PW8yaqQpMviKv0/Ba1Dubi8DAqucCBkdy8Tppg2uh8TUX/oh+49H7G7TK8Avypt k3DBWcElEy3KxOMH/y2HBhdo5JGT+PY= Received: from c2062.mx.srv.dfn.de ([127.0.0.1]) by localhost (mgw4-erl.srv.dfn.de [127.0.0.1]) (amavisd-new, port 20134) with ESMTP id dax7xrIqAm4v for <38637@debbugs.gnu.org>; Mon, 16 Dec 2019 16:26:07 +0100 (CET) Received: from SW-IT-P-CAS4.mdc-berlin.net (mgw10-4.mdc-berlin.de [141.80.113.59]) by c2062.mx.srv.dfn.de (Postfix) with ESMTPS for <38637@debbugs.gnu.org>; Mon, 16 Dec 2019 16:26:07 +0100 (CET) Received: from Guix-Ubuntu18.04 (141.80.113.106) by SW-IT-P-CAS4.mdc-berlin.net (141.80.113.59) with Microsoft SMTP Server (TLS) id 14.3.468.0; Mon, 16 Dec 2019 16:26:07 +0100 From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Date: Mon, 16 Dec 2019 16:25:17 +0100 Message-ID: <20191216152519.3595-2-madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191216152519.3595-1-madalinionel.patrascu@mdc-berlin.de> References: <20191216152519.3595-1-madalinionel.patrascu@mdc-berlin.de> MIME-Version: 1.0 X-Originating-IP: [141.80.113.106] X-TM-AS-Product-Ver: SMEX-12.5.0.1684-8.5.1010-25108.000 X-TM-AS-Result: No-0.600000-8.000000-10 X-TMASE-MatchedRID: cHmOkQj+tbu1HHtIgGMIGJzEHTUOuMX3ljgw/8s6b3cHZBaLwEXlKNnf JrUSEbFDWvdVuCB3RaBf4K3Xpj36sA0dNfaoLdHJB8FxO/BQHsIaRJ6GXEvjzQoRkM1Bz4Qo1GW bKN8y669bpnzCWFVqu/Cjfnyjef0tgtjbI7qady+InASnzB5VfNs4MOUU/wa2NxBxRkrUguDMqE j88z7CrxNvnR3dZuEWNHouaOYdeO/r3ekoeAIzf5ZJ7rgA28k0JMcNgn27HQEi0/kre3GpulcAZ +7BKb2qOWZHzEb+oITBexZ0niPUmJf/BtAg4oG6YuJV6fJ53KPrixWWWJYrHx8TzIzimOwPC24o EZ6SpSk6XEE7Yhw4Flljj5TnBLJ94Ag6QdpnBnf8mKPdapm+f9F1gCp+FnTS9RQdNVjiYG+PTLn BpeQHaG5wxplUyyOW+RSfRoH9AilMiDUVsFKcP6PxvuJPX7GvZjWfMVA8wvMfAjFbCsqQWX7h78 xQkeMv5UQ9TF0JjMw= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--0.600000-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-25108.000 X-TM-SNTS-SMTP: F75A0BB1D8702B16EF68F235485C93232469A274BAF94D7A5DBF1E04DF2F40732000:9 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-argh): New variable. --- gnu/packages/python-xyz.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f26bc7719b..1f2149c9c4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16824,4 +16824,39 @@ services to what you expect in your tests.") (description "python-iocapture helps you to capture the standard out (stdout) and the standard error channel (stderr) in your program.") - (license license:expat)))) ; MIT license \ No newline at end of file + (license license:expat)))) ; MIT license + +(define-public python-argh + ;; there are 21 commits after the latest release + ;; those contains important improvements + (let ((commit "dcd3253f2994400a6a58a700c118c53765bc50a4") + (revision "1")) + (package + (name "python-argh") + (version "0.26.2") + (source + (origin + (method git-fetch) + (uri (git-reference (url "https://github.com/neithere/argh.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1p5h3dnpbsjmqrvil96s71asc6i3gpinmbrabqmwnrsxprz7r3ns")))) + (build-system python-build-system) + (propagated-inputs + `(("python-iocapture" ,python-iocapture) + ("python-mock" ,python-mock) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-xdist" ,python-pytest-xdist) + ("python-tox" ,python-tox))) + (home-page "https://github.com/neithere/argh/") + (synopsis "Argparse wrapper with natural syntax") + (description + "python-argh is a small library that provides several layers of +abstraction on top of python-argparse. The layers can be mixed. It is always +possible to declare a command with the highest possible (and least flexible) +layer and then tune the behaviour with any of the lower layers including the +native API of python-argparse.") + (license license:lgpl3))))