From 2c9f05090aa7cb47168c784ef5d7d36d19ffb7f2 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Wed, 23 Dec 2020 11:38:55 +0300 Subject: [PATCH] devel/py-ciso8601: add port https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252072 --- devel/py-ciso8601/Makefile | 18 ++++++++++++++++++ devel/py-ciso8601/distinfo | 3 +++ devel/py-ciso8601/pkg-descr | 9 +++++++++ 3 files changed, 30 insertions(+) create mode 100644 devel/py-ciso8601/Makefile create mode 100644 devel/py-ciso8601/distinfo create mode 100644 devel/py-ciso8601/pkg-descr diff --git a/devel/py-ciso8601/Makefile b/devel/py-ciso8601/Makefile new file mode 100644 index 000000000000..91d711285e81 --- /dev/null +++ b/devel/py-ciso8601/Makefile @@ -0,0 +1,18 @@ +PORTNAME= ciso8601 +PORTVERSION= 2.1.3 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rozhuk.im@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 + +NO_ARCH= yes + +.include 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..4a49069a6498 --- /dev/null +++ b/devel/py-ciso8601/pkg-descr @@ -0,0 +1,9 @@ +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