From owner-svn-ports-all@FreeBSD.ORG Mon Jul 14 04:41:23 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E4C9AFC; Mon, 14 Jul 2014 04:41:23 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E7872A20; Mon, 14 Jul 2014 04:41:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6E4fNxV018664; Mon, 14 Jul 2014 04:41:23 GMT (envelope-from koobs@svn.freebsd.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6E4fMdf018660; Mon, 14 Jul 2014 04:41:22 GMT (envelope-from koobs@svn.freebsd.org) Message-Id: <201407140441.s6E4fMdf018660@svn.freebsd.org> From: Kubilay Kocak Date: Mon, 14 Jul 2014 04:41:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361734 - in head/devel: . py-iso8601 X-SVN-Group: ports-head 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.18 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: Mon, 14 Jul 2014 04:41:23 -0000 Author: koobs Date: Mon Jul 14 04:41:22 2014 New Revision: 361734 URL: http://svnweb.freebsd.org/changeset/ports/361734 QAT: https://qat.redports.org/buildarchive/r361734/ Log: [NEW] devel/py-iso8601: Simple module to parse ISO 8601 dates This module parses the most common forms of ISO 8601 date strings (e.g. 2007-01-14T20:34:22+00:00) into datetime objects. You can parse full date + times, or just the date. In both cases a datetime instance is returned but with missing times defaulting to 0, and missing days / months defaulting to 1. WWW: https://bitbucket.org/micktwomey/pyiso8601 Added: head/devel/py-iso8601/ head/devel/py-iso8601/Makefile (contents, props changed) head/devel/py-iso8601/distinfo (contents, props changed) head/devel/py-iso8601/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jul 14 03:56:14 2014 (r361733) +++ head/devel/Makefile Mon Jul 14 04:41:22 2014 (r361734) @@ -3688,6 +3688,7 @@ SUBDIR += py-interface SUBDIR += py-ipaddr SUBDIR += py-ipdb + SUBDIR += py-iso8601 SUBDIR += py-isodate SUBDIR += py-iterpipes SUBDIR += py-itools Added: head/devel/py-iso8601/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-iso8601/Makefile Mon Jul 14 04:41:22 2014 (r361734) @@ -0,0 +1,30 @@ +# Created by: Kubilay Kocak +# $FreeBSD$ + +PORTNAME= iso8601 +PORTVERSION= 0.1.10 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= Simple module to parse ISO 8601 dates + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.4.2:${PORTSDIR}/devel/py-pytest + +OPTIONS_DEFINE= TESTS + +TESTS_DESC= Install tools to run test suite +TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + +regression-test: extract + @cd ${WRKSRC} && py.test + +.include Added: head/devel/py-iso8601/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-iso8601/distinfo Mon Jul 14 04:41:22 2014 (r361734) @@ -0,0 +1,2 @@ +SHA256 (iso8601-0.1.10.tar.gz) = e712ff3a18604833f5073e836aad795b21170b19bbef70947c441ed89d0ac0e1 +SIZE (iso8601-0.1.10.tar.gz) = 8405 Added: head/devel/py-iso8601/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-iso8601/pkg-descr Mon Jul 14 04:41:22 2014 (r361734) @@ -0,0 +1,8 @@ +This module parses the most common forms of ISO 8601 date strings +(e.g. 2007-01-14T20:34:22+00:00) into datetime objects. + +You can parse full date + times, or just the date. In both cases a datetime +instance is returned but with missing times defaulting to 0, and missing +days / months defaulting to 1. + +WWW: https://bitbucket.org/micktwomey/pyiso8601