python312Packages.python-stdnum: refactor
This commit is contained in:
parent
b3f1735123
commit
69312ee9ff
@ -3,13 +3,14 @@
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, zeep
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-stdnum";
|
||||
version = "1.20";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -20,9 +21,13 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace " --cov=stdnum --cov-report=term-missing:skip-covered --cov-report=html" ""
|
||||
--replace-fail " --cov=stdnum --cov-report=term-missing:skip-covered --cov-report=html" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user