python3Packages.openevsewifi: migrate to pytest-cov-stub
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
fetchpatch,
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
requests,
|
||||
requests-mock,
|
||||
}:
|
||||
@@ -32,6 +33,7 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
requests-mock
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
patches = [
|
||||
@@ -43,11 +45,6 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'pytest-cov = "^2.8.1"' ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "openevsewifi" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user