GNU bug report logs -
#70858
[PATCH 00/32] python-team: Remove native inputs
Previous Next
Full log
Message #481 received at 70858 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-cram):
[native-inputs]: Remove python-coverage.
[build-system]: Move to pyproject-build-system.
[arguments]<#:phases>: Adapt check and patch-source phases
to coverage removal.
Change-Id: I83fafcdcfbc977f9d3e3411d01d23d9a0e120ec6
---
gnu/packages/python-xyz.scm | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c7468c1beb..fc49715718 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16443,25 +16443,17 @@ (define-public python-cram
;; causes the line showing the default shell to break into two
;; lines, but the test expects a single line...
(("env\\['COLUMNS'\\] = '80'")
- "env['COLUMNS'] = '160'"))
-
- (substitute* "Makefile"
- ;; Recent versions of python-coverage have caused the test
- ;; coverage to decrease (as of version 0.7). Allow that.
- (("--fail-under=100")
- "--fail-under=90"))
-
- #t))
+ "env['COLUMNS'] = '160'"))))
(replace 'check
;; The test phase uses the built library and executable.
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(setenv "PATH" (string-append (getenv "PATH") ":"
(assoc-ref outputs "out") "/bin"))
- (invoke "make" "test"))))))
- (build-system python-build-system)
+ (invoke "make" "quicktest"))))))
+ (build-system pyproject-build-system)
(native-inputs
- (list python-coverage python-setuptools python-wheel which))
+ (list python-setuptools python-wheel which))
(synopsis "Simple testing framework for command line applications")
(description
"Cram is a functional testing framework for command line applications.
--
2.48.1
This bug report was last modified 67 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.