* [PATCH 2/4] gnu: Add python-lockfile.
@ 2014-05-24 6:18 Eric Bavier
0 siblings, 0 replies; only message in thread
From: Eric Bavier @ 2014-05-24 6:18 UTC (permalink / raw)
To: Guix-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0002-gnu-Add-python-lockfile.patch --]
[-- Type: text/x-diff, Size: 1896 bytes --]
From 16911c6c80ea3cffede9181b6cb05501818f28fa Mon Sep 17 00:00:00 2001
From: Eric Bavier <bavier@member.fsf.org>
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
[-- Attachment #2: Type: text/plain, Size: 17 bytes --]
--
Eric Bavier
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-24 6:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-24 6:18 [PATCH 2/4] gnu: Add python-lockfile Eric Bavier
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.