[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: python-coverage-test-runner: Add Python 3 variant.
From: |
guix-commits |
Subject: |
04/10: gnu: python-coverage-test-runner: Add Python 3 variant. |
Date: |
Sat, 22 May 2021 10:08:34 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 350833554bddf309aaba1599ff3e43085b10c10e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat May 22 14:31:37 2021 +0200
gnu: python-coverage-test-runner: Add Python 3 variant.
* gnu/packages/check.scm (python2-coverage-test-runner): Rename to ...
(python-coverage-test-runner): ... this.
[arguments, propagated-inputs]: Adjust for Python 3.
(python2-coverage-test-runner): Use PACKAGE-WITH-PYTHON2.
---
gnu/packages/check.scm | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 6641a0d..f0f978a 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -25,7 +25,7 @@
;;; Copyright © 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2015, 2017, 2018, 2020, 2021 Ricardo Wurmus
<rekado@elephly.net>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Marius Bakke
<mbakke@fastmail.com>
;;; Copyright © 2017, 2018, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
;;; Copyright © 2019, 2021 Pierre Langlois <pierre.langlois@gmx.com>
@@ -2131,9 +2131,9 @@ failures.")
(define-public python2-pytest-flakes
(package-with-python2 python-pytest-flakes))
-(define-public python2-coverage-test-runner
+(define-public python-coverage-test-runner
(package
- (name "python2-coverage-test-runner")
+ (name "python-coverage-test-runner")
(version "1.15")
(source
(origin
@@ -2147,14 +2147,13 @@ failures.")
"1kjjb9llckycnfxag8zcvqsn4z1s3dwyw6b1n0avxydihgf30rny"))))
(build-system python-build-system)
(arguments
- `(#:python ,python-2
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "./testrun"))))))
(propagated-inputs
- `(("python2-coverage" ,python2-coverage)))
+ `(("python-coverage" ,python-coverage)))
(home-page "https://liw.fi/coverage-test-runner/")
(synopsis "Python module for running unit tests")
(description "@code{CoverageTestRunner} is a python module for running
@@ -2162,6 +2161,9 @@ unit tests and failing them if the unit test module does
not exercise all
statements in the module it tests.")
(license license:gpl3+)))
+(define-public python2-coverage-test-runner
+ (package-with-python2 python-coverage-test-runner))
+
(define-public python-pylint
(package
(name "python-pylint")
- branch master updated (7003b2d -> d58e2f2), guix-commits, 2021/05/22
- 01/10: gnu: ntp: Prepare for GCC 10., guix-commits, 2021/05/22
- 02/10: gnu: sharutils: Prepare for GCC 10., guix-commits, 2021/05/22
- 03/10: gnu: sharutils: 'which' is a native input., guix-commits, 2021/05/22
- 04/10: gnu: python-coverage-test-runner: Add Python 3 variant.,
guix-commits <=
- 05/10: gnu: python2-cliapp: Add Python 3 variant., guix-commits, 2021/05/22
- 08/10: gnu: cmdtest: Do not propagate any inputs., guix-commits, 2021/05/22
- 09/10: gnu: ucx: Restore (and adapt) ioctl fallback patch., guix-commits, 2021/05/22
- 10/10: gnu: libblockdev: Prepare for GLib 2.58., guix-commits, 2021/05/22
- 06/10: gnu: python2-ttystatus: Add Python 3 variant., guix-commits, 2021/05/22
- 07/10: gnu: cmdtest: Update to 0.32-14-gcdfe14e., guix-commits, 2021/05/22