python310Packages.python-stdnum: remove coverage
- add optional-dependencies
This commit is contained in:
parent
c73fbbd79e
commit
3c86e6f249
1 changed files with 12 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, zeep
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -17,10 +18,21 @@ buildPythonPackage rec {
|
|||
hash = "sha256-vMdj2cSa4j2l0remhtX9He7J2QUTQRYKENGscjomvsA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace " --cov=stdnum --cov-report=term-missing:skip-covered --cov-report=html" ""
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
SOAP = [
|
||||
zeep
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"stdnum"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue