diff options
author | rozhuk.im <rozhuk.im@gmail.com> | 2021-06-30 06:44:01 +0000 |
---|---|---|
committer | Guangyuan Yang <ygy@FreeBSD.org> | 2021-06-30 06:44:01 +0000 |
commit | cee313abc9fcae27bb7017dda9b096732d9dfba4 (patch) | |
tree | 08c6182e4b46bbe7e6dc6766940c99970cf33a09 | |
parent | 45a0496cb1dfee43b1abf7f5bd95bbbdc05d1969 (diff) | |
download | ports-cee313abc9fcae27bb7017dda9b096732d9dfba4.tar.gz ports-cee313abc9fcae27bb7017dda9b096732d9dfba4.zip |
devel/py-backports.zoneinfo: New port
Backport of the standard library module zoneinfo.
PR: 256883
Approved by: lwhsu (mentor)
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-backports.zoneinfo/Makefile | 16 | ||||
-rw-r--r-- | devel/py-backports.zoneinfo/distinfo | 3 | ||||
-rw-r--r-- | devel/py-backports.zoneinfo/pkg-descr | 11 |
4 files changed, 31 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 4865e103c5c3..aa1278ddf03b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4202,6 +4202,7 @@ SUBDIR += py-backcall SUBDIR += py-backports SUBDIR += py-backports.csv + SUBDIR += py-backports.zoneinfo SUBDIR += py-banal SUBDIR += py-bandit SUBDIR += py-bcdoc diff --git a/devel/py-backports.zoneinfo/Makefile b/devel/py-backports.zoneinfo/Makefile new file mode 100644 index 000000000000..f431f7dc7e2d --- /dev/null +++ b/devel/py-backports.zoneinfo/Makefile @@ -0,0 +1,16 @@ +PORTNAME= backports.zoneinfo +DISTVERSION= 0.2.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ygy@FreeBSD.org +COMMENT= Backport of the standard library module zoneinfo + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +.include <bsd.port.mk> diff --git a/devel/py-backports.zoneinfo/distinfo b/devel/py-backports.zoneinfo/distinfo new file mode 100644 index 000000000000..783053d55cb3 --- /dev/null +++ b/devel/py-backports.zoneinfo/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1624723154 +SHA256 (backports.zoneinfo-0.2.1.tar.gz) = fadbfe37f74051d024037f223b8e001611eac868b5c5b06144ef4d8b799862f2 +SIZE (backports.zoneinfo-0.2.1.tar.gz) = 74098 diff --git a/devel/py-backports.zoneinfo/pkg-descr b/devel/py-backports.zoneinfo/pkg-descr new file mode 100644 index 000000000000..da23c5a057ab --- /dev/null +++ b/devel/py-backports.zoneinfo/pkg-descr @@ -0,0 +1,11 @@ +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://github.com/pganssle/zoneinfo |