forked from pool/python-vdirsyncer
Accepting request 822341 from home:mcalabkova:branches:devel:languages:python
- Update to 0.16.8 * Support Python 3.7 and 3.8. * Vdirsyncer will now warn if there's a string without quotes in your config. - Drop python-vdirsyncer-fix-tests.patch OBS-URL: https://build.opensuse.org/request/show/822341 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=26
This commit is contained in:
@@ -1,49 +0,0 @@
|
|||||||
Index: vdirsyncer-0.16.7/tests/conftest.py
|
|
||||||
===================================================================
|
|
||||||
--- vdirsyncer-0.16.7.orig/tests/conftest.py 2018-02-16 19:48:40.000000000 +0100
|
|
||||||
+++ vdirsyncer-0.16.7/tests/conftest.py 2019-05-07 07:42:51.601117380 +0200
|
|
||||||
@@ -7,7 +7,7 @@ import os
|
|
||||||
|
|
||||||
import click_log
|
|
||||||
|
|
||||||
-from hypothesis import HealthCheck, Verbosity, settings
|
|
||||||
+from hypothesis import Verbosity, settings
|
|
||||||
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
@@ -27,15 +27,12 @@ else:
|
|
||||||
del pytest_benchmark
|
|
||||||
|
|
||||||
|
|
||||||
-settings.suppress_health_check = [HealthCheck.too_slow]
|
|
||||||
-
|
|
||||||
settings.register_profile("ci", settings(
|
|
||||||
max_examples=1000,
|
|
||||||
verbosity=Verbosity.verbose,
|
|
||||||
))
|
|
||||||
settings.register_profile("deterministic", settings(
|
|
||||||
derandomize=True,
|
|
||||||
- perform_health_check=False
|
|
||||||
))
|
|
||||||
|
|
||||||
if os.environ.get('DETERMINISTIC_TESTS', 'false').lower() == 'true':
|
|
||||||
Index: vdirsyncer-0.16.7/tests/unit/test_repair.py
|
|
||||||
===================================================================
|
|
||||||
--- vdirsyncer-0.16.7.orig/tests/unit/test_repair.py 2018-07-19 21:07:31.000000000 +0200
|
|
||||||
+++ vdirsyncer-0.16.7/tests/unit/test_repair.py 2019-05-07 07:37:15.015521334 +0200
|
|
||||||
@@ -11,7 +11,6 @@ from vdirsyncer.vobject import Item
|
|
||||||
|
|
||||||
|
|
||||||
@given(uid=uid_strategy)
|
|
||||||
-@settings(perform_health_check=False) # Using the random module for UIDs
|
|
||||||
def test_repair_uids(uid):
|
|
||||||
s = MemoryStorage()
|
|
||||||
s.items = {
|
|
||||||
@@ -35,7 +34,6 @@ def test_repair_uids(uid):
|
|
||||||
|
|
||||||
|
|
||||||
@given(uid=uid_strategy.filter(lambda x: not href_safe(x)))
|
|
||||||
-@settings(perform_health_check=False) # Using the random module for UIDs
|
|
||||||
def test_repair_unsafe_uids(uid):
|
|
||||||
s = MemoryStorage()
|
|
||||||
item = Item(u'BEGIN:VCARD\nUID:{}\nEND:VCARD'.format(uid))
|
|
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 23 09:16:29 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.16.8
|
||||||
|
* Support Python 3.7 and 3.8.
|
||||||
|
* Vdirsyncer will now warn if there's a string without quotes in your config.
|
||||||
|
- Drop python-vdirsyncer-fix-tests.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 7 21:35:23 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
Sun Jun 7 21:35:23 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-vdirsyncer
|
Name: python-vdirsyncer
|
||||||
Version: 0.16.7
|
Version: 0.16.8
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: CalDAV and CardDAV synchronization module
|
Summary: CalDAV and CardDAV synchronization module
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -28,9 +28,6 @@ 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
|
||||||
# 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
|
# default deadline (200ms) is too short for obs
|
||||||
Patch1: python-vdirsyncer-shift-deadline.patch
|
Patch1: python-vdirsyncer-shift-deadline.patch
|
||||||
BuildRequires: %{python_module atomicwrites}
|
BuildRequires: %{python_module atomicwrites}
|
||||||
@@ -44,11 +41,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
|
||||||
Requires: python-click-threading >= 0.2
|
Requires: python-click-threading >= 0.2
|
||||||
Requires: python-icalendar >= 3.6
|
Requires: python-requests >= 2.20.0
|
||||||
Requires: python-lxml
|
|
||||||
Requires: python-python-dateutil
|
|
||||||
Requires: python-pytz
|
|
||||||
Requires: python-requests >= 2.4.1
|
|
||||||
Requires: python-requests-toolbelt >= 0.4.0
|
Requires: python-requests-toolbelt >= 0.4.0
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
@@ -57,11 +50,11 @@ BuildArch: noarch
|
|||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module click-log >= 0.3}
|
BuildRequires: %{python_module click-log >= 0.3}
|
||||||
BuildRequires: %{python_module click-threading >= 0.2}
|
BuildRequires: %{python_module click-threading >= 0.2}
|
||||||
BuildRequires: %{python_module hypothesis >= 3.1}
|
BuildRequires: %{python_module hypothesis >= 5.0.0}
|
||||||
BuildRequires: %{python_module pytest-localserver}
|
BuildRequires: %{python_module pytest-localserver}
|
||||||
BuildRequires: %{python_module pytest-subtesthack}
|
BuildRequires: %{python_module pytest-subtesthack}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests >= 2.4.1}
|
BuildRequires: %{python_module requests >= 2.20.0}
|
||||||
BuildRequires: %{python_module requests-toolbelt >= 0.4.40}
|
BuildRequires: %{python_module requests-toolbelt >= 0.4.40}
|
||||||
BuildRequires: %{python_module urllib3}
|
BuildRequires: %{python_module urllib3}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
@@ -79,7 +72,6 @@ what OfflineIMAP is for IMAP.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n vdirsyncer-%{version}
|
%setup -q -n vdirsyncer-%{version}
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
rm -rf vdirsyncer.egg-info
|
rm -rf vdirsyncer.egg-info
|
||||||
|
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6c9bcfb9bcb01246c83ba6f8551cf54c58af3323210755485fc23bb7848512ef
|
|
||||||
size 112786
|
|
3
vdirsyncer-0.16.8.tar.gz
Normal file
3
vdirsyncer-0.16.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bfdb422f52e1d4d60bd0635d203fb59fa7f613397d079661eb48e79464ba13c5
|
||||||
|
size 115819
|
Reference in New Issue
Block a user