From owner-cvs-ports@FreeBSD.ORG Fri Feb 10 01:49:41 2012 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8188106566B; Fri, 10 Feb 2012 01:49:41 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8CEBF8FC0A; Fri, 10 Feb 2012 01:49:41 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id q1A1nfBT096493; Fri, 10 Feb 2012 01:49:41 GMT (envelope-from sunpoet@repoman.freebsd.org) Received: (from sunpoet@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id q1A1nfqi096492; Fri, 10 Feb 2012 01:49:41 GMT (envelope-from sunpoet) Message-Id: <201202100149.q1A1nfqi096492@repoman.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Fri, 10 Feb 2012 01:49:41 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel/py-isodate Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2012 01:49:41 -0000 sunpoet 2012-02-10 01:49:41 UTC FreeBSD ports repository Added files: devel/py-isodate Makefile distinfo pkg-descr pkg-plist Log: - Add py-isodate 0.4.7 This module implements ISO 8601 date, time and duration parsing. The implementation follows ISO8601:2004 standard, and implements only date/time representations mentioned in the standard. If something is not mentioned there, then it is treated as non existent, and not as an allowed option. For instance, ISO8601:2004 never mentions 2 digit years. So, it is not intended by this module to support 2 digit years. (while it may still be valid as ISO date, because it is not explicitly forbidden.) Another example is, when no time zone information is given for a time, then it should be interpreted as local time, and not UTC. As this module maps ISO 8601 dates/times to standard Python data types, like date, time, datetime and timedelta, it is not possible to convert all possible ISO 8601 dates/times. For instance, dates before 0001-01-01 are not allowed by the Python date and datetime classes. Additionally fractional seconds are limited to microseconds. That means if the parser finds for instance nanoseconds it will round it to microseconds. WWW: http://cheeseshop.python.org/pypi/isodate Revision Changes Path 1.1 +23 -0 ports/devel/py-isodate/Makefile (new) 1.1 +2 -0 ports/devel/py-isodate/distinfo (new) 1.1 +19 -0 ports/devel/py-isodate/pkg-descr (new) 1.1 +50 -0 ports/devel/py-isodate/pkg-plist (new)