mirror of
https://codeberg.org/guix/guix.git
synced 2026-04-28 06:34:05 +00:00
gnu: python-propcache: Improve python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-propcache): [arguments] <#:phases>: Drop phase 'avoid-pytest-cov-preload. <#:test-flags>: Adapt accordingly. Change-Id: I55eadb85860b06bf0567d59d4474c6235741983d Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Andreas Enge
parent
cce28131d0
commit
6629d59a5b
@@ -12332,13 +12332,11 @@ colorspaces like sRGB, XYZ, CIEL*a*b*, CIECAM02, CAM02-UCS, etc.")
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags '(list "--ignore=tests/test_benchmarks.py")
|
||||
#:test-flags
|
||||
#~(list "-o" "addopts=''" ; Avoid -p pytest_cov.
|
||||
"--ignore=tests/test_benchmarks.py")
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-after 'unpack 'avoid-pytest-cov-preload
|
||||
(lambda _
|
||||
(substitute* "pytest.ini"
|
||||
(("-p pytest_cov") ""))))
|
||||
(add-after 'unpack 'patch-build-system
|
||||
(lambda _
|
||||
;; XXX: I don't know how to tell it to build the extensions in
|
||||
|
||||
Reference in New Issue
Block a user