git: 9669d3437973 - main - devel/py-ciso8601: New port
Guangyuan Yang
ygy at FreeBSD.org
Fri Jul 2 09:27:24 UTC 2021
The branch main has been updated by ygy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9669d3437973d2961022efd38edfae4353a75406
commit 9669d3437973d2961022efd38edfae4353a75406
Author: Ivan Rozhuk <rozhuk.im at gmail.com>
AuthorDate: 2021-07-02 09:26:40 +0000
Commit: Guangyuan Yang <ygy at FreeBSD.org>
CommitDate: 2021-07-02 09:26:40 +0000
devel/py-ciso8601: New port
Fast ISO8601 date time parser for Python written in C.
PR: 252072
Approved by: lwhsu (mentor)
---
devel/Makefile | 1 +
devel/py-ciso8601/Makefile | 16 ++++++++++++++++
devel/py-ciso8601/distinfo | 3 +++
devel/py-ciso8601/pkg-descr | 8 ++++++++
4 files changed, 28 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 2a303d6e2579..fe91fd1b9869 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4264,6 +4264,7 @@
SUBDIR += py-check-manifest
SUBDIR += py-cheetah3
SUBDIR += py-circuits
+ SUBDIR += py-ciso8601
SUBDIR += py-cld
SUBDIR += py-cle
SUBDIR += py-cleo
diff --git a/devel/py-ciso8601/Makefile b/devel/py-ciso8601/Makefile
new file mode 100644
index 000000000000..4de30d2ac9cf
--- /dev/null
+++ b/devel/py-ciso8601/Makefile
@@ -0,0 +1,16 @@
+PORTNAME= ciso8601
+DISTVERSION= 2.1.3
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= rozhuk.im at gmail.com
+COMMENT= Fast ISO8601 date time parser for Python written in C
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-ciso8601/distinfo b/devel/py-ciso8601/distinfo
new file mode 100644
index 000000000000..88aed70b617b
--- /dev/null
+++ b/devel/py-ciso8601/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1605994961
+SHA256 (ciso8601-2.1.3.tar.gz) = bdbb5b366058b1c87735603b23060962c439ac9be66f1ae91e8c7dbd7d59e262
+SIZE (ciso8601-2.1.3.tar.gz) = 15726
diff --git a/devel/py-ciso8601/pkg-descr b/devel/py-ciso8601/pkg-descr
new file mode 100644
index 000000000000..c6203edf22ab
--- /dev/null
+++ b/devel/py-ciso8601/pkg-descr
@@ -0,0 +1,8 @@
+ciso8601 converts ISO 8601 or RFC 3339 date time strings into Python
+datetime objects. Since it's written as a C module, it is much faster
+than other Python libraries.
+
+Note: ciso8601 doesn't support the entirety of the ISO 8601 spec,
+only a popular subset.
+
+WWW: https://github.com/closeio/ciso8601
More information about the dev-commits-ports-all
mailing list