mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-11 15:40:31 +02:00
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
4e1717571c
commit
709aed0936
@@ -25600,14 +25600,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