Unverified Commit 5feb5054 authored by Pavol Rusnak's avatar Pavol Rusnak Committed by GitHub
Browse files

Merge pull request #221686 from tahoe-lafs/zfec-packaging-improvements

python3Packages.zfec: Avoid using deprecated test runner
parents 95f2b521 23bc23f6
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
, buildPythonPackage
, fetchPypi
, pyutil
, setuptoolsTrial
, twisted
}:

@@ -17,12 +16,9 @@ buildPythonPackage rec {

  propagatedBuildInputs = [ pyutil ];

  nativeCheckInputs = [ setuptoolsTrial twisted ];
  nativeCheckInputs = [ twisted ];

  # argparse is in the stdlib but zfec doesn't know that.
  postPatch = ''
    sed -i -e '/argparse/d' setup.py
  '';
  checkPhase = "trial zfec";

  pythonImportsCheck = [ "zfec" ];