From owner-svn-ports-all@freebsd.org Thu Mar 29 23:23:01 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE522F53DC1; Thu, 29 Mar 2018 23:23:00 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6EE226A74C; Thu, 29 Mar 2018 23:23:00 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 69CDF20BF0; Thu, 29 Mar 2018 23:23:00 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2TNN0I8099708; Thu, 29 Mar 2018 23:23:00 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2TNMxum099699; Thu, 29 Mar 2018 23:22:59 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201803292322.w2TNMxum099699@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Thu, 29 Mar 2018 23:22:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465937 - in head/devel: . py-strict-rfc3339 X-SVN-Group: ports-head X-SVN-Commit-Author: cpm X-SVN-Commit-Paths: in head/devel: . py-strict-rfc3339 X-SVN-Commit-Revision: 465937 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2018 23:23:01 -0000 Author: cpm Date: Thu Mar 29 23:22:59 2018 New Revision: 465937 URL: https://svnweb.freebsd.org/changeset/ports/465937 Log: Add new port devel/py-strict-rfc3339: Strict, simple, lightweight RFC3339 functions Simple and lightweight python module to validate, parse and generate RFC3339 time strings. It was initially created as a part of habitat in response to difficulty using other libraries. It can convert UNIX timestamps to and from RFC3339, either producing strings with a UTC offset (Z) or with the offset that the C time module reports is the local timezone offset. It has minimal dependencies (none beyond those that come with Python) and avoids the error-prone act of dealing with timezones as much as possible. Besides that, it's designed to be strict and stick closely to RFC3339, with a couple of very small caveats. It's also fully unit tested. WWW: http://www.danielrichman.co.uk/libraries/strict-rfc3339.html PR: 227031 Submitted by: Kai Added: head/devel/py-strict-rfc3339/ head/devel/py-strict-rfc3339/Makefile (contents, props changed) head/devel/py-strict-rfc3339/distinfo (contents, props changed) head/devel/py-strict-rfc3339/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Mar 29 23:15:20 2018 (r465936) +++ head/devel/Makefile Thu Mar 29 23:22:59 2018 (r465937) @@ -4947,6 +4947,7 @@ SUBDIR += py-stopit SUBDIR += py-strategies SUBDIR += py-streamparse + SUBDIR += py-strict-rfc3339 SUBDIR += py-structlog SUBDIR += py-stsci.distutils SUBDIR += py-subprocess32 Added: head/devel/py-strict-rfc3339/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-strict-rfc3339/Makefile Thu Mar 29 23:22:59 2018 (r465937) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= strict-rfc3339 +DISTVERSION= 0.7 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= freebsd_ports@k-worx.org +COMMENT= Strict, simple, lightweight RFC3339 functions + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= distutils autoplist +NO_ARCH= yes + +.include Added: head/devel/py-strict-rfc3339/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-strict-rfc3339/distinfo Thu Mar 29 23:22:59 2018 (r465937) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522234422 +SHA256 (strict-rfc3339-0.7.tar.gz) = 5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277 +SIZE (strict-rfc3339-0.7.tar.gz) = 17552 Added: head/devel/py-strict-rfc3339/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-strict-rfc3339/pkg-descr Thu Mar 29 23:22:59 2018 (r465937) @@ -0,0 +1,14 @@ +Simple and lightweight python module to validate, parse and generate RFC3339 +time strings. It was initially created as a part of habitat in response to +difficulty using other libraries. + +It can convert UNIX timestamps to and from RFC3339, either producing strings +with a UTC offset (Z) or with the offset that the C time module reports is +the local timezone offset. It has minimal dependencies (none beyond those +that come with Python) and avoids the error-prone act of dealing with +timezones as much as possible. + +Besides that, it's designed to be strict and stick closely to RFC3339, with a +couple of very small caveats. It's also fully unit tested. + +WWW: http://www.danielrichman.co.uk/libraries/strict-rfc3339.html