From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#38637] [PATCH 2/4] gnu: Add python-argh. Resent-Message-ID: From: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Date: Mon, 16 Dec 2019 16:25:17 +0100 Message-ID: <20191216152519.3595-2-madalinionel.patrascu@mdc-berlin.de> In-Reply-To: <20191216152519.3595-1-madalinionel.patrascu@mdc-berlin.de> References: <20191216152519.3595-1-madalinionel.patrascu@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38637@debbugs.gnu.org Cc: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= * 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)))) -- 2.17.1