Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 04:41:22 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361734 - in head/devel: . py-iso8601
Message-ID:  <201407140441.s6E4fMdf018660@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <koobs@FreeBSD.org>
+# $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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407140441.s6E4fMdf018660>