forked from pool/python-vdirsyncer
- Make the deadline for tests even larger, on slow obs bots
it takes 1300: * python-vdirsyncer-shift-deadline.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
fddaebc654
commit
71ef7d3fd8
@@ -19,7 +19,7 @@ Index: vdirsyncer-0.16.7/tests/system/cli/test_sync.py
|
|||||||
# XXX: https://github.com/pimutils/vdirsyncer/issues/617
|
# XXX: https://github.com/pimutils/vdirsyncer/issues/617
|
||||||
@pytest.mark.skipif(sys.platform == 'darwin',
|
@pytest.mark.skipif(sys.platform == 'darwin',
|
||||||
reason='This test inexplicably fails')
|
reason='This test inexplicably fails')
|
||||||
+@settings(deadline=1000.0)
|
+@settings(deadline=2000.0)
|
||||||
@given(collections=st.sets(
|
@given(collections=st.sets(
|
||||||
st.text(
|
st.text(
|
||||||
st.characters(
|
st.characters(
|
||||||
|
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 5 07:15:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Make the deadline for tests even larger, on slow obs bots
|
||||||
|
it takes 1300:
|
||||||
|
* python-vdirsyncer-shift-deadline.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 16 22:35:41 UTC 2019 - ranand@suse.com
|
Thu May 16 22:35:41 UTC 2019 - ranand@suse.com
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ Release: 0
|
|||||||
Summary: CalDAV and CardDAV synchronization module
|
Summary: CalDAV and CardDAV synchronization module
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Networking/News/Utilities
|
Group: Productivity/Networking/News/Utilities
|
||||||
Url: https://github.com/pimutils/vdirsyncer
|
URL: https://github.com/pimutils/vdirsyncer
|
||||||
Source0: https://files.pythonhosted.org/packages/source/v/vdirsyncer/vdirsyncer-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/v/vdirsyncer/vdirsyncer-%{version}.tar.gz
|
||||||
Source1: vdirsyncer.service
|
Source1: vdirsyncer.service
|
||||||
Source2: vdirsyncer.timer
|
Source2: vdirsyncer.timer
|
||||||
@@ -38,17 +38,6 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
# SECTION test requirements
|
|
||||||
BuildRequires: %{python_module click-log >= 0.3}
|
|
||||||
BuildRequires: %{python_module click-threading >= 0.2}
|
|
||||||
BuildRequires: %{python_module hypothesis >= 3.1}
|
|
||||||
BuildRequires: %{python_module pytest-localserver}
|
|
||||||
BuildRequires: %{python_module pytest-subtesthack}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module requests >= 2.4.1}
|
|
||||||
BuildRequires: %{python_module requests-toolbelt >= 0.4.40}
|
|
||||||
BuildRequires: %{python_module urllib3}
|
|
||||||
# /SECTION
|
|
||||||
Requires: python-atomicwrites >= 0.1.7
|
Requires: python-atomicwrites >= 0.1.7
|
||||||
Requires: python-click >= 5.0
|
Requires: python-click >= 5.0
|
||||||
Requires: python-click-log >= 0.3
|
Requires: python-click-log >= 0.3
|
||||||
@@ -61,6 +50,17 @@ Requires: python-requests >= 2.4.1
|
|||||||
Requires: python-requests-toolbelt >= 0.4.0
|
Requires: python-requests-toolbelt >= 0.4.0
|
||||||
Recommends: python-requests-oauthlib
|
Recommends: python-requests-oauthlib
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module click-log >= 0.3}
|
||||||
|
BuildRequires: %{python_module click-threading >= 0.2}
|
||||||
|
BuildRequires: %{python_module hypothesis >= 3.1}
|
||||||
|
BuildRequires: %{python_module pytest-localserver}
|
||||||
|
BuildRequires: %{python_module pytest-subtesthack}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module requests >= 2.4.1}
|
||||||
|
BuildRequires: %{python_module requests-toolbelt >= 0.4.40}
|
||||||
|
BuildRequires: %{python_module urllib3}
|
||||||
|
# /SECTION
|
||||||
%ifpython3
|
%ifpython3
|
||||||
Provides: vdirsyncer = %{version}
|
Provides: vdirsyncer = %{version}
|
||||||
Obsoletes: vdirsyncer < %{version}
|
Obsoletes: vdirsyncer < %{version}
|
||||||
@@ -84,7 +84,7 @@ rm -rf vdirsyncer.egg-info
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_userunitdir}
|
mkdir -p %{buildroot}%{_userunitdir}
|
||||||
install -Dpm 0644 %{SOURCE0} %{buildroot}%{_userunitdir}/vdirsyncer.service
|
install -Dpm 0644 %{SOURCE0} %{buildroot}%{_userunitdir}/vdirsyncer.service
|
||||||
|
Reference in New Issue
Block a user