Merge pull request #212479 from fabaff/stdnum-fix
python310Packages.python-stdnum: remove coverage
This commit is contained in:
commit
4824f730bc
|
@ -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"
|
||||
];
|
||||
|
@ -28,6 +40,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Python module to handle standardized numbers and codes";
|
||||
homepage = "https://arthurdejong.org/python-stdnum/";
|
||||
changelog = "https://github.com/arthurdejong/python-stdnum/blob/${version}/ChangeLog";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ johbo ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue