Bug 256883 - devel/py-backports.zoneinfo: Backport of the standard library module zoneinfo
Summary: devel/py-backports.zoneinfo: Backport of the standard library module zoneinfo
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Guangyuan Yang
URL:
Keywords:
Depends on:
Blocks: 256885
  Show dependency treegraph
 
Reported: 2021-06-29 12:39 UTC by Ivan Rozhuk
Modified: 2021-06-30 06:48 UTC (History)
2 users (show)

See Also:


Attachments
patch (1.78 KB, patch)
2021-06-29 12:39 UTC, Ivan Rozhuk
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2021-06-29 12:39:57 UTC
Created attachment 226107 [details]
patch

This package was originally the reference implementation for PEP 615,
which proposes support for the IANA time zone database in the standard
library, and now serves as a backport to Python 3.6+ (including PyPy).

This exposes the backports.zoneinfo module, which is a backport of the
zoneinfo module. The backport's documentation can be found on readthedocs.

The module uses the system time zone data if available, and falls back
to the tzdata package (available on PyPI) if installed.

WWW: https://pypi.org/project/backports.zoneinfo/
WWW: https://github.com/pganssle/zoneinfo
Comment 1 Guangyuan Yang freebsd_committer freebsd_triage 2021-06-29 20:49:23 UTC
Taking maintainership as discussed in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252073.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-06-30 06:45:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cee313abc9fcae27bb7017dda9b096732d9dfba4

commit cee313abc9fcae27bb7017dda9b096732d9dfba4
Author:     rozhuk.im <rozhuk.im@gmail.com>
AuthorDate: 2021-06-30 06:44:01 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-06-30 06:44:01 +0000

    devel/py-backports.zoneinfo: New port

    Backport of the standard library module zoneinfo.

    PR:             256883
    Approved by:    lwhsu (mentor)

 devel/Makefile                              |  1 +
 devel/py-backports.zoneinfo/Makefile (new)  | 16 ++++++++++++++++
 devel/py-backports.zoneinfo/distinfo (new)  |  3 +++
 devel/py-backports.zoneinfo/pkg-descr (new) | 11 +++++++++++
 4 files changed, 31 insertions(+)
Comment 3 Guangyuan Yang freebsd_committer freebsd_triage 2021-06-30 06:48:30 UTC
Committed with changes, thanks!