git: cee313abc9fc - main - devel/py-backports.zoneinfo: New port
Guangyuan Yang
ygy at FreeBSD.org
Wed Jun 30 06:44:21 UTC 2021
The branch main has been updated by ygy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cee313abc9fcae27bb7017dda9b096732d9dfba4
commit cee313abc9fcae27bb7017dda9b096732d9dfba4
Author: rozhuk.im <rozhuk.im at gmail.com>
AuthorDate: 2021-06-30 06:44:01 +0000
Commit: Guangyuan Yang <ygy at 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 | 16 ++++++++++++++++
devel/py-backports.zoneinfo/distinfo | 3 +++
devel/py-backports.zoneinfo/pkg-descr | 11 +++++++++++
4 files changed, 31 insertions(+)
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 at 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
More information about the dev-commits-ports-main
mailing list