all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
To: 38637@debbugs.gnu.org
Cc: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
Subject: [bug#38637] [PATCH 2/4] gnu: Add python-argh.
Date: Mon, 16 Dec 2019 16:25:17 +0100	[thread overview]
Message-ID: <20191216152519.3595-2-madalinionel.patrascu@mdc-berlin.de> (raw)
In-Reply-To: <20191216152519.3595-1-madalinionel.patrascu@mdc-berlin.de>

* 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

  reply	other threads:[~2019-12-16 15:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-16 15:23 [bug#38637] (no subject) mpatras
2019-12-16 15:25 ` [bug#38637] [PATCH 1/4] gnu: Add python-iocapture Mădălin Ionel Patrașcu
2019-12-16 15:25   ` Mădălin Ionel Patrașcu [this message]
2019-12-16 16:31     ` [bug#38637] [PATCH 2/4] gnu: Add python-argh Ricardo Wurmus
2019-12-16 15:25   ` [bug#38637] [PATCH 3/4] gnu: python-pyfaidx: Update to 0.5.7 Mădălin Ionel Patrașcu
2019-12-16 22:26     ` Ricardo Wurmus
2019-12-16 15:25   ` [bug#38637] [PATCH 4/4] gnu: Add python-gffutils Mădălin Ionel Patrașcu
2019-12-16 22:33     ` bug#38637: " Ricardo Wurmus
2019-12-16 16:27   ` [bug#38637] [PATCH 1/4] gnu: Add python-iocapture Ricardo Wurmus

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=20191216152519.3595-2-madalinionel.patrascu@mdc-berlin.de \
    --to=madalinionel.patrascu@mdc-berlin.de \
    --cc=38637@debbugs.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.