~ruther/guix-local

8120205ccd4f2d835552ed3bda5e9a9a533078df — Efraim Flashner 9 years ago d404a6f
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.
1 files changed, 3 insertions(+), 2 deletions(-)

M gnu/packages/python.scm
M gnu/packages/python.scm => gnu/packages/python.scm +3 -2
@@ 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)