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
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# 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
|
||||
License: BSD-3-Clause
|
||||
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
|
||||
Source1: vdirsyncer.service
|
||||
Source2: vdirsyncer.timer
|
||||
@@ -38,17 +38,6 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: systemd
|
||||
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-click >= 5.0
|
||||
Requires: python-click-log >= 0.3
|
||||
@@ -61,6 +50,17 @@ Requires: python-requests >= 2.4.1
|
||||
Requires: python-requests-toolbelt >= 0.4.0
|
||||
Recommends: python-requests-oauthlib
|
||||
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
|
||||
Provides: vdirsyncer = %{version}
|
||||
Obsoletes: vdirsyncer < %{version}
|
||||
@@ -84,7 +84,7 @@ rm -rf vdirsyncer.egg-info
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
|
||||
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
||||
|
||||
mkdir -p %{buildroot}%{_userunitdir}
|
||||
install -Dpm 0644 %{SOURCE0} %{buildroot}%{_userunitdir}/vdirsyncer.service
|
||||
|
Reference in New Issue
Block a user