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.
This commit is contained in:
Efraim Flashner 2016-09-19 23:22:36 +03:00
parent d404a6f971
commit 8120205ccd
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 3 additions and 2 deletions

View File

@ -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)