python313Packages.sure: migrate to pytest-cov-stub
This commit is contained in:
parent
d294fbfd67
commit
6d7a904a13
@ -4,6 +4,7 @@
|
|||||||
fetchPypi,
|
fetchPypi,
|
||||||
setuptools,
|
setuptools,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
|
pytest-cov-stub,
|
||||||
mock,
|
mock,
|
||||||
six,
|
six,
|
||||||
isPyPy,
|
isPyPy,
|
||||||
@ -21,8 +22,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.cfg \
|
substituteInPlace setup.cfg \
|
||||||
--replace "rednose = 1" "" \
|
--replace "rednose = 1" ""
|
||||||
--replace-fail "--cov=sure" ""
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
@ -34,6 +34,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
pytest-cov-stub
|
||||||
mock
|
mock
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user