forked from tribes/guix
gnu: python-diskcache: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-diskcache)[arguments] <#:phases>: Drop phase 'fix-pytest-config. <#:test-flags>: Keep ignoring addopts, as it also has other uneeded flags. Change-Id: I584128eed904c0d134e3a7292ffb65977b9f36b6 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
e0136f7353
commit
ed0249ab48
@@ -25817,14 +25817,7 @@ executed more than a given number of times during a given period.")
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags #~(list "--pyargs" "rbfly")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-pytest-config
|
||||
(lambda _
|
||||
;; Drop test coverage requirements.
|
||||
(substitute* "pyproject.toml"
|
||||
((".*addopts.*") "")))))))
|
||||
#:test-flags #~(list "-o" "addopts=''" "--pyargs" "rbfly")))
|
||||
(native-inputs
|
||||
(list python-cython
|
||||
python-pytest
|
||||
|
||||
Reference in New Issue
Block a user