time/py-pytz 2026.3.0.1 NetBSD
World timezone definitions, modern and historical
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
7ebcac60aa- License
- mit
- Categories
- time, python
- Package size
- 175.7 KiB, 1132.9 KiB installed
Description
pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.3 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).
Amost all (over 540) of the Olson timezones are supported [*].
Note that if you perform date arithmetic on local times that cross DST boundaries, the results may be in an incorrect timezone (ie. subtract 1 minute from 2002-10-27 1:00 EST and you get 2002-10-27 0:59 EST instead of the correct 2002-10-27 1:59 EDT). This cannot be resolved without modifying the Python datetime implementation. However, these tzinfo classes provide a normalize() method which allows you to correct these values.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | time/py-pytz | 2026.3.0.1 |
| DragonFly | devel/py-pytz | 2024.2_1,1 |
Install
Binary package:
pkgin install py311-pytz
From pkgsrc:
cd /usr/pkgsrc/time/py-pytz && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2026.3.0.1 |
| NetBSD 10.1 aarch64 | 2026.2 |
| SmartOS / illumos x86_64 | 2026.5 |
| macOS 15 arm64 | 2026.5 |
Dependencies
Run dependencies 1
Required by 40
- chat/py-zulip-term
- databases/py-influxdb
- devel/py-canvasapi
- filesystems/py-fs
- math/py-pandas
- math/py-rpy
- net/py-flower
- net/py-irclib
- print/py-octoprint
- textproc/py-vobject
- textproc/subliminal
- time/khal
- time/py-dateparser
- time/py-l18n
- time/py-trading-calendars
- wip/cozy
- wip/gitsome
- wip/py-apscheduler
- wip/py-astroplan
- wip/py-astropy5
- wip/py-eemeter
- wip/py-etesync
- wip/py-etmtk
- wip/py-gmane
- wip/py-graphite-web
- wip/py-handy
- wip/py-ibmiotf
- wip/py-influxdb
- wip/py-moksha-common
- wip/py-moya
- wip/py-singer-python
- wip/py-stravalib
- wip/py-swh-lister
- wip/py-timeline
- www/py-flask-babel
- www/py-flask-restful
- www/py-flask-restplus
- www/py-hyperkitty
- www/py-mezzanine
- www/py-pysaml2
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-pytz-2026.3.0.1,py313-pytz-2026.3.0.1,py314-pytz-2026.3.0.1