Merge pull request #68364 from gebner/vdirsyncer-pytest

vdirsyncer: fix build
This commit is contained in:
Gabriel Ebner
2019-09-09 17:23:27 +01:00
committed by GitHub
+2 -5
View File
@@ -38,11 +38,8 @@ python3Packages.buildPythonApplication rec {
checkInputs = with python3Packages; [ hypothesis pytest pytest-localserver pytest-subtesthack ]; checkInputs = with python3Packages; [ hypothesis pytest pytest-localserver pytest-subtesthack ];
postPatch = '' postPatch = ''
# Invalid argument: 'perform_health_check' is not a valid setting # see https://github.com/pimutils/vdirsyncer/pull/805
substituteInPlace tests/conftest.py \ substituteInPlace setup.cfg --replace --duration --durations
--replace "perform_health_check=False" ""
substituteInPlace tests/unit/test_repair.py \
--replace $'@settings(perform_health_check=False) # Using the random module for UIDs\n' ""
# for setuptools_scm: # for setuptools_scm:
echo 'Version: ${version}' >PKG-INFO echo 'Version: ${version}' >PKG-INFO