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:
Nicolas Graves
2026-02-08 12:56:22 +01:00
committed by Andreas Enge
parent cce28131d0
commit 6629d59a5b

View File

@@ -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