Skip to content

Commit f7796df

Browse files
committed
py-icalendar: update to 6.2.0.
6.2.0 (2025-05-07) Minor changes: Use ruff to format the source code. Update project metadata to use License-Expression. Use tzp.localize(dt, None) to remove the timezone from a datetime. Remove the HTML documentation when building with tox to force rebuild. Switch to PyData Sphinx Theme for documentation. See Issue 803. New features: Add getters rrules, rdates, and exdates for unified and simple access to these properties. See Issue 662. Add attributes to the calendar for properties NAME, DESCRIPTION, and COLOR. See Issue 655. Add a color attribute to Event, Todo, and Journal components. See Issue 655. Add sequence attribute to Event, Todo, and Journal components. See Issue 802. Add categories attribute to Calendar, Event, Todo, and Journal components. See Issue 655. Add compatibility to RFC 6868. See Issue 652. Add freebusy property to the Calendar to get this type of subcomponents easier. Add parameters from RFC 5545 to properties ALTREP, CN, CUTYPE, DELEGATED_FROM, DELEGATED_TO, DIR, FBTYPE, LANGUAGE, MEMBER, PARTSTAT, RANGE, RELATED, ROLE, RSVP, SENT_BY, TZID, and RELTYPE. See Issue 798. New properties from RFC 7986 can occur multiple times in VCALENDAR. See PR 808. Bug fixes: Fix STANDARD and DAYLIGHT components that have a date as DTSTART. See Issue 218 Move import at the end of icalendar.parser into a function to mitigate import errors, see Issue 781. ALTREP, DELEGATED-FROM, DELEGATED-TO, DIR, MEMBER, and SENT-BY require double quotes. These are now always added. Classify CATEGORIES as multiple in VEVENT. See PR 808.
1 parent cee9f61 commit f7796df

3 files changed

Lines changed: 62 additions & 16 deletions

File tree

time/py-icalendar/Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# $NetBSD: Makefile,v 1.51 2025/04/12 13:36:49 wiz Exp $
1+
# $NetBSD: Makefile,v 1.52 2025/05/11 10:30:44 wiz Exp $
22

3-
DISTNAME= icalendar-6.1.3
3+
DISTNAME= icalendar-6.2.0
44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
55
CATEGORIES= time python
66
MASTER_SITES= ${MASTER_SITE_PYPI:=i/icalendar/}
@@ -23,9 +23,8 @@ USE_LANGUAGES= # none
2323
REPLACE_SH+= src/icalendar/tests/fuzzed/generate_python_test_cases_from_downloaded_clusterfuzz_test_cases.sh
2424
REPLACE_PYTHON+= src/icalendar/cli.py
2525

26-
# as of 6.1.1:
27-
# 1143 failed, 6888 passed, 15 skipped
28-
# https://github.com/collective/icalendar/issues/731
26+
# as of 6.2.0
27+
# 16 failed, 8578 passed, 15 skipped
2928

3029
post-install:
3130
cd ${DESTDIR}${PREFIX}/bin && \

time/py-icalendar/PLIST

