From owner-dev-commits-ports-main@freebsd.org Fri Jul 2 09:27:24 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 2282A66766E; Fri, 2 Jul 2021 09:27:24 +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 4GGV980G3Zz3Q5T; Fri, 2 Jul 2021 09:27:24 +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 E127411A56; Fri, 2 Jul 2021 09:27:23 +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 1629RNG7099774; Fri, 2 Jul 2021 09:27:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1629RNam099773; Fri, 2 Jul 2021 09:27:23 GMT (envelope-from git) Date: Fri, 2 Jul 2021 09:27:23 GMT Message-Id: <202107020927.1629RNam099773@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: 9669d3437973 - main - devel/py-ciso8601: 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: 9669d3437973d2961022efd38edfae4353a75406 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2021 09:27:24 -0000 The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=9669d3437973d2961022efd38edfae4353a75406 commit 9669d3437973d2961022efd38edfae4353a75406 Author: Ivan Rozhuk AuthorDate: 2021-07-02 09:26:40 +0000 Commit: Guangyuan Yang CommitDate: 2021-07-02 09:26:40 +0000 devel/py-ciso8601: New port Fast ISO8601 date time parser for Python written in C. PR: 252072 Approved by: lwhsu (mentor) --- devel/Makefile | 1 + devel/py-ciso8601/Makefile | 16 ++++++++++++++++ devel/py-ciso8601/distinfo | 3 +++ devel/py-ciso8601/pkg-descr | 8 ++++++++ 4 files changed, 28 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 2a303d6e2579..fe91fd1b9869 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4264,6 +4264,7 @@ SUBDIR += py-check-manifest SUBDIR += py-cheetah3 SUBDIR += py-circuits + SUBDIR += py-ciso8601 SUBDIR += py-cld SUBDIR += py-cle SUBDIR += py-cleo diff --git a/devel/py-ciso8601/Makefile b/devel/py-ciso8601/Makefile new file mode 100644 index 000000000000..4de30d2ac9cf --- /dev/null +++ b/devel/py-ciso8601/Makefile @@ -0,0 +1,16 @@ +PORTNAME= ciso8601 +DISTVERSION= 2.1.3 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rozhuk.im@gmail.com +COMMENT= Fast ISO8601 date time parser for Python written in C + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist distutils + +.include diff --git a/devel/py-ciso8601/distinfo b/devel/py-ciso8601/distinfo new file mode 100644 index 000000000000..88aed70b617b --- /dev/null +++ b/devel/py-ciso8601/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1605994961 +SHA256 (ciso8601-2.1.3.tar.gz) = bdbb5b366058b1c87735603b23060962c439ac9be66f1ae91e8c7dbd7d59e262 +SIZE (ciso8601-2.1.3.tar.gz) = 15726 diff --git a/devel/py-ciso8601/pkg-descr b/devel/py-ciso8601/pkg-descr new file mode 100644 index 000000000000..c6203edf22ab --- /dev/null +++ b/devel/py-ciso8601/pkg-descr @@ -0,0 +1,8 @@ +ciso8601 converts ISO 8601 or RFC 3339 date time strings into Python +datetime objects. Since it's written as a C module, it is much faster +than other Python libraries. + +Note: ciso8601 doesn't support the entirety of the ISO 8601 spec, +only a popular subset. + +WWW: https://github.com/closeio/ciso8601