Port details on branch 2025Q2 |
- py-tzlocal Returns the tzinfo object for the local timezone
- 5.2 devel
=4 5.2Version of this port present on the latest quarterly branch. - Maintainer: rob.kruus@gmail.com
 - Port Added: 2014-08-03 11:28:50
- Last Update: 2024-08-01 23:44:50
- Commit Hash: c6781a8
- People watching this port, also watch:: psutils, p5-Error, libevent, indexinfo, py311-six
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/regebro/tzlocal
- Description:
- This Python module returns a tzinfo object with the local timezone
information under Unix and Win-32. It requires pytz, and returns pytz
tzinfo objects.
This module attempts to fix a glaring hole in pytz, that there is no way
to get the local timezone information, unless you know the zoneinfo
name, and under several Linux distros that's hard or impossible to
figure out.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-tzlocal/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-tzlocal
- pkg install py311-tzlocal
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-tzlocal listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-tzlocal
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1722555475
SHA256 (tzlocal-5.2.tar.gz) = 8d399205578f1a9342816409cc1e46a93ebd5755e39ea2d85334bea911bf0e6e
SIZE (tzlocal-5.2.tar.gz) = 30201
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>0 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-pytz-deprecation-shim>0 : devel/py-pytz-deprecation-shim@py311
- python3.11 : lang/python311
- This port is required by:
- for Build
-
Deleted ports which required this port:
- for Run
-
- biology/py-resdk
- databases/py-pgcli
- deskutils/py-calendar_cli
- deskutils/py-khal
- devel/py-Js2Py
- devel/py-apscheduler
- devel/py-dateparser
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- devel_py-tzlocal
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|