unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Daniel Pimentel <d4n1@d4n1.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add python2-pbkdf2 and update python2-jsonrpclib
Date: Fri, 1 Jul 2016 16:50:24 -0400	[thread overview]
Message-ID: <20160701205024.GA28399@jasmine> (raw)
In-Reply-To: <5a24237d408a211be6563a1d59642262@d4n1.org>

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

On Thu, Jun 23, 2016 at 01:07:26PM -0300, Daniel Pimentel wrote:
> * gnu/packages/python.scm: add new package and update variable

The program claims to support Python 3 and Python 2. It also has a test
suite in the 'test/' directory. So, I changed your patch as attached.
But, it fails the test suite.

Can you try to make it work?

[-- Attachment #2: 0001-gnu-Add-python-pbkdf2.patch --]
[-- Type: text/x-diff, Size: 1452 bytes --]

From 9b31ca925ef9da4e9e5299215dc73f866114fee9 Mon Sep 17 00:00:00 2001
From: Daniel Pimentel <d4n1@d4n1.org>
Date: Thu, 23 Jun 2016 13:07:26 -0300
Subject: [PATCH] gnu: Add python-pbkdf2.

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

Co-authored-by: Leo Famulari <leo@famulari.name>
---
 gnu/packages/python.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8c34ff2..c4bfe76 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9291,3 +9291,23 @@ 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 asl2.0)))
+
+(define-public python-pbkdf2
+  (package
+    (name "python-pbkdf2")
+    (version "1.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pbkdf2" version))
+              (sha256
+               (base32
+                "0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc"))))
+    (build-system python-build-system)
+    (home-page "https://www.dlitz.net/software/python-pbkdf2/")
+    (synopsis "A module that implements function PBKDF2.")
+    (description "A module that implements the password-based key derivation
+function PBKDF2.")
+    (license license:expat)))
+
+(define-public python2-pbkdf2
+  (package-with-python2 python-pbkdf2))
-- 
2.9.0


  reply	other threads:[~2016-07-01 20:50 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
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 [this message]
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

  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=20160701205024.GA28399@jasmine \
    --to=leo@famulari.name \
    --cc=d4n1@d4n1.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 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).