Lines changed: 54 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.26 2025/04/12 13:36:49 wiz Exp $
1+
@comment $NetBSD: PLIST,v 1.27 2025/05/11 10:30:44 wiz Exp $
22
bin/icalendar-${PYVERSSUFFIX}
33
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
44
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -14,6 +14,9 @@ ${PYSITELIB}/icalendar/_version.pyo
1414
${PYSITELIB}/icalendar/alarms.py
1515
${PYSITELIB}/icalendar/alarms.pyc
1616
${PYSITELIB}/icalendar/alarms.pyo
17+
${PYSITELIB}/icalendar/attr.py
18+
${PYSITELIB}/icalendar/attr.pyc
19+
${PYSITELIB}/icalendar/attr.pyo
1720
${PYSITELIB}/icalendar/cal.py
1821
${PYSITELIB}/icalendar/cal.pyc
1922
${PYSITELIB}/icalendar/cal.pyo
@@ -23,6 +26,15 @@ ${PYSITELIB}/icalendar/caselessdict.pyo
2326
${PYSITELIB}/icalendar/cli.py
2427
${PYSITELIB}/icalendar/cli.pyc
2528
${PYSITELIB}/icalendar/cli.pyo
29+
${PYSITELIB}/icalendar/enums.py
30+
${PYSITELIB}/icalendar/enums.pyc
31+
${PYSITELIB}/icalendar/enums.pyo
32+
${PYSITELIB}/icalendar/error.py
33+
${PYSITELIB}/icalendar/error.pyc
34+
${PYSITELIB}/icalendar/error.pyo
35+
${PYSITELIB}/icalendar/param.py
36+
${PYSITELIB}/icalendar/param.pyc
37+
${PYSITELIB}/icalendar/param.pyo
2638
${PYSITELIB}/icalendar/parser.py
2739
${PYSITELIB}/icalendar/parser.pyc
2840
${PYSITELIB}/icalendar/parser.pyo
@@ -38,6 +50,24 @@ ${PYSITELIB}/icalendar/tests/__init__.pyo
3850
${PYSITELIB}/icalendar/tests/alarms/rfc_5545_absolute_alarm_example.ics
3951
${PYSITELIB}/icalendar/tests/alarms/rfc_5545_end.ics
4052
${PYSITELIB}/icalendar/tests/alarms/start_date.ics
53+
${PYSITELIB}/icalendar/tests/attr/__init__.py
54+
${PYSITELIB}/icalendar/tests/attr/__init__.pyc
55+
${PYSITELIB}/icalendar/tests/attr/__init__.pyo
56+
${PYSITELIB}/icalendar/tests/attr/test_alarm.py
57+
${PYSITELIB}/icalendar/tests/attr/test_alarm.pyc
58+
${PYSITELIB}/icalendar/tests/attr/test_alarm.pyo
59+
${PYSITELIB}/icalendar/tests/attr/test_component.py
60+
${PYSITELIB}/icalendar/tests/attr/test_component.pyc
61+
${PYSITELIB}/icalendar/tests/attr/test_component.pyo
62+
${PYSITELIB}/icalendar/tests/attr/test_exdates.py
63+
${PYSITELIB}/icalendar/tests/attr/test_exdates.pyc
64+
${PYSITELIB}/icalendar/tests/attr/test_exdates.pyo
65+
${PYSITELIB}/icalendar/tests/attr/test_rdate.py
66+
${PYSITELIB}/icalendar/tests/attr/test_rdate.pyc
67+
${PYSITELIB}/icalendar/tests/attr/test_rdate.pyo
68+
${PYSITELIB}/icalendar/tests/attr/test_rrule.py
69+
${PYSITELIB}/icalendar/tests/attr/test_rrule.pyc
70+
${PYSITELIB}/icalendar/tests/attr/test_rrule.pyo
4171
${PYSITELIB}/icalendar/tests/calendars/alarm_etar_future.ics
4272
${PYSITELIB}/icalendar/tests/calendars/alarm_etar_notification.ics
4373
${PYSITELIB}/icalendar/tests/calendars/alarm_etar_notification_clicked.ics
@@ -68,6 +98,7 @@ ${PYSITELIB}/icalendar/tests/calendars/issue_168_input.ics
6898
${PYSITELIB}/icalendar/tests/calendars/issue_178_component_with_invalid_name_represented.ics
6999
${PYSITELIB}/icalendar/tests/calendars/issue_178_custom_component_contains_other.ics
70100
${PYSITELIB}/icalendar/tests/calendars/issue_178_custom_component_inside_other.ics
101+
${PYSITELIB}/icalendar/tests/calendars/issue_218_bad_tzid.ics
71102
${PYSITELIB}/icalendar/tests/calendars/issue_237_fail_to_parse_timezone_with_non_ascii_tzid.ics
72103
${PYSITELIB}/icalendar/tests/calendars/issue_27_multiple_periods_in_freebusy_multiple_freebusies.ics
73104
${PYSITELIB}/icalendar/tests/calendars/issue_27_multiple_periods_in_freebusy_one_freebusy.ics
@@ -83,13 +114,17 @@ ${PYSITELIB}/icalendar/tests/calendars/issue_526_calendar_with_shuffeled_events.
83114
${PYSITELIB}/icalendar/tests/calendars/issue_722_missing_VTIMEZONE_custom.ics
84115
${PYSITELIB}/icalendar/tests/calendars/issue_722_missing_timezones.ics
85116
${PYSITELIB}/icalendar/tests/calendars/issue_722_timezone_transition_ambiguity.ics
117+
${PYSITELIB}/icalendar/tests/calendars/issue_798_freebusy.ics
118+
${PYSITELIB}/icalendar/tests/calendars/issue_798_related_to.ics
86119
${PYSITELIB}/icalendar/tests/calendars/multiple_calendar_components.ics
87120
${PYSITELIB}/icalendar/tests/calendars/pacific_fiji.ics
88121
${PYSITELIB}/icalendar/tests/calendars/parsing_error.ics
89122
${PYSITELIB}/icalendar/tests/calendars/parsing_error_in_UTC_offset.ics
90123
${PYSITELIB}/icalendar/tests/calendars/period_with_timezone.ics
91124
${PYSITELIB}/icalendar/tests/calendars/pr_480_summary_with_colon.ics
92125
${PYSITELIB}/icalendar/tests/calendars/property_params.ics
126+
${PYSITELIB}/icalendar/tests/calendars/rfc_5545_RDATE_example.ics
127+
${PYSITELIB}/icalendar/tests/calendars/rfc_6868.ics
93128
${PYSITELIB}/icalendar/tests/calendars/rfc_7529.ics
94129
${PYSITELIB}/icalendar/tests/calendars/small_bad_calendar.ics
95130
${PYSITELIB}/icalendar/tests/calendars/time.ics
@@ -143,12 +178,6 @@ ${PYSITELIB}/icalendar/tests/hypothesis/test_fuzzing.pyo
143178
${PYSITELIB}/icalendar/tests/prop/__init__.py
144179
${PYSITELIB}/icalendar/tests/prop/__init__.pyc
145180
${PYSITELIB}/icalendar/tests/prop/__init__.pyo
146-
${PYSITELIB}/icalendar/tests/prop/test_alarm.py
147-
${PYSITELIB}/icalendar/tests/prop/test_alarm.pyc
148-
${PYSITELIB}/icalendar/tests/prop/test_alarm.pyo
149-
${PYSITELIB}/icalendar/tests/prop/test_component.py
150-
${PYSITELIB}/icalendar/tests/prop/test_component.pyc
151-
${PYSITELIB}/icalendar/tests/prop/test_component.pyo
152181
${PYSITELIB}/icalendar/tests/prop/test_constructors.py
153182
${PYSITELIB}/icalendar/tests/prop/test_constructors.pyc
154183
${PYSITELIB}/icalendar/tests/prop/test_constructors.pyo
@@ -216,6 +245,9 @@ ${PYSITELIB}/icalendar/tests/test_issue_165_missing_event.pyo
216245
${PYSITELIB}/icalendar/tests/test_issue_168_parsing_invalid_calendars_no_warning.py
217246
${PYSITELIB}/icalendar/tests/test_issue_168_parsing_invalid_calendars_no_warning.pyc
218247
${PYSITELIB}/icalendar/tests/test_issue_168_parsing_invalid_calendars_no_warning.pyo
248+
${PYSITELIB}/icalendar/tests/test_issue_218_parse_calendar.py
249+
${PYSITELIB}/icalendar/tests/test_issue_218_parse_calendar.pyc
250+
${PYSITELIB}/icalendar/tests/test_issue_218_parse_calendar.pyo
219251
${PYSITELIB}/icalendar/tests/test_issue_27_period.py
220252
${PYSITELIB}/icalendar/tests/test_issue_27_period.pyc
221253
${PYSITELIB}/icalendar/tests/test_issue_27_period.pyo
@@ -246,6 +278,12 @@ ${PYSITELIB}/icalendar/tests/test_issue_716_alarm_time_computation.pyo
246278
${PYSITELIB}/icalendar/tests/test_issue_722_generate_vtimezone.py
247279
${PYSITELIB}/icalendar/tests/test_issue_722_generate_vtimezone.pyc
248280
${PYSITELIB}/icalendar/tests/test_issue_722_generate_vtimezone.pyo
281+
${PYSITELIB}/icalendar/tests/test_issue_798_property_parameters.py
282+
${PYSITELIB}/icalendar/tests/test_issue_798_property_parameters.pyc
283+
${PYSITELIB}/icalendar/tests/test_issue_798_property_parameters.pyo
284+
${PYSITELIB}/icalendar/tests/test_issue_802.py
285+
${PYSITELIB}/icalendar/tests/test_issue_802.pyc
286+
${PYSITELIB}/icalendar/tests/test_issue_802.pyo
249287
${PYSITELIB}/icalendar/tests/test_multiple.py
250288
${PYSITELIB}/icalendar/tests/test_multiple.pyc
251289
${PYSITELIB}/icalendar/tests/test_multiple.pyo
@@ -267,9 +305,18 @@ ${PYSITELIB}/icalendar/tests/test_pytz_zoneinfo_integration.pyo
267305
${PYSITELIB}/icalendar/tests/test_recurrence.py
268306
${PYSITELIB}/icalendar/tests/test_recurrence.pyc
269307
${PYSITELIB}/icalendar/tests/test_recurrence.pyo
308+
${PYSITELIB}/icalendar/tests/test_rfc_6868.py
309+
${PYSITELIB}/icalendar/tests/test_rfc_6868.pyc
310+
${PYSITELIB}/icalendar/tests/test_rfc_6868.pyo
270311
${PYSITELIB}/icalendar/tests/test_rfc_7529.py
271312
${PYSITELIB}/icalendar/tests/test_rfc_7529.pyc
272313
${PYSITELIB}/icalendar/tests/test_rfc_7529.pyo
314+
${PYSITELIB}/icalendar/tests/test_rfc_7986.py
315+
${PYSITELIB}/icalendar/tests/test_rfc_7986.pyc
316+
${PYSITELIB}/icalendar/tests/test_rfc_7986.pyo
317+
${PYSITELIB}/icalendar/tests/test_rfc_7986_categories.py
318+
${PYSITELIB}/icalendar/tests/test_rfc_7986_categories.pyc
319+
${PYSITELIB}/icalendar/tests/test_rfc_7986_categories.pyo
273320
${PYSITELIB}/icalendar/tests/test_rfc_9074.py
274321
${PYSITELIB}/icalendar/tests/test_rfc_9074.pyc
275322
${PYSITELIB}/icalendar/tests/test_rfc_9074.pyo

