[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/10: gnu: cmdtest: Update to 0.32-14-gcdfe14e.
From: |
guix-commits |
Subject: |
07/10: gnu: cmdtest: Update to 0.32-14-gcdfe14e. |
Date: |
Sat, 22 May 2021 10:08:36 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 0bdb7d38412b384cd32094723358deaa138003c4
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat May 22 14:40:11 2021 +0200
gnu: cmdtest: Update to 0.32-14-gcdfe14e.
* gnu/packages/check.scm (cmdtest): Update to 0.32-14-gcdfe14e.
[source]: Switch to GIT-FETCH.
[arguments]: Remove #:phases and #:python. Add #:tests?.
[native-inputs]: Change from PYTHON2-CLIAPP, PYTHON2-MARKDOWN, and
PYTHON-TTYSTATUS to their respective Python 3 variants.
---
gnu/packages/check.scm | 40 +++++++++++++---------------------------
1 file changed, 13 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index f0f978a..cee4240 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -423,39 +423,25 @@ a multi-paradigm automated test framework for C++ and
Objective-C.")
(define-public cmdtest
(package
(name "cmdtest")
- (version "0.32")
+ ;; Use the latest commit (from 2019) in order to get Python 3 support.
+ (version "0.32-14-gcdfe14e")
(source (origin
- (method url-fetch)
- (uri (string-append "http://git.liw.fi/cmdtest/snapshot/"
- name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://git.liw.fi/cmdtest/")
+ (commit version)))
(sha256
(base32
- "1jmfiyrrqmpvwdb273bkb8hjaf4rwx9njblx29pmr7giyahskwi5"))))
+ "1yhcwsqcpckkq5kw3h07k0xg6infyiyzq9ni3nqphrzxis7hxjf1"))))
(build-system python-build-system)
- (arguments
- `(#:python ,python-2
- #:phases
- (modify-phases %standard-phases
- ;; check phase needs to be run before the build phase. If not, the
- ;; coverage test runner looks for tests for the built source files,
- ;; and fails.
- (delete 'check)
- (add-before 'build 'check
- (lambda _
- (substitute* "yarn"
- (("/bin/sh") (which "sh")))
- ;; yarn uses python2-ttystatus to print messages.
- ;; python2-ttystatus requires /dev/tty which is not present in
- ;; the build environment. Hence assuming-failure test fails.
- (delete-file "yarn.tests/assuming-failure.script")
- (delete-file "yarn.tests/assuming-failure.stdout")
- (invoke "python" "setup.py" "check"))))))
+ (arguments `(#:tests? #f)) ;requires Python 2!
(native-inputs
- `(("python2-coverage-test-runner" ,python2-coverage-test-runner)))
+ `(("python-coverage-test-runner" ,python-coverage-test-runner)
+ ("python" ,python)))
(propagated-inputs
- `(("python2-cliapp" ,python2-cliapp)
- ("python2-markdown" ,python2-markdown)
- ("python2-ttystatus" ,python2-ttystatus)))
+ `(("python-cliapp" ,python-cliapp)
+ ("python-markdown" ,python-markdown)
+ ("python-ttystatus" ,python-ttystatus)))
(home-page "https://liw.fi/cmdtest/")
(synopsis "Black box Unix program tester")
(description
- 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, 2021/05/22
- 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 <=