notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-tzlocal Returns the tzinfo object for the local timezone
5.2 devel on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 5.2Version of this port present on the latest quarterly branch.
Maintainer: rob.kruus@gmail.com search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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>)
  • py311: py311-tzlocal
distinfo:
TIMESTAMP = 1722555475 SHA256 (tzlocal-5.2.tar.gz) = 8d399205578f1a9342816409cc1e46a93ebd5755e39ea2d85334bea911bf0e6e SIZE (tzlocal-5.2.tar.gz) = 30201

Packages (timestamps in pop-ups are UTC):
py37-tzlocal
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--1.5.1---1.5.1-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-tzlocal
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--4.2_1--4.2_14.2_14.2_1
FreeBSD:14:latest--4.2_1--4.2_1-4.2_1
FreeBSD:14:quarterly-----4.2_14.2_14.2_1
FreeBSD:15:latest--n/a-n/a4.2_14.2_14.2_1
 
py311-tzlocal
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest5.25.2-5.25.2---
FreeBSD:13:quarterly5.25.2-5.25.2---
FreeBSD:14:latest5.25.2-5.25.2---
FreeBSD:14:quarterly5.25.2-5.25.2---
FreeBSD:15:latest5.25.2n/a5.2n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-pytest>=7,1 : devel/py-pytest@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. py311-pytz-deprecation-shim>0 : devel/py-pytz-deprecation-shim@py311
  2. python3.11 : lang/python311
This port is required by:
for Build
  1. math/sage
for Run
  1. biology/py-resdk
  2. deskutils/py-khal
  3. devel/py-Js2Py
  4. devel/py-apscheduler
  5. devel/py-dateparser
  6. math/py-rpy2
  7. math/sage
Expand this list (14 items / 7 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. net/py-ripe.atlas.tools
  3. security/py-certomancer
  4. security/py-pyhanko
  5. security/theonionbox
  6. textproc/py-extract-msg
  7. www/py-graphite-api
  8. Collapse this list.

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. www/py-django-mezzanine*
  2. Collapse this list of deleted ports.
* - 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/t/tzlocal/
  2. https://pypi.org/packages/source/t/tzlocal/
Collapse this list.

Number of commits found: 23

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.2
01 Aug 2024 23:44:50
commit hash: c6781a88109218f876d46e9ce9ab0b3c02d3c7c6commit hash: c6781a88109218f876d46e9ce9ab0b3c02d3c7c6commit hash: c6781a88109218f876d46e9ce9ab0b3c02d3c7c6commit hash: c6781a88109218f876d46e9ce9ab0b3c02d3c7c6 files touched by this commit
Wen Heping (wen) search for other commits by this committer
devel/py-tzlocal: Update to 5.2

PR:		279848
Reported by:	wen@
Approved by:	maintainer(timeout, > 40 days )
4.2_1
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
4.2_1
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
4.2_1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
4.2_1
04 Sep 2022 00:31:25
commit hash: be9275b0c657f5aaf9ac3ab7450c22cfabb2bc06commit hash: be9275b0c657f5aaf9ac3ab7450c22cfabb2bc06commit hash: be9275b0c657f5aaf9ac3ab7450c22cfabb2bc06commit hash: be9275b0c657f5aaf9ac3ab7450c22cfabb2bc06 files touched by this commit
Wen Heping (wen) search for other commits by this committer
devel/py-tzlocal: Update DEPENDS, fix run error

PR:		266203
Reported by:	DtxdF@disroot.org
Approved by:	maintainer(implicit, fix run error)
4.2
03 Sep 2022 13:39:23
commit hash: 1d648e548584be2950518c36e2861b5b4aae2c69commit hash: 1d648e548584be2950518c36e2861b5b4aae2c69commit hash: 1d648e548584be2950518c36e2861b5b4aae2c69commit hash: 1d648e548584be2950518c36e2861b5b4aae2c69 files touched by this commit
Wen Heping (wen) search for other commits by this committer
devel/py-tzlocal: Update to 4.2

PR:		265701
Reported by:	DtxdF@disroot.org
Approved by:	maintainer(timeout, > 20 days)
1.5.1
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
1.5.1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.5.1
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
1.5.1
07 Sep 2018 02:26:36
Revision:479175Original commit files touched by this commit
yuri search for other commits by this committer
devel/py-tzlocal: Update 1.4 -> 1.5.1

Also change WWW to the proper homepage.

PR:		230586
Approved by:	rob.kruus@gmail.com (maintainer)
1.4
20 Jun 2018 17:05:44
Revision:472884Original commit files touched by this commit
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
1.4
25 Apr 2018 16:42:38
Revision:468282Original commit files touched by this commit
amdmi3 search for other commits by this committer
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.

Approved by:	portmgr blanket, mat
1.4
30 Nov 2017 15:50:34
Revision:455210Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.4
17 Nov 2017 06:25:33
Revision:454362Original commit files touched by this commit
antoine search for other commits by this committer
Fix PKGNAME collision between py-tzlocal and py3-tzlocal

Pointy hat:	ultima
With hat:	portmgr
1.4
16 Nov 2017 18:51:18
Revision:454326Original commit files touched by this commit
ultima search for other commits by this committer
* Updated to 1.4
* LICENSE changed to MIT
* Clean up Makefile

Changes:	https://pypi.python.org/pypi/tzlocal/1.4

PR:		223712
Submitted by:	<rob^@gma^> (maintainer)
1.3
12 Jun 2017 10:39:27
Revision:443438Original commit files touched by this commit
sunpoet search for other commits by this committer
Add py3-tzlocal 1.3

- While I'm here, fix indent

PR:		219611
Submitted by:	Rudolf Siegel <rs.os@t-online.de>
Approved by:	maintainer (timeout, 15 days)
1.3
05 Dec 2016 02:27:23
Revision:427829Original commit files touched by this commit
wen search for other commits by this committer
- Update to 1.3

PR:		213580
Submitted by:	robert.kruus@utoronto.ca(maintainer)
1.2.2
25 May 2016 17:11:20
Revision:415849Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 1.2.2
- Pass maintainership to submitter
- While here, switch to new test framework, add NO_ARCH and LICENSE_FILE

PR:		209751
Submitted by:	rob.kruus@gmail.com
1.1.1
25 May 2016 01:41:39
Revision:415820Original commit files touched by this commit
zi search for other commits by this committer
- Reset MAINTAINERship due to fatal email bounces (no MX record, no A record),
maintainer timeouts

Reported by:	portscout
1.1.1
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
1.1.1
20 Oct 2014 16:04:14
Revision:371280Original commit files touched by this commit
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
1.1.1
03 Aug 2014 11:28:44
Revision:363877Original commit files touched by this commit
wg search for other commits by this committer
devel/py-tzlocal

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.

WWW: https://pypi.python.org/pypi/tzlocal

PR:		191659
Submitted by:	melvyn magemana nl

Number of commits found: 23