BSD Ports

time/py-dateutil 2.9.0.0.0.0nb3 NetBSD

Extensions to the standard datetime module

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
ddd99b5ec9
License
modified-bsd
Categories
time, python
Package size
294.4 KiB, 1067.7 KiB installed

Description

The `dateutil` module provides powerful extensions to the standard `datetime` module, available in Python.

Features

* Computing of relative deltas (next month, next year, next monday, last week of month, etc); * Computing of relative deltas between two given date and/or datetime objects; * Computing of dates based on very flexible recurrence rules, using a superset of the iCalendar specification. Parsing of RFC strings is supported as well. * Generic parsing of dates in almost any string format; * Timezone (tzinfo) implementations for tzfile(5) format files (/etc/localtime, /usr/share/zoneinfo, etc), TZ environment string (in all known formats), iCalendar format files, given ranges (with help from relative deltas), local machine timezone, fixed offset timezone, UTC timezone, and Windows registry-based time zones. * Internal up-to-date world timezone information based on Olson's database. * Computing of Easter Sunday dates for any given year, using Western, Orthodox or Julian algorithms; * More than 400 test cases.

Install

Binary package:

pkgin install py311-dateutil

From pkgsrc:

cd /usr/pkgsrc/time/py-dateutil && make install clean

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py312-dateutil-2.9.0.0.0.0nb3, py313-dateutil-2.9.0.0.0.0nb3, py314-dateutil-2.9.0.0.0.0nb3

Commit history 2

DateCommitCreditsLog message
ddd99b5ec9 wiz py-dateutil: fix timezone handling on NetBSD.
From upstream pull request (from 2020!) by Paul Eggert. Bump PKGREVISION.
54b62d51e9 wiz py-dateutil: fix running tests using patch from upstream PR