guix-commits
[Top][All Lists]
Advanced

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

12/43: gnu: python2-scikit-image: Remove needless inputs. 2 REWORD


From: Hartmut Goebel
Subject: 12/43: gnu: python2-scikit-image: Remove needless inputs. 2 REWORD
Date: Tue, 18 Oct 2016 11:20:07 +0000 (UTC)

htgoebel pushed a commit to branch wip-python-build-system
in repository guix.

commit 193ce2d03c2eb241e38444cdbbc1a65013284a25
Author: Hartmut Goebel <address@hidden>
Date:   Sun Oct 16 20:37:14 2016 +0200

    gnu: python2-scikit-image: Remove needless inputs. 2 REWORD
    
    Remove last additional [native-inputs] python-mock, thus there is no
    need to inherit python-scikit-image package. Simply use
    package-with-python2.
    
    * gnu/packages/python.scm: (python-scikit-image): [properties]: Remove
      python2-variant. (python2-scikit-image) Use simply
      "package-with-python2" after removing last [native-inputs] python-mock.
---
 gnu/packages/python.scm |   10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4d00a49..708bfaf 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2884,16 +2884,10 @@ mining and data analysis.")
     (synopsis "Image processing in Python")
     (description
      "Scikit-image is a collection of algorithms for image processing.")
-    (license license:bsd-3)
-    (properties `((python2-variant . ,(delay python2-scikit-image))))))
+    (license license:bsd-3)))
 
 (define-public python2-scikit-image
-  (let ((scikit-image (package-with-python2
-                        (strip-python2-variant python-scikit-image))))
-    (package (inherit scikit-image)
-      (native-inputs
-       `(("python2-mock" ,python2-mock)
-         ,@(package-native-inputs scikit-image))))))
+  (package-with-python2 python-scikit-image))
 
 (define-public python-redis
   (package



reply via email to

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