From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: [PATCH 2/4] gnu: Add python-lockfile. Date: Sat, 24 May 2014 01:18:06 -0500 Message-ID: <87zji7pun5.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wo5EL-0006Ud-3E for Guix-devel@gnu.org; Sat, 24 May 2014 02:14:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wo5EG-0003CB-E6 for Guix-devel@gnu.org; Sat, 24 May 2014 02:14:53 -0400 Received: from mail-ig0-x229.google.com ([2607:f8b0:4001:c05::229]:49602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wo5EG-0003Aw-81 for Guix-devel@gnu.org; Sat, 24 May 2014 02:14:48 -0400 Received: by mail-ig0-f169.google.com with SMTP id hl10so1651247igb.2 for ; Fri, 23 May 2014 23:14:47 -0700 (PDT) Received: from cooper.gmail.com (chippewa-nat.cray.com. [136.162.34.1]) by mx.google.com with ESMTPSA id s1sm9753420igr.14.2014.05.23.23.14.46 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 23 May 2014 23:14:46 -0700 (PDT) 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel@gnu.org --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-gnu-Add-python-lockfile.patch >From 16911c6c80ea3cffede9181b6cb05501818f28fa Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Tue, 20 May 2014 08:29:37 -0500 Subject: [PATCH 2/4] gnu: Add python-lockfile. * gnu/packages/python.scm (python-lockfile): New variable. --- gnu/packages/python.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d3d4f39..53d1f3e 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -21,7 +21,7 @@ (define-module (gnu packages python) #:use-module ((guix licenses) - #:select (bsd-3 bsd-style psfl x11 x11-style + #:select (bsd-3 bsd-style expat psfl x11 x11-style gpl2 gpl2+ lgpl2.1+)) #:use-module ((guix licenses) #:select (zlib) #:renamer (symbol-prefix-proc 'license:)) @@ -293,6 +293,30 @@ etc. ") (define-public python2-babel (package-with-python2 python-babel)) +(define-public python-lockfile + (package + (name "python-lockfile") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://pypi.python.org/packages/source/l/lockfile/" + "lockfile-" version ".tar.gz")) + (sha256 + (base32 + "0iwif7i84gwpvrnpv4brshdk8j6l77smvknm8k3bg77mj6f5ini3")))) + (build-system python-build-system) + (arguments '(#:test-target "check")) + (home-page "http://code.google.com/p/pylockfile/") + (synopsis "Platform-independent file locking module") + (description + "The lockfile package exports a LockFile class which provides a simple +API for locking files.") + (license expat))) + +(define-public python2-lockfile + (package-with-python2 python-lockfile)) + (define-public python-setuptools (package -- 1.7.9.5 --=-=-= -- Eric Bavier --=-=-=--