From owner-dev-commits-ports-all@freebsd.org Wed Jun 30 06:44:21 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 495EA65C8D5; Wed, 30 Jun 2021 06:44:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GFBdx03p6z4XVk; Wed, 30 Jun 2021 06:44:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D8CF495; Wed, 30 Jun 2021 06:44:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15U6iKet030347; Wed, 30 Jun 2021 06:44:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15U6iKfJ030346; Wed, 30 Jun 2021 06:44:20 GMT (envelope-from git) Date: Wed, 30 Jun 2021 06:44:20 GMT Message-Id: <202106300644.15U6iKfJ030346@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guangyuan Yang Subject: git: cee313abc9fc - main - devel/py-backports.zoneinfo: New port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ygy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cee313abc9fcae27bb7017dda9b096732d9dfba4 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2021 06:44:21 -0000 The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=cee313abc9fcae27bb7017dda9b096732d9dfba4 commit cee313abc9fcae27bb7017dda9b096732d9dfba4 Author: rozhuk.im AuthorDate: 2021-06-30 06:44:01 +0000 Commit: Guangyuan Yang 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@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 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