all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: contact.ng0@cryptolab.net
Cc: guix-devel@gnu.org, ng0 <ng0@we.make.ritual.n0.is>
Subject: Re: [PATCH 3/7] gnu: Add python2-ruamel.ordereddict
Date: Wed, 01 Feb 2017 20:53:30 -0800	[thread overview]
Message-ID: <87h94d9os5.fsf@gmail.com> (raw)
In-Reply-To: <20170131125339.18500-4-contact.ng0@cryptolab.net> (contact's message of "Tue, 31 Jan 2017 12:53:35 +0000")

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

Hi,

I have a few of comments for this one too.

contact.ng0@cryptolab.net writes:

> From: ng0 <ng0@we.make.ritual.n0.is>
>
> * gnu/packages/python.scm (python2-ruamel.ordereddict): New variable.
> ---
>  gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index f6516d26b..cef9d2a8c 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -583,6 +583,34 @@ the Python logging module that outputs records using terminal colors.")
>        (native-inputs
>         `(("python2-setuptools" ,python2-setuptools))))))
>  
> +(define-public python2-ruamel.ordereddict
> +  (package
> +    (name "python2-ruamel.ordereddict")
> +    (version "0.4.9")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "ruamel.ordereddict" version))
> +       (sha256
> +        (base32
> +         "1xmkl8v9l9inm2pyxgc1fm5005yxm7fkd5gv74q7lj1iy5qc8n3h"))))
> +    (build-system python-build-system)
> +    ;; XXX: https://bitbucket.org/ruamel/ordereddict/issues/2

Maybe the comment should say "No ordereddict python3 build available" ?

> +    (arguments
> +     `(#:python ,python-2))
> +    (inputs
> +     `(("python2-setuptools" ,python2-setuptools)))

Unnecessary, part of our Python2 package.

> +    (home-page "https://bitbucket.org/ruamel/ordereddict")
> +    (synopsis "Version of @code{dict} that keeps keys in insertion
> +resp. sorted order")
> +    (description
> +     "This is an implementation of an ordered dictionary with Key
> +Insertion Order and Key Value Insertion Order.  The standard library

Is the capitalization of Key Insertion Order/Key Value Insertion Order
really necessary? Also, there are 2 spaces following the period.

> +module OrderedDict, implemented later, implements a subset of
> +ordereddict functionality.  Sorted dictionaries are also provided.

2 spaces following the period here also. Is this intended?

> +Currently only with Key Sorted Order.")

Again, I'm not sure about the proper capitalization here.

Thanks,

Maxim

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

  reply	other threads:[~2017-02-02  5:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21 12:13 Addition to tinycm patch-series (corrects patch 8) ng0
2016-09-25 17:39 ` Leo Famulari
2017-01-31 12:53   ` tinycm contact.ng0
2017-01-31 12:53     ` [PATCH 1/7] gnu: Add python-boolexp contact.ng0
2017-01-31 12:53     ` [PATCH 2/7] gnu: Add python-colorlog contact.ng0
2017-01-31 12:53     ` [PATCH 3/7] gnu: Add python2-ruamel.ordereddict contact.ng0
2017-02-02  4:53       ` Maxim Cournoyer [this message]
2017-02-02 10:13         ` ng0
2017-02-02 10:46         ` Hartmut Goebel
2017-02-02 14:03         ` Tobias Geerinckx-Rice
2017-02-05  9:11           ` Maxim Cournoyer
2017-01-31 12:53     ` [PATCH 4/7] gnu: Add python-distro contact.ng0
2017-01-31 12:53     ` [PATCH 5/7] gnu: Add python-typing contact.ng0
2017-01-31 12:53     ` [PATCH 6/7] gnu: Add python-ruamel.yaml contact.ng0
2017-02-02  4:42       ` Maxim Cournoyer
2017-02-02 10:49         ` Hartmut Goebel
2017-01-31 12:53     ` [PATCH 7/7] gnu: Add tinycm contact.ng0

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h94d9os5.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=contact.ng0@cryptolab.net \
    --cc=guix-devel@gnu.org \
    --cc=ng0@we.make.ritual.n0.is \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.