summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2016-04-03 16:02:49 +1000
committerBen Woodcroft <donttrustben@gmail.com>2016-04-03 16:08:11 +1000
commit692add53bcde80359c20ce17ae7b86aea18f5a21 (patch)
treed73e3dd45a20936bf50fd24db5d238d6b5a182dc /gnu/packages
parent1804527ab0ba107ee891f2c82e5346cb7044f8a3 (diff)
downloadguix-692add53bcde80359c20ce17ae7b86aea18f5a21.tar.gz
gnu: python-lockfile: Update to 0.12.2.
* gnu/packages/python.scm (python-lockfile): Update to 0.12.2.
[native-inputs]: Add python-pbr.
(python2-lockfile): Update to 0.12.2.
[native-inputs]: Add python2-setuptools, python2-pbr.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python.scm10
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2f2ef2ffd9..66ed16a543 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -712,7 +712,7 @@ concepts.")
 (define-public python-lockfile
   (package
     (name "python-lockfile")
-    (version "0.9.1")
+    (version "0.12.2")
     (source
      (origin
        (method url-fetch)
@@ -720,9 +720,11 @@ concepts.")
                            "lockfile-" version ".tar.gz"))
        (sha256
         (base32
-         "0iwif7i84gwpvrnpv4brshdk8j6l77smvknm8k3bg77mj6f5ini3"))))
+         "16gpx5hm73ah5n1079ng0vy381hl802v606npkx4x8nb0gg05vba"))))
     (build-system python-build-system)
     (arguments '(#:test-target "check"))
+    (native-inputs
+     `(("python-pbr" ,python-pbr)))
     (home-page "http://code.google.com/p/pylockfile/")
     (synopsis "Platform-independent file locking module")
     (description
@@ -734,7 +736,9 @@ API for locking files.")
 (define-public python2-lockfile
   (let ((base (package-with-python2 (strip-python2-variant python-lockfile))))
     (package
-      (inherit base))))
+      (inherit base)
+      (native-inputs `(("python2-setuptools" ,python2-setuptools)
+                       ,@(package-native-inputs base))))))
 
 (define-public python-mock
   (package