Skip to content

Commit

Permalink
py-icalendar: updated to 6.0.1
Browse files Browse the repository at this point in the history
6.0.1 (2024-10-13)

New features:

Added Event.end, Event.start, Event.dtstart, and Event.dtend attributes. See Issue 662.
Test compatibility with Python 3.13

Bug fixes:

Fix a few __all__ variables.
Added missing docs folder to distribution packages.
  • Loading branch information
adam committed Oct 14, 2024
1 parent afae520 commit abf5e73
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
17 changes: 6 additions & 11 deletions time/py-icalendar/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.46 2024/10/12 10:50:04 wiz Exp $
# $NetBSD: Makefile,v 1.47 2024/10/14 05:27:42 adam Exp $

DISTNAME= icalendar-6.0.0
DISTNAME= icalendar-6.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/icalendar/}
Expand All @@ -10,24 +10,19 @@ HOMEPAGE= https://github.com/collective/icalendar
COMMENT= Python parser/generator for iCalendar files, as per RFC2445
LICENSE= 2-clause-bsd

TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-tzdata-[0-9]*:../../time/py-tzdata
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz

USE_LANGUAGES= # none

REPLACE_SH+= src/icalendar/tests/fuzzed/generate_python_test_cases_from_downloaded_clusterfuzz_test_cases.sh
REPLACE_PYTHON+= src/icalendar/cli.py

# otherwise tests fail as of 6.0.0
# https://github.com/collective/icalendar/issues/712
# with this, as of 6.0.0:
# 22 failed, 4022 passed, 3 skipped
pre-test:
${RM} -f ${WRKSRC}/src/icalendar/tests/test_with_doctest.py

post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} icalendar icalendar-${PYVERSSUFFIX} || ${TRUE}
Expand Down
5 changes: 4 additions & 1 deletion time/py-icalendar/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.22 2024/10/12 10:50:04 wiz Exp $
@comment $NetBSD: PLIST,v 1.23 2024/10/14 05:27:42 adam Exp $
bin/icalendar-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
Expand Down Expand Up @@ -194,6 +194,9 @@ ${PYSITELIB}/icalendar/tests/test_issue_500_vboolean_for_parameter.pyo
${PYSITELIB}/icalendar/tests/test_issue_557_encode_native_parameters.py
${PYSITELIB}/icalendar/tests/test_issue_557_encode_native_parameters.pyc
${PYSITELIB}/icalendar/tests/test_issue_557_encode_native_parameters.pyo
${PYSITELIB}/icalendar/tests/test_issue_662_component_properties.py
${PYSITELIB}/icalendar/tests/test_issue_662_component_properties.pyc
${PYSITELIB}/icalendar/tests/test_issue_662_component_properties.pyo
${PYSITELIB}/icalendar/tests/test_multiple.py
${PYSITELIB}/icalendar/tests/test_multiple.pyc
${PYSITELIB}/icalendar/tests/test_multiple.pyo
Expand Down
8 changes: 4 additions & 4 deletions time/py-icalendar/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.38 2024/10/12 10:50:04 wiz Exp $
$NetBSD: distinfo,v 1.39 2024/10/14 05:27:42 adam Exp $

BLAKE2s (icalendar-6.0.0.tar.gz) = b7e09a79967f619f2cdbe91cd182d26072ba66eae313d4f3b100b8bdd48c8499
SHA512 (icalendar-6.0.0.tar.gz) = 7159b1459f4690102b33095fee17bb988ca46d21ae956085e6eec2476fbbdc2d785af966351aec433497b39256f85e42c38015cedb85e681ee2ce0f37bace858
Size (icalendar-6.0.0.tar.gz) = 81907 bytes
BLAKE2s (icalendar-6.0.1.tar.gz) = 872fa7417edc9a67ca12fded4b0ca4acaa029d6bad2e6ff25980963d97d64052
SHA512 (icalendar-6.0.1.tar.gz) = cc9806dd16f3b1fef875ffaac8e1d543e5ee6b133f4399d5ae8644500f63076a10f0e2fd7703c37b84bf0369e1a57b616b0c9b3f24559e4be944d821c83f1200
Size (icalendar-6.0.1.tar.gz) = 98425 bytes

0 comments on commit abf5e73

Please sign in to comment.