GNU bug report logs - #50799
[PATCH] gnu: Add python-glom.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Sat, 25 Sep 2021 07:48:02 UTC

Severity: normal

Tags: patch

Done: Arun Isaac <arunisaac <at> systemreboot.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: jgart <jgart <at> dismail.de>
To: 50799 <at> debbugs.gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [bug#50799] [PATCH 1/2] gnu: Add python-face.
Date: Sat, 25 Sep 2021 03:49:05 -0400
* gnu/packages/python-xyz.scm (python-face): New variable.
---
 gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bfe7031eba..9e3a1144f6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26970,6 +26970,43 @@ location.  This small Python module determines the appropriate
 platform-specific directories, e.g. the ``user data dir''.")
     (license license:expat)))
 
+(define-public python-face
+  (package
+    (name "python-face")
+    (version "20.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "face" version))
+        (sha256
+          (base32 "0gpd9f0rmbv3rd2szi2na37l29fabkwazikjrxc6wca1lddwlnbx"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+        (modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "pytest" "-v" "face/test")))))))
+    (native-inputs
+      `(("python-pytest" ,python-pytest)))
+    (propagated-inputs
+      `(("python-boltons" ,python-boltons)))
+    (home-page "https://github.com/mahmoud/face")
+    (synopsis "Straightforward CLI parsing and dispatching microframework")
+    (description
+"@code{face} is a Pythonic microframework for building command-line
+applications:
+@itemize
+@item First-class subcommand support
+@item Powerful middleware architecture
+@item Separate Parser layer
+@item Built-in flagfile support
+@item Handy testing utilities
+@item Themeable help display
+@end itemize")
+    (license license:bsd-3)))
 (define-public python-box
   (package
     (name "python-box")
-- 
2.33.0





This bug report was last modified 3 years and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.