pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/py-icalendar
Module Name: pkgsrc
Committed By: wiz
Date: Sat Oct 12 10:50:05 UTC 2024
Modified Files:
pkgsrc/time/py-icalendar: Makefile PLIST distinfo
Log Message:
py-icalendar: update to 6.0.0.
6.0.0 (2024-09-28)
Minor changes:
Add __all__ variable to each modules in icalendar package
Improve test coverage.
Adapt test_with_doctest.py to correctly run on Windows.
Measure branch coverage when running tests.
Export Component base class for typing
New features:
Use pyproject.toml file instead of setup.py
Bug fixes:
Fix link to stable release of tox in documentation.
Fix a bad bytes replace in unescape_char.
Handle ValueError in vBinary.from_ical.
Ignore the BOM character in incorrectly encoded ics files.
6.0.0a0 (2024-07-03)
Minor changes:
Test that all code works with both pytz and zoneinfo.
Add message to GitHub release, pointing to the changelog
Make coverage report submission optional for pull requests
Parallelize coverage
Rename master branch to main, see Issue
Update docs/usage.rst to use zoneinfo instead of pytz.
Added missing public classes and functions to API documentation.
Improved namespace management in the icalendar directory.
Add Python version badge and badge for test coverage
Remove 4.x badge
Update list of tox environments
Use Coveralls’ GitHub Action
Check distribution in CI
Breaking changes:
Use zoneinfo for icalendar objects created from strings, see Issue #609.
This is an tested extension of the functionality, not a restriction: If you create icalendar objects with pytz timezones in your code, icalendar will continue to work in the same way. Your code
is not affected.
zoneinfo will be used for those objects that icalendar creates itself. This happens for example when parsing an .ics file, strings or bytes with from_ical().
If you rely on icalendar providing timezones from pytz, you can add one line to your code to get the behavior of versions below 6:
import icalendar
icalendar.use_pytz()
Replaced pkg_resources.get_distribution with importlib.metadata in docs/conf.py to allow building docs on Python 3.12.
Remove is_broken property. Use errors instead to check if a component had suppressed parsing errors. See Issue 424.
Remove untested and broken LocalTimezone and FixedOffset tzinfo sub-classes, see Issue 67
Remove Python 3.7 as compatible. icalendar is compatible with Python versions 3.8 - 3.12, and PyPy3.
Remove pytz as a dependency of icalendar. If you require pytz, add it to your dependency list or install it additionally with:
pip install icalendar==6.* pytz
New features:
Check code quality with Ruff, optional report
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
Add sphinx-autobuild for livehtml Makefile target.
Add pull request preview on Read the Docs, building only on changes to documentation-related files.
Add link to pull request preview builds in the pull request description only when there are changes to documentation-related files.
Add documentation of live HTML preview of documentation and clean up of install.rst.
Add sphinx-copybutton to allow copying code blocks with a single click of a button.
Bug fixes:
Change documentation to represent compatibility with Python 3.8 - 3.12, and PyPy3.
Rename RFC 2445 to RFC 5545, see Issue 278
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/time/py-icalendar/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/time/py-icalendar/PLIST
cvs rdiff -u -r1.37 -r1.38 pkgsrc/time/py-icalendar/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/time/py-icalendar/Makefile
diff -u pkgsrc/time/py-icalendar/Makefile:1.45 pkgsrc/time/py-icalendar/Makefile:1.46
--- pkgsrc/time/py-icalendar/Makefile:1.45 Wed Jun 26 16:29:02 2024
+++ pkgsrc/time/py-icalendar/Makefile Sat Oct 12 10:50:04 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.45 2024/06/26 16:29:02 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2024/10/12 10:50:04 wiz Exp $
-DISTNAME= icalendar-5.0.13
+DISTNAME= icalendar-6.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/icalendar/}
@@ -10,21 +10,28 @@ HOMEPAGE= https://github.com/collective/
COMMENT= Python parser/generator for iCalendar files, as per RFC2445
LICENSE= 2-clause-bsd
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27
+REPLACE_SH+= src/icalendar/tests/fuzzed/generate_python_test_cases_from_downloaded_clusterfuzz_test_cases.sh
+REPLACE_PYTHON+= src/icalendar/cli.py
-REPLACE_SH+= src/icalendar/tests/fuzzed/generate_python_test_cases_from_downloaded_clusterfuzz_test_cases.sh
+# 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}
+.include "../../lang/python/application.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/time/py-icalendar/PLIST
diff -u pkgsrc/time/py-icalendar/PLIST:1.21 pkgsrc/time/py-icalendar/PLIST:1.22
--- pkgsrc/time/py-icalendar/PLIST:1.21 Wed Jun 26 16:29:02 2024
+++ pkgsrc/time/py-icalendar/PLIST Sat Oct 12 10:50:04 2024
@@ -1,14 +1,16 @@
-@comment $NetBSD: PLIST,v 1.21 2024/06/26 16:29:02 wiz Exp $
+@comment $NetBSD: PLIST,v 1.22 2024/10/12 10:50:04 wiz Exp $
bin/icalendar-${PYVERSSUFFIX}
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.rst
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.rst
${PYSITELIB}/icalendar/__init__.py
${PYSITELIB}/icalendar/__init__.pyc
${PYSITELIB}/icalendar/__init__.pyo
+${PYSITELIB}/icalendar/_version.py
+${PYSITELIB}/icalendar/_version.pyc
+${PYSITELIB}/icalendar/_version.pyo
${PYSITELIB}/icalendar/cal.py
${PYSITELIB}/icalendar/cal.pyc
${PYSITELIB}/icalendar/cal.pyo
@@ -32,6 +34,7 @@ ${PYSITELIB}/icalendar/tests/__init__.py
${PYSITELIB}/icalendar/tests/__init__.pyo
${PYSITELIB}/icalendar/tests/calendars/america_new_york.ics
${PYSITELIB}/icalendar/tests/calendars/big_bad_calendar.ics
+${PYSITELIB}/icalendar/tests/calendars/bom_calendar.ics
${PYSITELIB}/icalendar/tests/calendars/broken_ical.ics
${PYSITELIB}/icalendar/tests/calendars/calendar_with_unicode.ics
${PYSITELIB}/icalendar/tests/calendars/created_calendar_with_unicode_fields.ics
@@ -64,6 +67,7 @@ ${PYSITELIB}/icalendar/tests/calendars/p
${PYSITELIB}/icalendar/tests/calendars/period_with_timezone.ics
${PYSITELIB}/icalendar/tests/calendars/pr_480_summary_with_colon.ics
${PYSITELIB}/icalendar/tests/calendars/property_params.ics
+${PYSITELIB}/icalendar/tests/calendars/rfc_7529.ics
${PYSITELIB}/icalendar/tests/calendars/small_bad_calendar.ics
${PYSITELIB}/icalendar/tests/calendars/time.ics
${PYSITELIB}/icalendar/tests/calendars/timezone_rdate.ics
@@ -108,6 +112,39 @@ ${PYSITELIB}/icalendar/tests/fuzzed/test
${PYSITELIB}/icalendar/tests/hypothesis/test_fuzzing.py
${PYSITELIB}/icalendar/tests/hypothesis/test_fuzzing.pyc
${PYSITELIB}/icalendar/tests/hypothesis/test_fuzzing.pyo
+${PYSITELIB}/icalendar/tests/prop/test_identity_and_equality.py
+${PYSITELIB}/icalendar/tests/prop/test_identity_and_equality.pyc
+${PYSITELIB}/icalendar/tests/prop/test_identity_and_equality.pyo
+${PYSITELIB}/icalendar/tests/prop/test_property_values.py
+${PYSITELIB}/icalendar/tests/prop/test_property_values.pyc
+${PYSITELIB}/icalendar/tests/prop/test_property_values.pyo
+${PYSITELIB}/icalendar/tests/prop/test_unit.py
+${PYSITELIB}/icalendar/tests/prop/test_unit.pyc
+${PYSITELIB}/icalendar/tests/prop/test_unit.pyo
+${PYSITELIB}/icalendar/tests/prop/test_vBinary.py
+${PYSITELIB}/icalendar/tests/prop/test_vBinary.pyc
+${PYSITELIB}/icalendar/tests/prop/test_vBinary.pyo
+${PYSITELIB}/icalendar/tests/prop/test_vBoolean.py
+${PYSITELIB}/icalendar/tests/prop/test_vBoolean.pyc
+${PYSITELIB}/icalendar/tests/prop/test_vBoolean.pyo
+${PYSITELIB}/icalendar/tests/prop/test_vCalAddress.py
+${PYSITELIB}/icalendar/tests/prop/test_vCalAddress.pyc
+${PYSITELIB}/icalendar/tests/prop/test_vCalAddress.pyo
+${PYSITELIB}/icalendar/tests/prop/test_vDDDTypes.py
+${PYSITELIB}/icalendar/tests/prop/test_vDDDTypes.pyc
+${PYSITELIB}/icalendar/tests/prop/test_vDDDTypes.pyo
+${PYSITELIB}/icalendar/tests/prop/test_vDatetime.py
+${PYSITELIB}/icalendar/tests/prop/test_vDatetime.pyc
+${PYSITELIB}/icalendar/tests/prop/test_vDatetime.pyo
+${PYSITELIB}/icalendar/tests/prop/test_vPeriod.py
+${PYSITELIB}/icalendar/tests/prop/test_vPeriod.pyc
+${PYSITELIB}/icalendar/tests/prop/test_vPeriod.pyo
+${PYSITELIB}/icalendar/tests/prop/test_windows_to_olson_mapping.py
+${PYSITELIB}/icalendar/tests/prop/test_windows_to_olson_mapping.pyc
+${PYSITELIB}/icalendar/tests/prop/test_windows_to_olson_mapping.pyo
+${PYSITELIB}/icalendar/tests/test_bom_calendar.py
+${PYSITELIB}/icalendar/tests/test_bom_calendar.pyc
+${PYSITELIB}/icalendar/tests/test_bom_calendar.pyo
${PYSITELIB}/icalendar/tests/test_cli_tool.py
${PYSITELIB}/icalendar/tests/test_cli_tool.pyc
${PYSITELIB}/icalendar/tests/test_cli_tool.pyo
@@ -172,9 +209,15 @@ ${PYSITELIB}/icalendar/tests/test_period
${PYSITELIB}/icalendar/tests/test_property_params.py
${PYSITELIB}/icalendar/tests/test_property_params.pyc
${PYSITELIB}/icalendar/tests/test_property_params.pyo
+${PYSITELIB}/icalendar/tests/test_pytz_zoneinfo_integration.py
+${PYSITELIB}/icalendar/tests/test_pytz_zoneinfo_integration.pyc
+${PYSITELIB}/icalendar/tests/test_pytz_zoneinfo_integration.pyo
${PYSITELIB}/icalendar/tests/test_recurrence.py
${PYSITELIB}/icalendar/tests/test_recurrence.pyc
${PYSITELIB}/icalendar/tests/test_recurrence.pyo
+${PYSITELIB}/icalendar/tests/test_rfc_7529.py
+${PYSITELIB}/icalendar/tests/test_rfc_7529.pyc
+${PYSITELIB}/icalendar/tests/test_rfc_7529.pyo
${PYSITELIB}/icalendar/tests/test_time.py
${PYSITELIB}/icalendar/tests/test_time.pyc
${PYSITELIB}/icalendar/tests/test_time.pyo
@@ -190,9 +233,6 @@ ${PYSITELIB}/icalendar/tests/test_unit_c
${PYSITELIB}/icalendar/tests/test_unit_parser_tools.py
${PYSITELIB}/icalendar/tests/test_unit_parser_tools.pyc
${PYSITELIB}/icalendar/tests/test_unit_parser_tools.pyo
-${PYSITELIB}/icalendar/tests/test_unit_prop.py
-${PYSITELIB}/icalendar/tests/test_unit_prop.pyc
-${PYSITELIB}/icalendar/tests/test_unit_prop.pyo
${PYSITELIB}/icalendar/tests/test_unit_tools.py
${PYSITELIB}/icalendar/tests/test_unit_tools.pyc
${PYSITELIB}/icalendar/tests/test_unit_tools.pyo
@@ -202,12 +242,28 @@ ${PYSITELIB}/icalendar/tests/test_with_d
${PYSITELIB}/icalendar/tests/timezones/issue_237_brazilia_standard.ics
${PYSITELIB}/icalendar/tests/timezones/issue_53_tzid_parsed_properly.ics
${PYSITELIB}/icalendar/tests/timezones/issue_55_parse_error_on_utc_offset_with_seconds.ics
-${PYSITELIB}/icalendar/timezone_cache.py
-${PYSITELIB}/icalendar/timezone_cache.pyc
-${PYSITELIB}/icalendar/timezone_cache.pyo
+${PYSITELIB}/icalendar/tests/timezones/pacific_fiji.ics
+${PYSITELIB}/icalendar/timezone/__init__.py
+${PYSITELIB}/icalendar/timezone/__init__.pyc
+${PYSITELIB}/icalendar/timezone/__init__.pyo
+${PYSITELIB}/icalendar/timezone/provider.py
+${PYSITELIB}/icalendar/timezone/provider.pyc
+${PYSITELIB}/icalendar/timezone/provider.pyo
+${PYSITELIB}/icalendar/timezone/pytz.py
+${PYSITELIB}/icalendar/timezone/pytz.pyc
+${PYSITELIB}/icalendar/timezone/pytz.pyo
+${PYSITELIB}/icalendar/timezone/tzp.py
+${PYSITELIB}/icalendar/timezone/tzp.pyc
+${PYSITELIB}/icalendar/timezone/tzp.pyo
+${PYSITELIB}/icalendar/timezone/windows_to_olson.py
+${PYSITELIB}/icalendar/timezone/windows_to_olson.pyc
+${PYSITELIB}/icalendar/timezone/windows_to_olson.pyo
+${PYSITELIB}/icalendar/timezone/zoneinfo.py
+${PYSITELIB}/icalendar/timezone/zoneinfo.pyc
+${PYSITELIB}/icalendar/timezone/zoneinfo.pyo
${PYSITELIB}/icalendar/tools.py
${PYSITELIB}/icalendar/tools.pyc
${PYSITELIB}/icalendar/tools.pyo
-${PYSITELIB}/icalendar/windows_to_olson.py
-${PYSITELIB}/icalendar/windows_to_olson.pyc
-${PYSITELIB}/icalendar/windows_to_olson.pyo
+${PYSITELIB}/icalendar/version.py
+${PYSITELIB}/icalendar/version.pyc
+${PYSITELIB}/icalendar/version.pyo
Index: pkgsrc/time/py-icalendar/distinfo
diff -u pkgsrc/time/py-icalendar/distinfo:1.37 pkgsrc/time/py-icalendar/distinfo:1.38
--- pkgsrc/time/py-icalendar/distinfo:1.37 Wed Jun 26 16:29:02 2024
+++ pkgsrc/time/py-icalendar/distinfo Sat Oct 12 10:50:04 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.37 2024/06/26 16:29:02 wiz Exp $
+$NetBSD: distinfo,v 1.38 2024/10/12 10:50:04 wiz Exp $
-BLAKE2s (icalendar-5.0.13.tar.gz) = ba1905f3a3a91bafae8cd01fb1a9d8d36ee66ffbf7f8272618a461c0f2c166d8
-SHA512 (icalendar-5.0.13.tar.gz) = df688298acc0bf3cf25aa08b16e149abab696e44540f11695a654065b90316189460481bde17d68e7c6760c1c4bfbbc74e9d7c7e3e640b5a1978d2c6faafbb78
-Size (icalendar-5.0.13.tar.gz) = 119371 bytes
+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
Home |
Main Index |
Thread Index |
Old Index