14
0

- Add deprecated_getiterator.patch (.getiterator() in

etree.Element is obsolete, use just plain iter())

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=33
This commit is contained in:
2021-05-31 16:10:00 +00:00
committed by Git OBS Bridge
parent 6aa7d125a5
commit a460548bf0
4 changed files with 30 additions and 11 deletions

View File

@@ -32,6 +32,9 @@ Source2: vdirsyncer.timer
Patch1: python-vdirsyncer-shift-deadline.patch
# Compatibility with latest click - taken directly from upstream git
Patch2: 3eb9ce5ae4320d52e6c876874511ff96a8a45f51.patch
# PATCH-FIX-UPSTREAM deprecated_getiterator.patch bugno mcepl@suse.com
# .getiterator() in etree.Element is obsolete, use just plain iter()
Patch0: deprecated_getiterator.patch
BuildRequires: %{python_module atomicwrites}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: fdupes
@@ -71,9 +74,8 @@ resources, vdir and some more. It aims to be for CalDAV and CardDAV
what OfflineIMAP is for IMAP.
%prep
%setup -q -n vdirsyncer-%{version}
%patch1 -p1
%patch2 -p1
%autosetup -p1 -n vdirsyncer-%{version}
rm -rf vdirsyncer.egg-info
%build