guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/19: gnu: python-keyring: Update to 8.7.


From: Efraim Flashner
Subject: 07/19: gnu: python-keyring: Update to 8.7.
Date: Sun, 10 Apr 2016 20:49:19 +0000

efraim pushed a commit to branch master
in repository guix.

commit 13f3ff352237e58a91c8aa3b6fe2ddb487a1235e
Author: Efraim Flashner <address@hidden>
Date:   Sun Apr 10 18:02:32 2016 +0300

    gnu: python-keyring: Update to 8.7.
    
    * gnu/packages/python.scm (python-keyring): Update to 8.7.
    [native-inputs]: Remove python-setuptools, python-mock.
    [properties]: Define python2-keyring.
    (python2-keyring): Build with 'strip-python2-variant'.
    [native-inputs]: Add python2-setuptools.
---
 gnu/packages/python.scm |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index fab743e..72559ec 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -835,19 +835,17 @@ etc.).  The package is structured to make adding new 
modules easy.")
 (define-public python-keyring
   (package
     (name "python-keyring")
-    (version "5.7.1")
+    (version "8.7")
     (source
      (origin
       (method url-fetch)
       (uri (pypi-uri "keyring" version))
       (sha256
        (base32
-        "1h7a1r9ick7wdd0xb5p63413nvjadna2xawrsvmklsl5ddhm5wrx"))))
+        "0482rmi2x6p78wl2kz8qzyq21xz1sbbfwnv5x7dggar4vkwxhzfx"))))
     (build-system python-build-system)
     (native-inputs
-     `(("python-setuptools" ,python-setuptools)
-       ("python-setuptools-scm" ,python-setuptools-scm)
-       ("python-mock" ,python-mock)))
+     `(("python-setuptools-scm" ,python-setuptools-scm)))
     (inputs
      `(("python-pycrypto" ,python-pycrypto)))
     (arguments
@@ -859,13 +857,15 @@ etc.).  The package is structured to make adding new 
modules easy.")
 service from python.  It can be used in any application that needs safe
 password storage.")
     ;; "MIT" and PSF dual license
-    (license x11)))
+    (license x11)
+    (properties `((python2-variant . ,(delay python2-keyring))))))
 
 (define-public python2-keyring
-  (let ((keyring (package-with-python2 python-keyring)))
-    (package (inherit keyring)
-      (inputs
-       `(("python2-pycrypto" ,python2-pycrypto))))))
+  (let ((base (package-with-python2 (strip-python2-variant python-keyring))))
+    (package
+      (inherit base)
+      (native-inputs `(("python2-setuptools" ,python2-setuptools)
+                       ,@(package-native-inputs base))))))
 
 (define-public python-six
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]