From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: Add python2-pbkdf2 and update python2-jsonrpclib Date: Fri, 1 Jul 2016 16:50:24 -0400 Message-ID: <20160701205024.GA28399@jasmine> References: <47f8d0533eac6b9d414fbee04a548b50@d4n1.org> <69c24b56f827136c7990f919c4f15bbe@d4n1.org> <6585f1df16ff68eaba53178343983e0b@d4n1.org> <20160618003745.GC19441@jasmine> <2e1dcf9cd90e5f371273fa7fd4fd975b@d4n1.org> <5a24237d408a211be6563a1d59642262@d4n1.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="FL5UXtIhxfXey3p5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJ5OZ-00044a-NR for guix-devel@gnu.org; Fri, 01 Jul 2016 16:50:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJ5OV-0001Nx-Et for guix-devel@gnu.org; Fri, 01 Jul 2016 16:50:38 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJ5OT-0001Lc-Vl for guix-devel@gnu.org; Fri, 01 Jul 2016 16:50:35 -0400 Content-Disposition: inline In-Reply-To: <5a24237d408a211be6563a1d59642262@d4n1.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Daniel Pimentel Cc: guix-devel@gnu.org --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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? --FL5UXtIhxfXey3p5 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-Add-python-pbkdf2.patch" >From 9b31ca925ef9da4e9e5299215dc73f866114fee9 Mon Sep 17 00:00:00 2001 From: Daniel Pimentel 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 --- 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 --FL5UXtIhxfXey3p5--