python310Packages.ismartgate: remove asynctest

This commit is contained in:
Fabian Affolter 2023-03-13 22:17:25 +01:00
parent a62bd76f7f
commit ec40c45390

View File

@ -1,5 +1,4 @@
{ lib
, asynctest
, buildPythonPackage
, click
, defusedxml
@ -29,6 +28,11 @@ buildPythonPackage rec {
hash = "sha256-o2yzMxrF0WB6MbeL1Tuf0Sq4wS4FDIWZZx1x2rvwLmY=";
};
postPatch = ''
substituteInPlace setup.py \
--replace '"pytest-runner>=5.2",' ""
'';
propagatedBuildInputs = [
click
defusedxml
@ -39,18 +43,12 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
asynctest
pytest-asyncio
pytest-raises
pytestCheckHook
respx
];
postPatch = ''
substituteInPlace setup.py \
--replace '"pytest-runner>=5.2",' ""
'';
pythonImportsCheck = [
"ismartgate"
];