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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-pytz | 2020.5_1,1 |
| FreeBSD | devel/py-pytz | 2026.5,1 |
| DragonFly | devel/py-pytz | 2024.2_1,1 |
| HardenedBSD | devel/py-pytz | 2026.3,1 |
| GhostBSD | devel/py-pytz | 2026.3,1 |
| OPNsense | devel/py-pytz | 2026.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
Required by 15
Configuration
No options to configure.
- USES
- python:2.7+
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pytz-2020.5.tar.gz | 314194 | 180befebb1927b16f6b57101720075a984c019ac16b1b7575673bea42c6c3da5 |
Master sites 1
- PYPI