mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
python310Packages.versioningit: move patching to postPatch
This commit is contained in:
parent
2034a3da5a
commit
453efa3153
@ -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 New Issue
Block a user