svn commit: r465937 - in head/devel: . py-strict-rfc3339
Carlos J. Puga Medina
cpm at FreeBSD.org
Thu Mar 29 23:23:01 UTC 2018
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 <freebsd_ports at k-worx.org>
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 at 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 <bsd.port.mk>
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
More information about the svn-ports-all
mailing list