unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>, 30341@debbugs.gnu.org
Subject: [bug#30341] [PATCH 3/4] gnu: Add python-curtsies.
Date: Thu, 15 Feb 2018 13:07:36 +0100	[thread overview]
Message-ID: <87eflmwj5j.fsf@fastmail.com> (raw)
In-Reply-To: <20180203222735.14042-2-h.goebel@crazy-compilers.com>

[-- Attachment #1: Type: text/plain, Size: 2126 bytes --]

Hartmut Goebel <h.goebel@crazy-compilers.com> writes:

> * gnu/packages/python.scm (python-curtsies, python2-curtsies): New variables.

Also fit for terminals.scm, I think.

> ---
>  gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 61739ceb6..49b698f3d 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -12488,3 +12488,39 @@ than a terminal.")
>  
>  (define-public python2-blessings
>    (package-with-python2 python-blessings))
> +
> +(define-public python-curtsies
> +  (package
> +    (name "python-curtsies")
> +    (version "0.2.11")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (pypi-uri "curtsies" version))
> +        (sha256
> +          (base32

Please run the indentation of all these through emacs :-)

> +           "1vljmw3sy6lrqahhpyg4gk13mzcx3mwhvg8s41698ms3cpgkjipc"))))
> +    (build-system python-build-system)
> +   (arguments
> +    `(#:phases
> +      (modify-phases %standard-phases
> +        (replace 'check
> +          (lambda _
> +            (zero? (system* "nosetests" "-v")))))))

Use (invoke ...) instead of (zero? (system* ...)).

Other than that LGTM.

> +    (propagated-inputs
> +     `(("python-blessings" ,python-blessings)
> +       ("python-wcwidth", python-wcwidth)))
> +    (native-inputs
> +     `(("python-mock" ,python-mock)
> +       ("python-pyte" ,python-pyte)
> +       ("python-nose" ,python-nose)))
> +    (home-page "https://github.com/thomasballinger/curtsies")
> +    (synopsis "Library for curses-like terminal interaction with colored
> +strings")
> +    (description "Curtsies is a Python library for interacting with the
> +terminal.  It features string-like objects which carry formatting information,
> +per-line fullscreen terminal rendering, and keyboard input event reporting.")
> +    (license license:expat)))
> +
> +(define-public python2-curtsies
> +  (package-with-python2 python-curtsies))
> -- 
> 2.13.6

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2018-02-15 12:08 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 [this message]
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   ` [bug#30341] [PATCH 2/4] gnu: Add python-blessings Marius Bakke
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=87eflmwj5j.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).