forked from mirrors/nixpkgs
python39Packages.pymarshal: remove pytest-cov, pytest-runner
This commit is contained in:
parent
72dab1fa30
commit
2f3e0789fd
|
@ -3,9 +3,6 @@
|
|||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, bson
|
||||
, pytest
|
||||
, pytest-cov
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
, pyyaml
|
||||
, setuptools
|
||||
|
@ -23,9 +20,15 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-Ds8JV2mtLRcKXBvPs84Hdj3MxxqpeV5muKCSlAFCj1A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'pytest-runner'" ""
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=pymarshal --cov-report=html --cov-report=term" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -35,8 +38,6 @@ buildPythonPackage rec {
|
|||
checkInputs = [
|
||||
pytestCheckHook
|
||||
bson
|
||||
pytest
|
||||
pytest-cov
|
||||
pyyaml
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue