[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/19: gnu: python-pytest-cov: Update to 2.2.1.
From: |
Efraim Flashner |
Subject: |
12/19: gnu: python-pytest-cov: Update to 2.2.1. |
Date: |
Sun, 10 Apr 2016 20:49:20 +0000 |
efraim pushed a commit to branch master
in repository guix.
commit 545f4a1c3cb6a613bbeb17faeebbecaa559231fd
Author: Efraim Flashner <address@hidden>
Date: Sun Apr 10 21:00:42 2016 +0300
gnu: python-pytest-cov: Update to 2.2.1.
* gnu/packages/python.scm (python-pytest-cov): Update to 2.2.1.
[native-inputs]: Remove python-setuptools. Move python-coverage,
python-pytest ...
[inputs]: ... to here.
[properties]: Define python2-pytest-cov.
(python-pytest-cov): Build with 'strip-python2-variant'.
[inputs]: Add python2-setuptools.
---
gnu/packages/python.scm | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e98c594..2cde276 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1562,30 +1562,33 @@ and many external plugins.")
(define-public python-pytest-cov
(package
(name "python-pytest-cov")
- (version "2.2.0")
+ (version "2.2.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-cov" version))
(sha256
- (base32
- "1lf9jsmhqk5nc4w3kzwglmdzjvmi7ajvrsnwv826j3bn0wzx8c92"))))
+ (base32
+ "1yl4nbhzfgsxqlsyk4clafgp9x11zvgrkprm9i2p3fgkwx9jxcm8"))))
(build-system python-build-system)
- (propagated-inputs
+ (inputs
`(("python-coverage" ,python-coverage)
("python-pytest" ,python-pytest)))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/pytest-dev/pytest-cov")
(synopsis "Pytest plugin for measuring coverage")
(description
"Pytest-cov produces coverage reports. It supports centralised testing
and
distributed testing in both @code{load} and @code{each} modes. It also
supports coverage of subprocesses.")
- (license license:expat)))
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-pytest-cov))))))
(define-public python2-pytest-cov
- (package-with-python2 python-pytest-cov))
+ (let ((base (package-with-python2 (strip-python2-variant
python-pytest-cov))))
+ (package
+ (inherit base)
+ (inputs `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-inputs base))))))
(define-public python-pytest-runner
(package
- 06/19: gnu: python-h5py: Update to 2.6.0., (continued)
- 06/19: gnu: python-h5py: Update to 2.6.0., Efraim Flashner, 2016/04/10
- 10/19: gnu: python-tzlocal: Update to 1.2.2., Efraim Flashner, 2016/04/10
- 01/19: gnu: python-paramiko: Update to 1.16.0., Efraim Flashner, 2016/04/10
- 04/19: gnu: python-babel: Update to 2.3.2., Efraim Flashner, 2016/04/10
- 05/19: gnu: python-pytz: Update to 2016.3., Efraim Flashner, 2016/04/10
- 16/19: gnu: python-execnet: Change inputs., Efraim Flashner, 2016/04/10
- 14/19: gnu: python-pytest-xdist: Change inputs., Efraim Flashner, 2016/04/10
- 18/19: gnu: python-pytest-localserver: Change inputs., Efraim Flashner, 2016/04/10
- 19/19: gnu: python-werkzeug: Update to 0.11.5., Efraim Flashner, 2016/04/10
- 15/19: gnu: python-apipkg: Change inputs., Efraim Flashner, 2016/04/10
- 12/19: gnu: python-pytest-cov: Update to 2.2.1.,
Efraim Flashner <=
- 07/19: gnu: python-keyring: Update to 8.7., Efraim Flashner, 2016/04/10
- 09/19: gnu: python-parsedatetime: Update to 2.1., Efraim Flashner, 2016/04/10
- 13/19: gnu: python-pytest-runner: Define python2-pytest-runner., Efraim Flashner, 2016/04/10
- 08/19: gnu: python-dateutil-2: Update to 2.5.2., Efraim Flashner, 2016/04/10
- 17/19: gnu: python-pytest-cache: Change inputs., Efraim Flashner, 2016/04/10