all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Daniel Pimentel <d4n1@d4n1.org>
Cc: guix-devel@gnu.org,
	Guix-devel <guix-devel-bounces+d4n1=d4n1.org@gnu.org>
Subject: Re: [PATCH] gnu: Update python2-pbkdf2 (refactored)
Date: Fri, 17 Jun 2016 20:37:45 -0400	[thread overview]
Message-ID: <20160618003745.GC19441@jasmine> (raw)
In-Reply-To: <6585f1df16ff68eaba53178343983e0b@d4n1.org>

On Thu, Jun 16, 2016 at 09:12:56AM -0300, Daniel Pimentel wrote:

Thanks! Can you rebase this patch on the current master branch?

This patch's context is your patch for python2-jsonrpclib, but I changed
the license in that patch, so this patch cannot be applied.

In the meantime, some comments:

> Subject: [PATCH 2/2] gnu: Add python2-pbkdf2

Can you add the line for the changelog? See the line I added to
python2-jsonrpclib's commit message for reference.

> ---
>  gnu/packages/python.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> 
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 6dece06..0d1391b 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -9244,3 +9244,28 @@ It supports both the original 1.0 specification, as well as the
>  new (proposed) 2.0 spec, which includes batch submission, keyword arguments,
>   etc.")
>      (license license:expat)))
> +
> +(define-public python2-pbkdf2
> +  (package
> +    (name "python2-pbkdf2")
> +    (version "1.3")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://pypi.python.org/packages/source/p/pbkdf2/pbkdf2-"
> +                    version ".tar.gz"))

Can you make these lines shorter than 80 characters?

> +              (sha256
> +               (base32
> +                "0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc"))))
> +    (build-system python-build-system)
> +    (inputs
> +     `(("python2-setuptools" ,python2-setuptools)))

Can you check if it works with setuptools as native-input?

> +    (arguments
> +     `(#:tests? #f
> +                #:python ,python-2))

This #:python line should be aligned with #:tests.

> +    (home-page "https://www.dlitz.net/software/python-pbkdf2/")

Unfortunately this server is inaccesible. They have enabled HTTP Strict
Transport Security (HSTS), but their TLS certificate has expired.
Hopefully they fix this. No change required to the patch, although it
would be friendly if you notified them.

> +    (synopsis "A module that implements the password-based key derivation function PBKDF2")

This is too long. I don't have a good suggestion. How about
"Password-Based Key Derivation Function 2 in Python"? 

  reply	other threads:[~2016-06-18  0:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-13 21:11 [PATCH] gnu: Add python2-pbkdf2 Daniel Pimentel
2016-06-14 19:43 ` [PATCH] gnu: Update python2-pbkdf2 Daniel Pimentel
2016-06-14 19:54   ` Daniel Pimentel
2016-06-14 20:02     ` Daniel Pimentel
2016-06-16 12:12       ` [PATCH] gnu: Update python2-pbkdf2 (refactored) Daniel Pimentel
2016-06-18  0:37         ` Leo Famulari [this message]
2016-06-18  0:46           ` [PATCH 3/3] gnu: Update python2-pbkdf2 Daniel Pimentel
2016-06-23 16:07             ` [PATCH] gnu: Add python2-pbkdf2 and update python2-jsonrpclib Daniel Pimentel
2016-07-01 20:50               ` Leo Famulari
2016-07-03 17:42                 ` d4n1

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=20160618003745.GC19441@jasmine \
    --to=leo@famulari.name \
    --cc=d4n1@d4n1.org \
    --cc=guix-devel-bounces+d4n1=d4n1.org@gnu.org \
    --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 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.