BSD Ports

devel/py-tz 2026.5 OpenBSD

Python API for dealing with timezones

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
d403bc2332
Categories
devel, lang/python

Description

pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher. It also solves the issue of ambiguous times at the end of daylight savings, which you can read more about in the Python Library Reference (datetime.tzinfo).

pytz is only here for backwards compatibility. Newer software should use "zoneinfo", included in the standard library from Python 3.9 onwards.

Install

Binary package:

pkg_add py3-tz

From the ports tree:

cd /usr/ports/devel/py-tz && make install

Dependencies

Build dependencies 5
Run dependencies 1

Commit history 4

DateCommitCreditsLog message
d403bc2332 sthen update to py3-tz-2026.5
757cf79e0c sthen update to py3-tz-2026.4
1656d0cf45 sthen update to py3-tz-2026.3pl1
3f059e808a sthen drop @pkgpath/@conflict markers previously used for updates from 7.0/7.1