time/py-icalendar/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.42 2025/04/12 13:36:49 wiz Exp $
1+
$NetBSD: distinfo,v 1.43 2025/05/11 10:30:44 wiz Exp $
22

3-
BLAKE2s (icalendar-6.1.3.tar.gz) = 28327cc9c7eee0babebd34bbcf05b1b89cf71c7c592ce34a002b6c5a6c0a6a0b
4-
SHA512 (icalendar-6.1.3.tar.gz) = aa0e92c0fcf6a394cca608391defd67616752b12984b5848eb56b89337537e3761fdbfc731838db2c565603ddcc845b034c4592b3be736d68c6f435726ed2977
5-
Size (icalendar-6.1.3.tar.gz) = 152131 bytes
3+
BLAKE2s (icalendar-6.2.0.tar.gz) = 6327038ef9c112b06c7cb643c8489fc9ebada084562f4fcc266bd024955649c1
4+
SHA512 (icalendar-6.2.0.tar.gz) = ff3fe1e1a13aa4bdd997b19e488c9890e650231ae9016ca7efce480d938e0d5aecf985d8bfa34d7b20b4750726c9aa57eb3e9827d059e3a59a7de647fdadd9e4
5+
Size (icalendar-6.2.0.tar.gz) = 172530 bytes

0 commit comments

Comments
 (0)