From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: guix-devel@gnu.org
Subject: [PATCH 2/4] gnu: Add python-blessings.
Date: Sat, 31 Dec 2016 15:02:00 +0100 [thread overview]
Message-ID: <1483192922-21411-2-git-send-email-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <1483192922-21411-1-git-send-email-h.goebel@crazy-compilers.com>
* gnu/packages/python.scm (python-blessings, python2-blessings): New
variables.
---
gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2dea03b..8dbd64a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12307,3 +12307,32 @@ emulators. pyte follows the suit.")
(define-public python2-pyte
(package-with-python2 python-pyte))
+
+(define-public python-blessings
+ (package
+ (name "python-blessings")
+ (version "1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "blessings" version))
+ (sha256
+ (base32
+ "01rhgn2c3xjf9h1lxij9m05iwf2ba6d0vd7nic26c2gic4q73igd"))))
+ (build-system python-build-system)
+ (arguments
+ ;; TODO: For py3, 2to2 is used to convert the code, but test-suite fails
+ `(#:tests? #f))
+ (native-inputs
+ `(("python-nose" ,python-nose)))
+ (home-page "https://pypi.python.org/pypi/blessings")
+ (synopsis "Simple but powerful module to manage terminal color, styling,
+and positioning")
+ (description "Blessings is a pythonic API to manipulate terminal. It
+provides similar features to curses but beating some of their limitations: it
+does not require clearing the whole screen for little changes, scrollback
+buffer after program exits, avoid styling when on output redirection, etc.")
+ (license license:expat)))
+
+(define-public python2-blessings
+ (package-with-python2 python-blessings))
--
2.7.4
next prev parent reply other threads:[~2016-12-31 14:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-31 14:01 [PATCH 1/4] gnu: Add python-pyte Hartmut Goebel
2016-12-31 14:02 ` Hartmut Goebel [this message]
2017-01-01 21:11 ` [PATCH 2/4] gnu: Add python-blessings Leo Famulari
2017-01-01 23:06 ` Tobias Geerinckx-Rice
2016-12-31 14:02 ` [PATCH 3/4] gnu: Add python-curtsies Hartmut Goebel
2017-01-01 21:13 ` Leo Famulari
2017-01-01 23:08 ` Tobias Geerinckx-Rice
2016-12-31 14:02 ` [PATCH 4/4] gnu: Add python-bpython Hartmut Goebel
2017-01-01 21:12 ` Leo Famulari
2017-01-01 21:08 ` [PATCH 1/4] gnu: Add python-pyte Leo Famulari
2017-01-01 22:40 ` Tobias Geerinckx-Rice
2017-01-02 16:33 ` [PATCH 4/4 v2] gnu: Add bpython Hartmut Goebel
2017-01-02 16:38 ` Hartmut Goebel
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1483192922-21411-2-git-send-email-h.goebel@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=guix-devel@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).