python310Packages.versioningit: move patching to postPatch
This commit is contained in:
parent
2034a3da5a
commit
453efa3153
1 changed files with 7 additions and 7 deletions
|
@ -25,6 +25,13 @@ buildPythonPackage rec {
|
|||
hash = "sha256-gJfiYNm99nZYW9gTO/e1//rDeox2KWJVtC2Gy1EqsuM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tox.ini \
|
||||
--replace "--cov=versioningit" "" \
|
||||
--replace "--cov-config=tox.ini" "" \
|
||||
--replace "--no-cov-on-fail" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
packaging
|
||||
setuptools
|
||||
|
@ -47,13 +54,6 @@ buildPythonPackage rec {
|
|||
"test_editable_mode"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
substituteInPlace tox.ini \
|
||||
--replace "--cov=versioningit" "" \
|
||||
--replace "--cov-config=tox.ini" "" \
|
||||
--replace "--no-cov-on-fail" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"versioningit"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue