[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70858] [PATCH 07/32] gnu: python-cram: Remove python-coverage nativ
From: |
Nicolas Graves |
Subject: |
[bug#70858] [PATCH 07/32] gnu: python-cram: Remove python-coverage native-input. |
Date: |
Fri, 10 May 2024 09:55:11 +0200 |
* 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 e84ce7df3eb..108b32d0459 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15081,25 +15081,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.41.0
- [bug#70858] [PATCH 18/32] build-system/pyproject: Remove python-mypy native-input., (continued)
- [bug#70858] [PATCH 18/32] build-system/pyproject: Remove python-mypy native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 11/32] build-system/pyproject: Remove python-coveralls native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 13/32] gnu: python-versioneer: Remove python-pycodestyle native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 12/32] build-system/pyproject: Remove python-pycodestyle native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 24/32] gnu: python-django-contact-form: Remove python-pytest-cov native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 22/32] build-system/pyproject: Remove python-pytest-cov native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 32/32] gnu: abjad-ext-ipython: Remove uneeded inputs., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 28/32] build-system/pyproject: Remove python-pytest-flake8 native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 02/32] build-system/pyproject: Ignore unwanted pytest flags., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 05/32] build-system/pyproject: Remove python-flake8 inputs., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 07/32] gnu: python-cram: Remove python-coverage native-input.,
Nicolas Graves <=
- [bug#70858] [PATCH 06/32] build-system/pyproject: Remove python-coverage input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 19/32] gnu: python-immutables: Remove python-mypy native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 26/32] build-system/pyproject: Remove python-pytest-isort native-input., Nicolas Graves, 2024/05/10
- [bug#70858] [PATCH 29/32] build-system/pyproject: Remove python-pytest-mypy inputs., Nicolas Graves, 2024/05/10