[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70858] [PATCH python-team v2 07/32] gnu: python-cram: Remove python
From: |
Nicolas Graves |
Subject: |
[bug#70858] [PATCH python-team v2 07/32] gnu: python-cram: Remove python-coverage native-input. |
Date: |
Sat, 1 Jun 2024 17:36:39 +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 b849f6fdaa2..f45f375f38e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15086,25 +15086,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 python-team v2 11/32] build-system/pyproject: Remove python-coveralls native-input., (continued)
- [bug#70858] [PATCH python-team v2 11/32] build-system/pyproject: Remove python-coveralls native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 09/32] gnu: python-aiosqlite: Remove python-coverage native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 08/32] gnu: u-boot-tools: Remove python-coverage native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 16/32] build-system/pyproject: Remove python-codecov native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 12/32] build-system/pyproject: Remove python-pycodestyle native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 13/32] gnu: python-versioneer: Remove python-pycodestyle native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 14/32] gnu: python-versioneer: Remove python-pyflakes native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 17/32] build-system/pyproject: Remove python-tox native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 19/32] gnu: python-immutables: Remove python-mypy native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 18/32] build-system/pyproject: Remove python-mypy native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 07/32] gnu: python-cram: Remove python-coverage native-input.,
Nicolas Graves <=
- [bug#70858] [PATCH python-team v2 15/32] gnu: python-re-assert: Remove python-covdefaults native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 20/32] build-system/pyproject: Remove python-isort native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 23/32] gnu: python-tinycss2: Remove python-pytest-cov native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 25/32] gnu: python-dateutil: Remove python-pytest-cov native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 26/32] build-system/pyproject: Remove python-pytest-isort native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 21/32] build-system/pyproject: Remove python-twine native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 24/32] gnu: python-django-contact-form: Remove python-pytest-cov native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 27/32] build-system/pyproject: Remove python-pytest-black native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 22/32] build-system/pyproject: Remove python-pytest-cov native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 28/32] build-system/pyproject: Remove python-pytest-flake8 native-input., Nicolas Graves, 2024/06/01