From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 50799@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#50799] [PATCH 1/2] gnu: Add python-face.
Date: Sat, 25 Sep 2021 03:49:05 -0400 [thread overview]
Message-ID: <20210925074906.1502-1-jgart@dismail.de> (raw)
In-Reply-To: <20210925034735.GB1565@gac.attlocal.net>
* 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
next prev parent reply other threads:[~2021-09-25 7:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-25 7:47 [bug#50799] [PATCH] gnu: Add python-glom jgart via Guix-patches via
2021-09-25 7:49 ` jgart via Guix-patches via [this message]
2021-09-25 7:49 ` [bug#50799] [PATCH 2/2] " jgart via Guix-patches via
2021-09-28 18:48 ` bug#50799: [PATCH] " Arun Isaac
2021-09-28 23:29 ` [bug#50799] " jgart via Guix-patches via
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=20210925074906.1502-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=50799@debbugs.gnu.org \
--cc=jgart@dismail.de \
/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.