mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-07 05:30:38 +02:00
gnu: python-dateutil: Relax native-inputs requirements.
* gnu/packages/time.scm (python-dateutil)[arguments] <#:test-flags>: Improve style. <#:phases>: Add phase 'relax-pytest-cov-requirement. [native-inputs]: Remove python-pytest-cov, python-wheel. Change-Id: Id3c02340bb6ea416159cf00db42c9c506435fb20 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
5483d44ca5
commit
a8c7cfbd65
@@ -363,17 +363,23 @@ Pendulum instances.")
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags '(list ;avoid freezegun dependency
|
||||
"--ignore=tests/test_utils.py"
|
||||
"--ignore=tests/test_rrule.py"
|
||||
;; XXX: Fails to get timezone from /etc/localtime.
|
||||
"--ignore=tests/test_tz.py")))
|
||||
#:test-flags
|
||||
#~(list ;avoid freezegun dependency
|
||||
"--ignore=tests/test_utils.py"
|
||||
"--ignore=tests/test_rrule.py"
|
||||
;; XXX: Fails to get timezone from /etc/localtime.
|
||||
"--ignore=tests/test_tz.py")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'relax-pytest-cov-requirement
|
||||
(lambda _
|
||||
(substitute* "tests/conftest.py"
|
||||
(("\\item.add_marker\\(pytest\\.mark\\.no_cover\\)")
|
||||
"continue")))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-pytest-cov
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
python-setuptools-scm))
|
||||
(propagated-inputs
|
||||
(list python-six))
|
||||
(home-page "https://dateutil.readthedocs.io/en/stable/")
|
||||
|
||||
Reference in New Issue
Block a user