14
0

Accepting request 701268 from home:pgajdos

- added patches
  default deadline (200ms) is too short for obs
  + python-vdirsyncer-shift-deadline.patch

OBS-URL: https://build.opensuse.org/request/show/701268
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=12
This commit is contained in:
Tomáš Chvátal
2019-05-07 10:11:51 +00:00
committed by Git OBS Bridge
parent 8b2414146a
commit 5c342cdb88
4 changed files with 39 additions and 3 deletions

View File

@@ -31,6 +31,8 @@ Source2: vdirsyncer.timer
# https://github.com/pimutils/vdirsyncer/pull/779
# https://github.com/pimutils/vdirsyncer/issues/793
Patch0: python-vdirsyncer-fix-tests.patch
# default deadline (200ms) is too short for obs
Patch1: python-vdirsyncer-shift-deadline.patch
BuildRequires: %{python_module setuptools_scm}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -74,6 +76,7 @@ what OfflineIMAP is for IMAP.
%prep
%setup -q -n vdirsyncer-%{version}
%patch0 -p1
%patch1 -p1
rm -rf vdirsyncer.egg-info
%build
@@ -88,7 +91,8 @@ install -Dpm 0644 %{SOURCE0} %{buildroot}%{_userunitdir}/vdirsyncer.service
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_userunitdir}/vdirsyncer.timer
%check
%python_exec -m pytest -k 'not test_open_graphical_browser'
export DETERMINISTIC_TESTS=true
%pytest -k 'not test_open_graphical_browser'
%files %{python_files}
%doc README.rst