From 8120205ccd4f2d835552ed3bda5e9a9a533078df Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 19 Sep 2016 23:22:36 +0300 Subject: 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(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 038237d6fd..96589fc165 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2154,10 +2154,11 @@ (define-public python-cov-core (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) -- cgit v1.2.3