unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: guix-devel@gnu.org
Cc: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
Subject: Re: [PATCH 1/6] gnu: Add python-rst2ansi
Date: Wed, 08 Feb 2017 23:27:06 +0100	[thread overview]
Message-ID: <87inokb9ol.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <1486490441-3995-1-git-send-email-fredmanglis@gmail.com>

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

Hi Muriithi,

Thank you for these patches! I will respond to them individually.

They look good for the most part, but need some tiny tweaks that breaks
the patch context. In particular, descriptions should end with a period,
but if I add that to one patch, the next does not apply!

Normally I would simply amend these commits while applying them, so
please excuse the nit-picking.

Could you also add a copyright notice for yourself at the top of
python.scm with the first commit?

Muriithi Frederick Muriuki <fredmanglis@gmail.com> writes:

> * gnu/packages/python.scm (python-rst2ansi): New variable.
> ---
>  gnu/packages/python.scm | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index d53eea1..b57e9a7 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -12536,3 +12536,26 @@ console.")
>  This implementation is slow (hence the project name) but still useful when
>  faster ones are not available.")
>      (license license:asl2.0)))
> +
> +(define-public python-rst2ansi
> +  (package
> +    (name "python-rst2ansi")
> +    (version "0.1.5")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "rst2ansi" version))
> +       (sha256
> +        (base32
> +         "0vzy6gd60l79ff750scl0sz48r1laalkl6md6dwzah4dcadgn5qv"))))
> +    (build-system python-build-system)
> +    (native-inputs
> +     `(("python-docutils" ,python-docutils)))

This should be a propagated-input, since rst2ansi needs docutils at
runtime.

> +    (home-page
> +     "https://github.com/Snaipe/python-rst-to-ansi")

The newline here is not necessary.

> +    (synopsis
> +     "Python rst converter to ansi-decorated console output")

"Convert RST to ANSI-decorated console output".

> +    (description
> +     "Python module dedicated to rendering RST (reStructuredText) documents to
> + ansi-escaped strings suitable for display in a terminal")

All descriptions should end with a "." as mentioned above.
`guix lint python-rst2ansi` should warn about this.

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

  parent reply	other threads:[~2017-02-08 22:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-07 18:00 [PATCH 1/6] gnu: Add python-rst2ansi Muriithi Frederick Muriuki
2017-02-07 18:00 ` [PATCH 2/6] gnu: Add python-flake8-polyfill Muriithi Frederick Muriuki
2017-02-08 22:29   ` Marius Bakke
2017-02-07 18:00 ` [PATCH 3/6] gnu: Add python-ddt Muriithi Frederick Muriuki
2017-02-08 22:32   ` Marius Bakke
2017-02-09 22:29   ` Hartmut Goebel
2017-02-07 18:00 ` [PATCH 4/6] gnu: Add python-pycosat Muriithi Frederick Muriuki
2017-02-08 22:35   ` Marius Bakke
2017-02-09 16:46     ` Frederick Muriithi
2017-02-07 18:00 ` [PATCH 5/6] gnu: Add python-typing Muriithi Frederick Muriuki
2017-02-08 22:38   ` Marius Bakke
2017-02-09 17:04     ` Frederick Muriithi
2017-02-09 22:33       ` Hartmut Goebel
2017-02-07 18:00 ` [PATCH 6/6] gnu: Add python-ruamel.ordereddict Muriithi Frederick Muriuki
2017-02-08 22:40   ` Marius Bakke
2017-02-08 22:27 ` Marius Bakke [this message]
2017-02-09 16:13   ` [PATCH 1/6] gnu: Add python-rst2ansi Frederick Muriithi
  -- strict thread matches above, loose matches on Subject: below --
2017-02-09 17:48 Muriithi Frederick Muriuki
2017-02-09 22:51 ` 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=87inokb9ol.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
    --to=mbakke@fastmail.com \
    --cc=fredmanglis@gmail.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).