[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70858] [PATCH python-team v2 25/32] gnu: python-dateutil: Remove py
From: |
Nicolas Graves |
Subject: |
[bug#70858] [PATCH python-team v2 25/32] gnu: python-dateutil: Remove python-pytest-cov native-input. |
Date: |
Sat, 1 Jun 2024 17:36:57 +0200 |
* gnu/packages/time.scm (python-dateutil):
[native-inputs]: Remove python-pytest-cov.
[arguments]<#:phases>: Add remove-pytest-cov-dep phase.
Change-Id: Id82a147d6e40383ecc2661ac896b65b858c181e0
---
gnu/packages/time.scm | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 6e34f80a79d..99cf7ceb6a6 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -246,14 +246,20 @@ (define-public python-dateutil
(build-system pyproject-build-system)
(arguments
(list
- #:test-flags '(list ; avoid freezegun dependency
- "--ignore=dateutil/test/test_utils.py"
- "--ignore=dateutil/test/test_rrule.py"
- ;; XXX: Fails to get timezone from /etc/localtime.
- "--ignore=dateutil/test/test_tz.py")))
+ #:test-flags '(list "dateutil/test" "docs"
+ ;; avoid freezegun dependency
+ "--ignore=dateutil/test/test_utils.py"
+ "--ignore=dateutil/test/test_rrule.py"
+ ;; XXX: Fails to get timezone from /etc/localtime.
+ "--ignore=dateutil/test/test_tz.py")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-pytest-cov-dep
+ (lambda _
+ (substitute* "dateutil/test/conftest.py"
+ (("item\\.add_marker\\(pytest\\.mark\\.no_cover\\)")
+ "pass")))))))
(native-inputs
(list python-pytest
- python-pytest-cov
python-setuptools
python-setuptools-scm
python-wheel))
--
2.41.0
- [bug#70858] [PATCH python-team v2 12/32] build-system/pyproject: Remove python-pycodestyle native-input., (continued)
- [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, 2024/06/01
- [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 <=
- [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
- [bug#70858] [PATCH python-team v2 29/32] build-system/pyproject: Remove python-pytest-mypy inputs., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 30/32] build-system/pyproject: Stop hiding options., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 31/32] gnu: python-linear-operator: Remove python-flake8-print native-input, Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 32/32] gnu: abjad-ext-ipython: Remove uneeded inputs., Nicolas Graves, 2024/06/01