BSD Ports

devel/py-pytz 2020.5_1,1 MidnightBSD

World Timezone Definitions for Python

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

Description

pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations. 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).

In the other systems

SystemPortVersion
MidnightBSDdevel/py-pytz2020.5_1,1
FreeBSDdevel/py-pytz2026.5,1
DragonFlydevel/py-pytz2024.2_1,1
HardenedBSDdevel/py-pytz2026.3,1
GhostBSDdevel/py-pytz2026.3,1
OPNsensedevel/py-pytz2026.2,1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pytz

From mports:

cd /usr/mports/devel/py-pytz && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz

Dependencies

Configuration

No options to configure.

USES
python:2.7+
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pytz-2020.5.tar.gz314194180befebb1927b16f6b57101720075a984c019ac16b1b7575673bea42c6c3da5
Master sites 1
  • PYPI