Skip to content

Commit

Permalink
devel/py-x-wr-timezone: Add py-x-wr-timezone 0.0.5
Browse files Browse the repository at this point in the history
Some calendar providers introduce the non-standard X-WR-TIMEZONE parameter to
ICS calendar files. Strict interpretations according to RFC 5545 ignore the
X-WR-TIMEZONE parameter. This causes the times of the events to differ from
those which make use of X-WR-TIMEZONE.

This module aims to bridge the gap by converting calendars using X-WR-TIMEZONE
to a strict RFC 5545 calendars. So, let's put our heads together and solve this
problem for everyone!
  • Loading branch information
sunpoet committed Jan 30, 2023
1 parent 4a57f08 commit a379947
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -5591,6 +5591,7 @@
SUBDIR += py-wsgitools
SUBDIR += py-wsgiutils
SUBDIR += py-wsme
SUBDIR += py-x-wr-timezone
SUBDIR += py-xarray
SUBDIR += py-xarray-einstats
SUBDIR += py-xarray-simlab
Expand Down
23 changes: 23 additions & 0 deletions devel/py-x-wr-timezone/Makefile
@@ -0,0 +1,23 @@
PORTNAME= x-wr-timezone
PORTVERSION= 0.0.5
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= x_wr_timezone-${PORTVERSION}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python module and program to convert calendars using X-WR-TIMEZONE to standard ones
WWW= https://pypi.org/project/x-wr-timezone/

LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}icalendar>=0:devel/py-icalendar@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR}

USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/py-x-wr-timezone/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1674588058
SHA256 (x_wr_timezone-0.0.5.tar.gz) = c05cb34b9b58a4607a788db086dcae5766728e4b94e0672870dc5593a6e13fe6
SIZE (x_wr_timezone-0.0.5.tar.gz) = 15479
8 changes: 8 additions & 0 deletions devel/py-x-wr-timezone/pkg-descr
@@ -0,0 +1,8 @@
Some calendar providers introduce the non-standard X-WR-TIMEZONE parameter to
ICS calendar files. Strict interpretations according to RFC 5545 ignore the
X-WR-TIMEZONE parameter. This causes the times of the events to differ from
those which make use of X-WR-TIMEZONE.

This module aims to bridge the gap by converting calendars using X-WR-TIMEZONE
to a strict RFC 5545 calendars. So, let's put our heads together and solve this
problem for everyone!

0 comments on commit a379947

Please sign in to comment.