guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: python2-cov-core: Use strip-python2-variant.


From: Efraim Flashner
Subject: 01/01: gnu: python2-cov-core: Use strip-python2-variant.
Date: Mon, 19 Sep 2016 20:25:43 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 8120205ccd4f2d835552ed3bda5e9a9a533078df
Author: Efraim Flashner <address@hidden>
Date:   Mon Sep 19 23:22:36 2016 +0300

    gnu: python2-cov-core: Use strip-python2-variant.
    
    * gnu/packages/python.scm (python-cov-core)[properties]: New field,
    declare python2-variant.
    (python2-cov-core): Use strip-python2-variant.
---
 gnu/packages/python.scm |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 038237d..96589fc 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2154,10 +2154,11 @@ executed.")
     (description
      "This is a library package for use by pytest-cov, nose-cov and nose2-cov.
 It is useful for developing coverage plugins for these testing frameworks.")
-    (license license:expat)))
+    (license license:expat)
+    (properties `((python2-variant . ,(delay python2-cov-core))))))
 
 (define-public python2-cov-core
-  (let ((cov-core (package-with-python2 python-cov-core)))
+  (let ((cov-core (package-with-python2 (strip-python2-variant 
python-cov-core))))
     (package (inherit cov-core)
       (native-inputs
        `(("python2-setuptools" ,python2-setuptools)



reply via email to

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