From 59de53fee529551264a49c10a6bdb5aaa1465e6ab6558f252691a1b94d694cef Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 17 Dec 2024 00:59:45 +0000 Subject: [PATCH] - Update to 0.19.3: * Added a no_delete option to the storage configuration. :gh:`1090` * Fix crash when running vdirsyncer repair on a collection. :gh:`1019` * Add an option to request vCard v4.0. :gh:`1066` * Require matching BEGIN and END lines in vobjects. :gh:`1103` * Implement digest auth. :gh:`1137` * Add filter_hook parameter to :storage:`http`. :gh:`1136` - Drop patch 3eb9ce5ae4320d52e6c876874511ff96a8a45f51.patch, included. - Switch to pyproject macros. - Stop skipping so many tests. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=45 --- ...ce5ae4320d52e6c876874511ff96a8a45f51.patch | 20 ------------- python-vdirsyncer.changes | 14 ++++++++++ python-vdirsyncer.spec | 28 +++++++------------ vdirsyncer-0.19.2.tar.gz | 3 -- vdirsyncer-0.19.3.tar.gz | 3 ++ 5 files changed, 27 insertions(+), 41 deletions(-) delete mode 100644 3eb9ce5ae4320d52e6c876874511ff96a8a45f51.patch delete mode 100644 vdirsyncer-0.19.2.tar.gz create mode 100644 vdirsyncer-0.19.3.tar.gz diff --git a/3eb9ce5ae4320d52e6c876874511ff96a8a45f51.patch b/3eb9ce5ae4320d52e6c876874511ff96a8a45f51.patch deleted file mode 100644 index f9296d7..0000000 --- a/3eb9ce5ae4320d52e6c876874511ff96a8a45f51.patch +++ /dev/null @@ -1,20 +0,0 @@ -From 3eb9ce5ae4320d52e6c876874511ff96a8a45f51 Mon Sep 17 00:00:00 2001 -From: Hugo Osvaldo Barrera -Date: Tue, 9 Jun 2020 14:45:02 +0200 -Subject: [PATCH] Add compatibility with latest click - ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/setup.py -+++ b/setup.py -@@ -10,7 +10,7 @@ from setuptools import setup - - requirements = [ - # https://github.com/mitsuhiko/click/issues/200 -- "click>=5.0,<9.0", -+ "click>=5.0", - "click-log>=0.3.0, <0.5.0", - "requests >=2.20.0", - # https://github.com/sigmavirus24/requests-toolbelt/pull/28 diff --git a/python-vdirsyncer.changes b/python-vdirsyncer.changes index 0e42999..3629eaa 100644 --- a/python-vdirsyncer.changes +++ b/python-vdirsyncer.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Dec 17 00:59:32 UTC 2024 - Steve Kowalik + +- Update to 0.19.3: + * Added a no_delete option to the storage configuration. :gh:`1090` + * Fix crash when running vdirsyncer repair on a collection. :gh:`1019` + * Add an option to request vCard v4.0. :gh:`1066` + * Require matching BEGIN and END lines in vobjects. :gh:`1103` + * Implement digest auth. :gh:`1137` + * Add filter_hook parameter to :storage:`http`. :gh:`1136` +- Drop patch 3eb9ce5ae4320d52e6c876874511ff96a8a45f51.patch, included. +- Switch to pyproject macros. +- Stop skipping so many tests. + ------------------------------------------------------------------- Fri Dec 8 16:14:31 UTC 2023 - Dirk Müller diff --git a/python-vdirsyncer.spec b/python-vdirsyncer.spec index fb3fc9c..ed82b71 100644 --- a/python-vdirsyncer.spec +++ b/python-vdirsyncer.spec @@ -1,7 +1,7 @@ # # spec file for package python-vdirsyncer # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,19 @@ # -%define skip_python2 1 -%define skip_python36 1 Name: python-vdirsyncer -Version: 0.19.2 +Version: 0.19.3 Release: 0 Summary: CalDAV and CardDAV synchronization module License: BSD-3-Clause -Group: Productivity/Networking/News/Utilities 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 -# Compatibility with latest click - taken directly from upstream git -Patch0: 3eb9ce5ae4320d52e6c876874511ff96a8a45f51.patch BuildRequires: %{python_module atomicwrites} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: python-rpm-macros @@ -42,11 +39,9 @@ Requires: python-aiostream Requires: python-atomicwrites >= 0.1.7 Requires: python-click >= 5.0 Requires: python-click-log >= 0.3 -Requires: python-click-threading >= 0.2 Requires: python-requests >= 2.20.0 -Requires: python-requests-toolbelt >= 0.4.0 Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Recommends: python-requests-oauthlib BuildArch: noarch # SECTION test requirements @@ -54,14 +49,12 @@ BuildRequires: %{python_module aiohttp} BuildRequires: %{python_module aioresponses} BuildRequires: %{python_module aiostream} BuildRequires: %{python_module click-log >= 0.3} -BuildRequires: %{python_module click-threading >= 0.2} BuildRequires: %{python_module hypothesis >= 5.0.0} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-localserver} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.20.0} -BuildRequires: %{python_module requests-toolbelt >= 0.4.40} BuildRequires: %{python_module trustme} BuildRequires: %{python_module urllib3} # /SECTION @@ -81,10 +74,10 @@ what OfflineIMAP is for IMAP. rm -rf vdirsyncer.egg-info %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/vdirsyncer mkdir -p %{buildroot}%{_userunitdir} @@ -98,10 +91,9 @@ install -Dpm 0644 %{SOURCE2} %{buildroot}%{_userunitdir}/vdirsyncer-%{$python_bi %check export DETERMINISTIC_TESTS=true -# test_verbosity - click changed syntax and returns different quotes -# gh#pimutils/vdirsyncer#654 -- tests temporarily switched off # request_ssl - requires network -%pytest -k 'not test_legacy_status and not test_open_graphical_browser and not test_verbosity and not request_ssl' +# TestVobjectMachine -- broken upstream +%pytest -k 'not (request_ssl or TestVobjectMachine)' %post update-alternatives --install %{_bindir}/vdirsyncer vdirsyncer %{_bindir}/vdirsyncer-%{python_bin_suffix} %{python_version_nodots} \ @@ -116,7 +108,7 @@ update-alternatives --auto vdirsyncer %doc README.rst %license LICENSE %python_alternative %{_bindir}/vdirsyncer -%{python_sitelib}/vdirsyncer-%{version}*-info +%{python_sitelib}/vdirsyncer-%{version}.dist-info %{python_sitelib}/vdirsyncer %{_userunitdir}/vdirsyncer-%{python_bin_suffix}.service %{_userunitdir}/vdirsyncer-%{python_bin_suffix}.timer diff --git a/vdirsyncer-0.19.2.tar.gz b/vdirsyncer-0.19.2.tar.gz deleted file mode 100644 index 133aebe..0000000 --- a/vdirsyncer-0.19.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fd058ceeab8293459a0466cd9b0e4ab3b39462c6e089a0f0ac37c307420d82ba -size 123389 diff --git a/vdirsyncer-0.19.3.tar.gz b/vdirsyncer-0.19.3.tar.gz new file mode 100644 index 0000000..6cc373a --- /dev/null +++ b/vdirsyncer-0.19.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e437851feb985dec3544654f8f9cf6dd109b0b03f7e19956086603092ffeb28f +size 125478