[Midnightbsd-cvs] mports [21706] trunk/devel: add py-iso8601

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Aug 17 22:23:48 EDT 2016


Revision: 21706
          http://svnweb.midnightbsd.org/mports/?rev=21706
Author:   laffer1
Date:     2016-08-17 22:23:48 -0400 (Wed, 17 Aug 2016)
Log Message:
-----------
add py-iso8601

Modified Paths:
--------------
    trunk/devel/Makefile

Added Paths:
-----------
    trunk/devel/py-iso8601/
    trunk/devel/py-iso8601/Makefile
    trunk/devel/py-iso8601/distinfo
    trunk/devel/py-iso8601/pkg-descr

Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile	2016-08-18 02:22:09 UTC (rev 21705)
+++ trunk/devel/Makefile	2016-08-18 02:23:48 UTC (rev 21706)
@@ -431,6 +431,7 @@
 SUBDIR += py-gobject3
 SUBDIR += py-gyp-devel
 SUBDIR += py-jmespath
+SUBDIR += py-iso8601
 SUBDIR += py-isodate
 SUBDIR += py-lxml
 SUBDIR += py-notify

Added: trunk/devel/py-iso8601/Makefile
===================================================================
--- trunk/devel/py-iso8601/Makefile	                        (rev 0)
+++ trunk/devel/py-iso8601/Makefile	2016-08-18 02:23:48 UTC (rev 21706)
@@ -0,0 +1,27 @@
+# Created by: Kubilay Kocak <koobs at FreeBSD.org>
+# $FreeBSD: head/devel/py-iso8601/Makefile 412346 2016-04-01 14:00:51Z mat $
+# $MidnightBSD$
+
+PORTNAME=	iso8601
+PORTVERSION=	0.1.11
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	porst at MidnightBSD.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
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest iso8601
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/py-iso8601/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-iso8601/distinfo
===================================================================
--- trunk/devel/py-iso8601/distinfo	                        (rev 0)
+++ trunk/devel/py-iso8601/distinfo	2016-08-18 02:23:48 UTC (rev 21706)
@@ -0,0 +1,2 @@
+SHA256 (iso8601-0.1.11.tar.gz) = e8fb52f78880ae063336c94eb5b87b181e6a0cc33a6c008511bac9a6e980ef30
+SIZE (iso8601-0.1.11.tar.gz) = 8725


Property changes on: trunk/devel/py-iso8601/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-iso8601/pkg-descr
===================================================================
--- trunk/devel/py-iso8601/pkg-descr	                        (rev 0)
+++ trunk/devel/py-iso8601/pkg-descr	2016-08-18 02:23:48 UTC (rev 21706)
@@ -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


Property changes on: trunk/devel/py-iso8601/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list