unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mathieu Lirzin <mthl@openmailbox.org>
To: Cyril Roelandt <tipecaml@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 1/3] gnu: Add python-netaddr.
Date: Fri, 11 Sep 2015 23:57:15 +0200	[thread overview]
Message-ID: <87wpvwk4as.fsf@openmailbox.org> (raw)
In-Reply-To: <1441665335-31855-2-git-send-email-tipecaml@gmail.com> (Cyril Roelandt's message of "Tue, 8 Sep 2015 00:35:33 +0200")

This is Mostly about formatting issues here

Cyril Roelandt <tipecaml@gmail.com> writes:

> * gnu/packages/python.scm (python-netaddr, python2-netaddr): New variables.
> ---
>  gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index f9ad951..0231bce 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -4739,3 +4739,31 @@ reading and writing MessagePack data.")
>  
>  (define-public python2-msgpack
>    (package-with-python2 python-msgpack))
> +
> +(define-public python-netaddr
> +  (package
> +    (name "python-netaddr")
> +    (version "0.7.18")
> +    (source
> +      (origin

    (source
     (origin ...))
        
> +        (method url-fetch)
> +        (uri (string-append
> +               "https://pypi.python.org/packages/source/n/netaddr/netaddr-"
> +               version
> +               ".tar.gz"))
                 
    (string-append
     "..." 
     ...)

> +        (sha256
> +          (base32
> +            "06dxjlbcicq7q3vqy8agq11ra01kvvd47j4mk6dmghjsyzyckxd1"))))

    (base32
     "....")

> +    (build-system python-build-system)
> +    (arguments `(#:tests? #f)) ;; No tests.
                                  
                                           ;no tests

> +    (inputs
> +      `(("python-setuptools" ,python-setuptools)))
> +    (home-page "https://github.com/drkjam/netaddr/")
> +    (synopsis
> +      "Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses")

In order to keep synopsis small and the description longer that
synopsis, maybe you an move "IPv4, IPv6, CIDR, EUI and MAC" into the
description?

> +    (description
> +      "A Python library for representing and manipulating network addresses.")
> +    (license bsd-3)))
> +
> +(define-public python2-netaddr
> +  (package-with-python2 python-netaddr))

Otherwise LGTM.

--
Mathieu Lirzin

  reply	other threads:[~2015-09-11 21:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-07 22:35 [PATCH 0/3] Add oslo.config Cyril Roelandt
2015-09-07 22:35 ` [PATCH 1/3] gnu: Add python-netaddr Cyril Roelandt
2015-09-11 21:57   ` Mathieu Lirzin [this message]
2015-09-07 22:35 ` [PATCH 2/3] gnu: Add python-stevedore Cyril Roelandt
2015-09-11 22:01   ` Mathieu Lirzin
2015-09-13 17:05     ` Cyril Roelandt
2015-09-13 20:11       ` Thompson, David
2015-09-13 20:14         ` Cyril Roelandt
2015-09-13 20:16           ` Thompson, David
2015-09-07 22:35 ` [PATCH 3/3] gnu: Add python-oslo.config Cyril Roelandt
2015-09-11 22:11   ` Mathieu Lirzin

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=87wpvwk4as.fsf@openmailbox.org \
    --to=mthl@openmailbox.org \
    --cc=guix-devel@gnu.org \
    --cc=tipecaml@gmail.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).