Merge pull request #175307 from fabaff/brother-subst

python310Packages.brother: remove postPatch section
This commit is contained in:
Martin Weinelt 2022-05-29 20:10:20 +02:00 committed by GitHub
commit 58fa3c321f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,15 +32,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.cfg \
--replace "--cov --cov-report term-missing " ""
substituteInPlace setup.py \
--replace '"pytest-runner"' ""
substituteInPlace requirements.txt \
--replace "pysnmplib==" "pysnmplib>="
'';
pythonImportsCheck = [
"brother"
];