python313Packages.configupdater: migrate to pytest-cov-stub
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
@@ -17,16 +18,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-n9rFODHBsGKSm/OYtkm4fKMOfxpzXz+/SCBygEEGMGs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace '--cov configupdater --cov-report term-missing' ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
pythonImportsCheck = [ "configupdater" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Parser like ConfigParser but for updating configuration files";
|
||||
|
||||
Reference in New Issue
Block a user