Compare commits

...
Sign in to create a new pull request.

47 commits

Author SHA1 Message Date
Fedora Release Engineering
195ab5d0cc Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:23:42 +00:00
Python Maint
7db9d7666b Rebuilt for Python 3.15 2026-06-04 15:56:10 +02:00
Tomáš Hrnčiar
da001d76bc Add BuildRequires on python3-pkg-resources for setuptools 82 compatibility
Setuptools 82 dropped pkg_resources from the setuptools distribution.
Add explicit build dependency on the compat package.

Assisted-by: Cursor
2026-05-04 11:25:45 +02:00
Fedora Release Engineering
5090882e16 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:48:58 +00:00
accb86a950
Support building with old setuptools (pre-PEP 639)
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2025-12-16 16:35:00 +00:00
Python Maint
3cc425bd46 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 15:02:01 +02:00
Ben Boeckel
7c091a3f8a Update to 0.20.0 2025-08-28 21:19:25 -04:00
Ben Boeckel
07d8c8ea92 atomicwrites: tweak context again 2025-08-18 13:45:41 -04:00
Ben Boeckel
ab2928be81 atomicwrites: munge patch for backporting 2025-08-18 12:42:28 -04:00
Ben Boeckel
dc27ee49ef Remove atomicwrites dependency (see rhbz#2385436) 2025-08-18 12:14:55 -04:00
Python Maint
e7abc5458e Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:21:54 +02:00
Fedora Release Engineering
b13b1fa819 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 19:59:40 +00:00
Ben Boeckel
bc417a7321 Modernize RPM macros (rhbz#2378494) 2025-07-09 20:50:15 -04:00
Python Maint
ea96c3b1d2 Rebuilt for Python 3.14 2025-06-03 20:36:53 +02:00
David Kaufmann
a87dcbdf53 review licence, bump to v0.19.3 2025-05-21 01:10:27 +02:00
Fedora Release Engineering
16805cd0d4 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:09:46 +00:00
Miroslav Suchý
f592c241cf convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-09-04 22:37:49 +02:00
f77b1c8e80
Bump allowed version of aiostream again
Fixes: RHBZ#2308075
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2024-08-26 22:35:24 -05:00
Fedora Release Engineering
0ec040f4f6 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 08:37:04 +00:00
Python Maint
3e4fba79b2 Rebuilt for Python 3.13 2024-06-09 11:39:20 +02:00
David Kaufmann
b4d39fa52a fix version from github PR: Bump constraint for aiostream #1112 2024-03-01 23:54:04 +01:00
David Kaufmann
122b9c4445 and add sources 2024-02-04 00:56:59 +01:00
David Kaufmann
84a3ebd404 updated version 2024-02-03 04:11:41 +01:00
Fedora Release Engineering
eaeec6512f Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 07:34:24 +00:00
Fedora Release Engineering
6f9ea41c92 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:27:54 +00:00
Python Maint
8787f05bd0 Rebuilt for Python 3.12 2023-06-15 12:07:27 +02:00
Fedora Release Engineering
c14fa17a52 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:08:53 +00:00
David Kaufmann
10e8118755 fix autogenerated dependency 2022-08-17 19:11:42 +02:00
David Kaufmann
f8b9d53993 update dependencies at all locations 2022-08-15 04:03:14 +02:00
Fedora Release Engineering
af08e1c804 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 11:43:41 +00:00
Python Maint
812b4eb878 Rebuilt for Python 3.11 2022-06-15 15:23:55 +02:00
David Kaufmann
f1aa35fd70 update dependency 2022-03-18 21:33:07 +01:00
Fedora Release Engineering
cd05e60d00 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 03:49:55 +00:00
David Kaufmann
aef07a3563 and add sources 2021-11-11 01:55:59 +01:00
David Kaufmann
a85172988b update to 0.18 2021-11-11 01:52:04 +01:00
Fedora Release Engineering
feebab95a0 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-27 09:25:51 +00:00
Python Maint
120ce08f2d Rebuilt for Python 3.10 2021-06-04 21:19:12 +02:00
Fedora Release Engineering
1c6deb0d13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 22:56:26 +00:00
Tom Stellard
a7509d07d1 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 00:36:02 +00:00
David Kaufmann
7899c0ed1f fix duplicate changelog line 2020-11-01 05:58:43 +01:00
David Kaufmann
e8732637b4 fix %patch line 2020-11-01 05:55:26 +01:00
David Kaufmann
dd30cdde3e Fix for python 3.9 deprecation of getiterator 2020-10-31 14:07:13 +01:00
David Kaufmann
933cdfbd55 add newer click compatibility patch 2020-08-21 20:55:33 +02:00
David Kaufmann
bed8193530 update to v0.16.8 2020-08-13 22:19:01 +02:00
Fedora Release Engineering
8bec7e0c2c - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 13:34:55 +00:00
Miro Hrončok
127b7f0daa Rebuilt for Python 3.9 2020-05-26 03:54:19 +02:00
Fedora Release Engineering
c6f09ecc75 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 02:58:52 +00:00
5 changed files with 187 additions and 25 deletions

5
.gitignore vendored
View file

@ -16,3 +16,8 @@
/vdirsyncer-0.16.2.tar.gz
/vdirsyncer-0.16.3.tar.gz
/vdirsyncer-0.16.7.tar.gz
/vdirsyncer-0.16.8.tar.gz
/vdirsyncer-0.18.0.tar.gz
/vdirsyncer-0.19.2.tar.gz
/vdirsyncer-0.19.3.tar.gz
/vdirsyncer-0.20.0.tar.gz

1
series Normal file
View file

@ -0,0 +1 @@
vdirsyncer-revert-license-metadata-update.diff

View file

@ -1 +1,2 @@
SHA512 (vdirsyncer-0.16.7.tar.gz) = 218c6781139a9e979077308dc732756cc27ecb67966e4b52be31cb1ebf04d224443036102d5c4bad253b9dcf533939f0b72082166f0fe94e042a7e946b8fad0e
SHA512 (vdirsyncer-0.19.3.tar.gz) = 8651282302ad62b2bb6f7655429492dcff959cedc25e932d2e72deb2bb54406c6b5333fecdb14ae8c08ba3c20602856e8466198e24caee298fc9a08545fd3751
SHA512 (vdirsyncer-0.20.0.tar.gz) = 8499440ce8ba036d40f5bbff9d7cadb485be8bb2419d1fbad947f244259dabba9f2527ffff24298f697dd10e6ccd39155ea9547a480c584f64da0eadb993dad7

View file

@ -0,0 +1,19 @@
Reverting changes in 03d1c4666d701283ceba479174925963fa607f3b but with improvements
See https://github.com/pimutils/vdirsyncer/pull/1204 for bumping the required setuptools to actually work with the new declarations
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -16,11 +16,11 @@ description = "Synchronize calendars and
readme = "README.rst"
requires-python = ">=3.8"
keywords = ["todo", "task", "icalendar", "cli"]
-license = "BSD-3-Clause"
-license-files = ["LICENSE"]
+license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
+ "License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",

View file

@ -2,6 +2,14 @@
# as we need to package both wsgi_intercept and pytest-localserver
# for them to work. Will also need BR: pystest once the two
# above packages exist in Fedora
%bcond tests 0
%if (%{defined fedora} && 0%{?fedora} <= 42) || (%{defined rhel} && 0%{?rhel} <= 10)
# setuptools < 77 does not support PEP 639
%bcond old_setuptools 1
%else
%bcond old_setuptools 0
%endif
%global sum Synchronize calendars and contacts
%global srcname vdirsyncer
@ -9,41 +17,45 @@
%global _docdir_fmt %{name}
Name: vdirsyncer
Version: 0.16.7
Release: 6%{?git_tag}%{?dist}
Version: 0.20.0
Release: 7%{?dist}
Summary: %{sum}
License: BSD
License: BSD-3-Clause
URL: https://github.com/pimutils/%{name}
Source0: %{pypi_source}
Source: %{pypi_source}
# conditional patches
Patch1000: vdirsyncer-revert-license-metadata-update.diff
BuildArch: noarch
Obsoletes: python2-%{srcname} <= 0.12.1
BuildRequires: python3-atomicwrites >= 0.1.7
BuildRequires: make
BuildRequires: python3-click >= 5.0
BuildRequires: python3-click-log >= 0.3
BuildRequires: python3-click-log >= 0.4
BuildRequires: python3-click-threading >= 0.4.0
BuildRequires: python3-devel
BuildRequires: python3-icalendar
BuildRequires: python3-lxml
BuildRequires: python3-requests >= 2.10
BuildRequires: python3-requests-oauthlib
BuildRequires: python3-requests-toolbelt >= 0.4.0
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-sphinx
BuildRequires: python3-sphinx_rtd_theme
BuildRequires: python3-aiohttp-oauthlib
BuildRequires: python3-trustme
BuildRequires: python3-pytest-httpserver
BuildRequires: python3-pytest-localserver
BuildRequires: python3-pkg-resources
Requires: python3-atomicwrites >= 0.1.7
Requires: python3-click >= 5.0
Requires: python3-click-log >= 0.3
Requires: python3-click-log >= 0.4
Requires: python3-click-threading >= 0.4.0
Requires: python3-icalendar
Requires: python3-lxml >= 3.1
Requires: python3-requests >= 2.4.1
Requires: python3-requests-oauthlib
Requires: python3-requests >= 2.10
Requires: python3-requests-toolbelt >= 0.4.0
Requires: python3-aiohttp-oauthlib
Requires: python3-vdirsyncer = %{version}
Requires: sqlite
@ -56,17 +68,15 @@ It aims to be for CalDAV and CardDAV what OfflineIMAP is for IMAP.
%package -n python3-%{srcname}
Summary: %{sum}
%{?python_provide:%python_provide python3-%{srcname}}
Requires: python3-atomicwrites >= 0.1.7
Requires: python3-click >= 5.0
Requires: python3-click-log >= 0.3
Requires: python3-click-log >= 0.4
Requires: python3-click-threading >= 0.4.0
Requires: python3-icalendar
Requires: python3-lxml >= 3.1
Requires: python3-requests >= 2.4.1
Requires: python3-requests-oauthlib
Requires: python3-requests >= 2.10
Requires: python3-requests-toolbelt >= 0.4.0
Requires: python3-aiohttp-oauthlib
%description -n python3-%{srcname}
vdirsyncer synchronizes your calendars and address books between two entities.
@ -84,7 +94,14 @@ The vdirsyncer-doc package provides all the documentation
for the vdirsyncer calendar/address-book synchronization utility.
%prep
%setup -q
%autosetup -N
%autopatch -p1 -M 999
%if %{with old_setuptools}
%autopatch -p1 1000
%endif
%generate_buildrequires
%pyproject_buildrequires
%build
# Here we set upstream version based on setuptools_scm documentation
@ -93,7 +110,7 @@ for the vdirsyncer calendar/address-book synchronization utility.
# since we are not importing a .git repository in the tarball
# From: https://athoscr.fedorapeople.org/packaging/python-setuptools_scm_git_archive.spec
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%py3_build
%pyproject_wheel
# Custom sphinx docs need to import vdirsyncer classes from the untarred
# source tree
@ -116,21 +133,21 @@ rm -fv docs/_build/html/{.buildinfo,objects.inv}
# since we are not importing a .git repository in the tarball
# From: https://athoscr.fedorapeople.org/packaging/python-setuptools_scm_git_archive.spec
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%py3_install
%pyproject_install
%pyproject_save_files -l %{srcname}
install -d "$RPM_BUILD_ROOT%{_mandir}/man1"
cp -r docs/_build/man/%{name}.1 "$RPM_BUILD_ROOT%{_mandir}/man1"
%check
%pyproject_check_import
%if %{with tests}
sh build.sh tests
%endif
%files -n python3-%{srcname}
%license LICENSE
%files -n python3-%{srcname} -f %{pyproject_files}
%doc AUTHORS.rst README.rst CONTRIBUTING.rst
%{python3_sitelib}/%{srcname}-*.egg-info
%{python3_sitelib}/%{srcname}
%files
@ -144,6 +161,125 @@ sh build.sh tests
%doc docs/_build/html docs/_build/text
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 0.20.0-6
- Rebuilt for Python 3.15
* Thu May 07 2026 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.20.0-5
- Add BR on python3-pkg-resources, setuptools 82 dropped pkg_resources
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Tue Dec 16 2025 Michel Lind <salimma@fedoraproject.org> - 0.20.0-3
- Support building with old setuptools (pre-PEP 639)
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.20.0-2
- Rebuilt for Python 3.14.0rc3 bytecode
* Thu Aug 28 2025 Ben Boeckel <fedora@me.benboeckel.net> - 0.20.0-1
- Update to 0.20.0
* Mon Aug 18 2025 Ben Boeckel <fedora@me.benboeckel.net> - 0.19.3-6
- Remove atomicwrites dependency (see rhbz#2385436)
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0.19.3-5
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Wed Jul 09 2025 Ben Boeckel <fedora@me.benboeckel.net> - 0.19.3-3
- Modernize RPM macros (rhbz#2378494)
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 0.19.3-2
- Rebuilt for Python 3.14
* Wed May 21 2025 David Kaufmann <astra@ionic.at> - 0.19.3-1
- Update to v0.19.3
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 0.19.2-6
- convert license to SPDX
* Mon Aug 26 2024 Michel Lind <salimma@fedoraproject.org> - 0.19.2-5
- Bump allowed version of aiostream again
- Fixes: RHBZ#2308075
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sun Jun 09 2024 Python Maint <python-maint@redhat.com> - 0.19.2-3
- Rebuilt for Python 3.13
* Sat Feb 03 2024 David Kaufmann <astra@ionic.at> - 0.19.2-1
- Update to v0.19.2
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 0.18.0-9
- Rebuilt for Python 3.12
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Aug 17 2022 David Kaufmann <astra@ionic.at> - 0.18.0-7
- Fix autogenerated dependency
* Mon Aug 15 2022 David Kaufmann <astra@ionic.at> - 0.18.0-6
- Update click-log dependency in all places
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 0.18.0-4
- Rebuilt for Python 3.11
* Fri Mar 18 2022 David Kaufmann <astra@ionic.at> - 0.18.0-3
- Update click-log dependency
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Nov 11 2021 David Kaufmann <astra@ionic.at> - 0.18.0-1
- Update to v0.18.0
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.8-7
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.16.8-6
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Nov 01 2020 David Kaufmann <astra@ionic.at> - 0.16.8-4
- Fix patch, as only Patch0 gets applied by default
* Sat Oct 31 2020 David Kaufmann <astra@ionic.at> - 0.16.8-3
- Fix for python 3.9 deprecation of getiterator
* Thu Aug 13 2020 David Kaufmann <astra@ionic.at> - 0.16.8-1
- Update to v0.16.8
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.7-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.16.7-8
- Rebuilt for Python 3.9
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Nov 15 2019 David Kaufmann <astra@ionic.at> - 0.16.7-6
- Fix url
- Inject version string for setuptools_scm, as it builds from tarball, not git