Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a6a168c296 | |||
| e5df1557e4 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:92799fde8cce0b61daa8383593836d1e19136e504fa1671f471f98be9b029706
|
||||
size 119371
|
||||
3
icalendar-6.3.1.tar.gz
Normal file
3
icalendar-6.3.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a697ce7b678072941e519f2745704fc29d78ef92a2dc53d9108ba6a04aeba466
|
||||
size 177169
|
||||
@@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 2 03:13:15 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 6.3.1:
|
||||
* New features:
|
||||
+ Add ``VALARM`` properties for :rfc:`9074`.
|
||||
+ Test compatibility with Python 3.13
|
||||
+ Add ``Timezone.from_tzinfo()`` and ``Timezone.from_tzid()`` to create
|
||||
a ``Timezone`` component from a ``datetime.tzinfo`` timezone.
|
||||
+ Add ``icalendar.prop.tzid_from_tzinfo``.
|
||||
+ Add ``icalendar.alarms`` module to calculate alarm times.
|
||||
+ Add ``Event.alarms`` and ``Todo.alarms`` to access alarm calculation.
|
||||
+ Add ``DTSTART``, ``TZOFFSETTO``, and ``TZOFFSETFROM`` to
|
||||
``TimezoneStandard`` and ``TimezoneDaylight``
|
||||
+ Use ``pyproject.toml`` file instead of ``setup.py``
|
||||
* Breaking changes:
|
||||
+ The ``relative`` attribute of ``vWeekday`` components has the correct sign now.
|
||||
+ Use ``zoneinfo`` for ``icalendar`` objects created from strings,
|
||||
+ Remove ``is_broken`` property. Use ``errors`` instead to check if a
|
||||
component had suppressed parsing errors.
|
||||
+ Remove untested and broken ``LocalTimezone`` and ``FixedOffset`` tzinfo
|
||||
+ sub-classes.
|
||||
+ Remove Python 3.7 as compatible.
|
||||
+ Test compatibility with Python 3.12
|
||||
+ Add function ``icalendar.use_pytz()``.
|
||||
+ Allows selecting components with ``walk(select=func)`` where ``func`` takes a
|
||||
component and returns ``True`` or ``False``.
|
||||
+ Add compatibility to :rfc:`7529`, adding ``vMonth`` and ``vSkip``
|
||||
* Bug fixes:
|
||||
+ Fix a bad ``bytes`` replace in ``unescape_char``.
|
||||
+ Handle ``ValueError`` in ``vBinary.from_ical``.
|
||||
+ Rename RFC 2445 to RFC 5545, see `Issue 278
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 30 20:33:27 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-icalendar
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2011 open-slx GmbH <Sascha.Manns@open-slx.de>
|
||||
# Copyright (c) 2009 - 7/2011 Sascha Manns <saigkill@opensuse.org>
|
||||
#
|
||||
@@ -21,23 +21,25 @@
|
||||
%define modname icalendar
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-%{modname}
|
||||
Version: 5.0.13
|
||||
Version: 6.3.1
|
||||
Release: 0
|
||||
Summary: Python parser/generator of iCalendar files package
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/collective/icalendar
|
||||
Source0: https://files.pythonhosted.org/packages/source/i/icalendar/%{modname}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module hatch_vcs}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module tzdata}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-python-dateutil
|
||||
Requires: python-pytz
|
||||
Requires: python-tzdata
|
||||
Suggests: python-pytz
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Provides: %{name}-doc = %{version}
|
||||
@@ -63,7 +65,9 @@ with Python. It follows the RFC 2445 (iCalendar) specification.
|
||||
%check
|
||||
# some dependencies are too old in Leap
|
||||
%if 0%{?suse_version} >= 1550
|
||||
%pytest src
|
||||
donttest="(test_timezone_names_are_known and tzp_0-America/Coyhaique)"
|
||||
donttest+=" or (test_timezone_names_are_known and tzp_0-Asia/Beijing)"
|
||||
%pytest -k "not ($donttest)" src
|
||||
%endif
|
||||
|
||||
%post
|
||||
@@ -74,7 +78,7 @@ with Python. It follows the RFC 2445 (iCalendar) specification.
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.rst
|
||||
%doc README.rst CHANGES.rst
|
||||
%doc README.rst docs/changelog.rst
|
||||
%python_alternative %{_bindir}/icalendar
|
||||
%{python_sitelib}/%{modname}
|
||||
%{python_sitelib}/%{modname}-%{version}.dist-info
|
||||
|
||||
Reference in New Issue
Block a user