From: Marius Bakke <mbakke@fastmail.com>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>, 30341@debbugs.gnu.org
Subject: [bug#30341] [PATCH 2/4] gnu: Add python-blessings.
Date: Thu, 15 Feb 2018 13:04:19 +0100 [thread overview]
Message-ID: <87h8qiwjb0.fsf@fastmail.com> (raw)
In-Reply-To: <20180203222735.14042-1-h.goebel@crazy-compilers.com>
[-- Attachment #1: Type: text/plain, Size: 2138 bytes --]
Hartmut Goebel <h.goebel@crazy-compilers.com> writes:
> * gnu/packages/python.scm (python-blessings, python2-blessings): New
> variables.
Perhaps this too can go in terminals.scm?
> ---
> gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index c5f8ee43f..61739ceb6 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -12457,3 +12457,34 @@ of VT100 terminal.")
>
> (define-public python2-pyte
> (package-with-python2 python-pyte))
> +
> +(define-public python-blessings
> + (package
> + (name "python-blessings")
> + (version "1.6.1")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri "blessings" version))
> + (sha256
> + (base32
^^^
Indentation is off.
> + "1smngy65p8mi62lgm04icasx22v976szhs2aq95y2ljmi1srb4bl"))))
> + (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")
I think <https://github.com/erikrose/blessings> is more home-page-y, but
no strong opinion.
> + (synopsis "Simple but powerful module to manage terminal color, styling,
> +and positioning")
Maybe s/Simple but powerful/Python/ to keep the synopsis "dry".
LGTM otherwise.
> + (description "Blessings is a pythonic API to manipulate terminal color,
> +styling, and positioning. It provides similar features to curses but avoids
> +some of curses’s limitations: it does not require clearing the whole screen
> +for little changes, provides a scroll-back buffer after the program exits, and
> +avoids styling altogether when the output is redirected to something other
> +than a terminal.")
> + (license license:expat)))
> +
> +(define-public python2-blessings
> + (package-with-python2 python-blessings))
> --
> 2.13.6
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2018-02-15 12:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-03 22:22 [bug#30341] [PATCH 1/4] gnu: Add python-pyte Hartmut Goebel
2018-02-03 22:27 ` [bug#30341] [PATCH 2/4] gnu: Add python-blessings Hartmut Goebel
2018-02-03 22:27 ` [bug#30341] [PATCH 3/4] gnu: Add python-curtsies Hartmut Goebel
2018-02-15 12:07 ` Marius Bakke
2018-02-03 22:27 ` [bug#30341] [PATCH 4/4] gnu: Add bpython Hartmut Goebel
2018-02-15 12:13 ` Marius Bakke
2018-02-15 20:45 ` bug#30341: " Hartmut Goebel
2018-02-15 12:04 ` Marius Bakke [this message]
2018-02-15 11:58 ` [bug#30341] [PATCH 1/4] gnu: Add python-pyte Marius Bakke
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=87h8qiwjb0.fsf@fastmail.com \
--to=mbakke@fastmail.com \
--cc=30341@debbugs.gnu.org \
--cc=h.goebel@crazy-compilers.com \
/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).