forked from pool/python-vdirsyncer
- 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
This commit is contained in:
@@ -1,20 +0,0 @@
|
|||||||
From 3eb9ce5ae4320d52e6c876874511ff96a8a45f51 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Hugo Osvaldo Barrera <hugo@barrera.io>
|
|
||||||
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
|
|
@@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 17 00:59:32 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- 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 <dmueller@suse.com>
|
Fri Dec 8 16:14:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-vdirsyncer
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Name: python-vdirsyncer
|
||||||
Version: 0.19.2
|
Version: 0.19.3
|
||||||
Release: 0
|
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
|
|
||||||
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
|
||||||
# Compatibility with latest click - taken directly from upstream git
|
|
||||||
Patch0: 3eb9ce5ae4320d52e6c876874511ff96a8a45f51.patch
|
|
||||||
BuildRequires: %{python_module atomicwrites}
|
BuildRequires: %{python_module atomicwrites}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -42,11 +39,9 @@ Requires: python-aiostream
|
|||||||
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
|
||||||
Requires: python-click-threading >= 0.2
|
|
||||||
Requires: python-requests >= 2.20.0
|
Requires: python-requests >= 2.20.0
|
||||||
Requires: python-requests-toolbelt >= 0.4.0
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Recommends: python-requests-oauthlib
|
Recommends: python-requests-oauthlib
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
@@ -54,14 +49,12 @@ BuildRequires: %{python_module aiohttp}
|
|||||||
BuildRequires: %{python_module aioresponses}
|
BuildRequires: %{python_module aioresponses}
|
||||||
BuildRequires: %{python_module aiostream}
|
BuildRequires: %{python_module aiostream}
|
||||||
BuildRequires: %{python_module click-log >= 0.3}
|
BuildRequires: %{python_module click-log >= 0.3}
|
||||||
BuildRequires: %{python_module click-threading >= 0.2}
|
|
||||||
BuildRequires: %{python_module hypothesis >= 5.0.0}
|
BuildRequires: %{python_module hypothesis >= 5.0.0}
|
||||||
BuildRequires: %{python_module pytest-asyncio}
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
BuildRequires: %{python_module pytest-cov}
|
BuildRequires: %{python_module pytest-cov}
|
||||||
BuildRequires: %{python_module pytest-localserver}
|
BuildRequires: %{python_module pytest-localserver}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests >= 2.20.0}
|
BuildRequires: %{python_module requests >= 2.20.0}
|
||||||
BuildRequires: %{python_module requests-toolbelt >= 0.4.40}
|
|
||||||
BuildRequires: %{python_module trustme}
|
BuildRequires: %{python_module trustme}
|
||||||
BuildRequires: %{python_module urllib3}
|
BuildRequires: %{python_module urllib3}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
@@ -81,10 +74,10 @@ what OfflineIMAP is for IMAP.
|
|||||||
rm -rf vdirsyncer.egg-info
|
rm -rf vdirsyncer.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/vdirsyncer
|
%python_clone -a %{buildroot}%{_bindir}/vdirsyncer
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_userunitdir}
|
mkdir -p %{buildroot}%{_userunitdir}
|
||||||
@@ -98,10 +91,9 @@ install -Dpm 0644 %{SOURCE2} %{buildroot}%{_userunitdir}/vdirsyncer-%{$python_bi
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export DETERMINISTIC_TESTS=true
|
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
|
# 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
|
%post
|
||||||
update-alternatives --install %{_bindir}/vdirsyncer vdirsyncer %{_bindir}/vdirsyncer-%{python_bin_suffix} %{python_version_nodots} \
|
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
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python_alternative %{_bindir}/vdirsyncer
|
%python_alternative %{_bindir}/vdirsyncer
|
||||||
%{python_sitelib}/vdirsyncer-%{version}*-info
|
%{python_sitelib}/vdirsyncer-%{version}.dist-info
|
||||||
%{python_sitelib}/vdirsyncer
|
%{python_sitelib}/vdirsyncer
|
||||||
%{_userunitdir}/vdirsyncer-%{python_bin_suffix}.service
|
%{_userunitdir}/vdirsyncer-%{python_bin_suffix}.service
|
||||||
%{_userunitdir}/vdirsyncer-%{python_bin_suffix}.timer
|
%{_userunitdir}/vdirsyncer-%{python_bin_suffix}.timer
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fd058ceeab8293459a0466cd9b0e4ab3b39462c6e089a0f0ac37c307420d82ba
|
|
||||||
size 123389
|
|
3
vdirsyncer-0.19.3.tar.gz
Normal file
3
vdirsyncer-0.19.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e437851feb985dec3544654f8f9cf6dd109b0b03f7e19956086603092ffeb28f
|
||||||
|
size 125478
|
Reference in New Issue
Block a user