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 1/4] gnu: Add python-pyte.
Date: Thu, 15 Feb 2018 12:58:40 +0100	[thread overview]
Message-ID: <87k1vewjkf.fsf@fastmail.com> (raw)
In-Reply-To: <20180203222233.13657-1-h.goebel@crazy-compilers.com>

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

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

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

Perhaps we can add this to "terminals.scm" to try and prevent python.scm
from growing out of control again.

[...]

> +(define-public python-pyte
> +  (package
> +    (name "python-pyte")
> +    (version "0.7.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (pypi-uri "pyte" version))
> +        (sha256
> +          (base32
> +           "1an54hvyjm8gncx8cgabz9mkpgjkdb0bkyjlkh7g7f94nr3wnfl7"))))
> +    (build-system python-build-system)
> +    (arguments
> +     '(#:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'remove-failing-test
> +           ;; TODO: Reenable when the `captured` files required by this test
> +           ;; are included in the archive.
> +           (lambda _
> +             (delete-file "tests/test_input_output.py"))))))

(delete-file ...) has an unspecified return value, so add a #t here.

> +    (propagated-inputs
> +     `(("python-wcwidth", python-wcwidth)))
> +    (native-inputs
> +     `(("python-pytest-runner" ,python-pytest-runner)
> +       ("python-pytest" ,python-pytest)))
> +    (home-page "https://pyte.readthedocs.io/")
> +    (synopsis "Simple VTXXX-compatible terminal emulator")
> +    (description "@code{pyte} is an in-memory VTxxx-compatible terminal
> +emulator.  @var{VTxxx} stands for a series of video terminals, developed by
> +DEC between 1970 and 1995.  The first and probably most famous one was the
> +VT100 terminal, which is now a de-facto standard for all virtual terminal
> +emulators.
> +
> +pyte is as a fork of vt102, which was an incomplete pure Python implementation
s/is as/is/ ?


> +of VT100 terminal.")
> +    (license license:lgpl3)))

Since the source files don't specify which version, this is LGPL3+.

Other than that LGTM.

> +
> +(define-public python2-pyte
> +  (package-with-python2 python-pyte))
> -- 
> 2.13.6

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

      parent reply	other threads:[~2018-02-15 11:59 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   ` [bug#30341] [PATCH 2/4] gnu: Add python-blessings Marius Bakke
2018-02-15 11:58 ` Marius Bakke [this message]

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=87k1vewjkf.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).