summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-05-23 08:22:40 +0000
committeradam <adam@pkgsrc.org>2020-05-23 08:22:40 +0000
commit94c4963795763c5564cf13563e38931de339c0a0 (patch)
treee4389e5b3b071f7b820d4fe3b95d3a58cea76426 /time
parent8522ba848b749847ad34428df3160b93dcb091d5 (diff)
downloadpkgsrc-94c4963795763c5564cf13563e38931de339c0a0.tar.gz
py-ciso8601: added version 2.1.3
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.
Diffstat (limited to 'time')
-rw-r--r--time/Makefile3
-rw-r--r--time/py-ciso8601/DESCR3
-rw-r--r--time/py-ciso8601/Makefile16
-rw-r--r--time/py-ciso8601/PLIST8
-rw-r--r--time/py-ciso8601/distinfo6
5 files changed, 35 insertions, 1 deletions
diff --git a/time/Makefile b/time/Makefile
index d1a389bc89f..0b288ee844f 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.204 2020/05/22 01:58:50 markd Exp $
+# $NetBSD: Makefile,v 1.205 2020/05/23 08:22:40 adam Exp $
#
COMMENT= Clocks, calendars, daily planners and other time related applications
@@ -137,6 +137,7 @@ SUBDIR+= projclock
SUBDIR+= projectlibre
SUBDIR+= py-aniso8601
SUBDIR+= py-arrow
+SUBDIR+= py-ciso8601
SUBDIR+= py-dateparser
SUBDIR+= py-dateutil
SUBDIR+= py-goocalendar
diff --git a/time/py-ciso8601/DESCR b/time/py-ciso8601/DESCR
new file mode 100644
index 00000000000..96c55f4f9f4
--- /dev/null
+++ b/time/py-ciso8601/DESCR
@@ -0,0 +1,3 @@
+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.
diff --git a/time/py-ciso8601/Makefile b/time/py-ciso8601/Makefile
new file mode 100644
index 00000000000..20ae54ba299
--- /dev/null
+++ b/time/py-ciso8601/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/05/23 08:22:40 adam Exp $
+
+DISTNAME= ciso8601-2.1.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= time python
+MASTER_SITES= ${MASTER_SITE_PYPI:=c/ciso8601/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/closeio/ciso8601
+COMMENT= Fast ISO8601 date time parser for Python written in C
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/py-ciso8601/PLIST b/time/py-ciso8601/PLIST
new file mode 100644
index 00000000000..5590ff828f7
--- /dev/null
+++ b/time/py-ciso8601/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/23 08:22:40 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/ciso8601.so
+${PYSITELIB}/ciso8601/__init__.pyi
+${PYSITELIB}/ciso8601/py.typed
diff --git a/time/py-ciso8601/distinfo b/time/py-ciso8601/distinfo
new file mode 100644
index 00000000000..155e80e0ee5
--- /dev/null
+++ b/time/py-ciso8601/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/05/23 08:22:40 adam Exp $
+
+SHA1 (ciso8601-2.1.3.tar.gz) = 8c6b2cdcb5c684aa9b40fd3cd26c270745515424
+RMD160 (ciso8601-2.1.3.tar.gz) = e5c1b0e2455063de2577d955e63ce177e70190e0
+SHA512 (ciso8601-2.1.3.tar.gz) = 9342cf9b2ded1077a2c3906527ae4ac05dfc0e8104f1c85e041d636caa1180df390f01b2d87a33a4c197f4467a25bda1cd0136eb48585b127662cde7d0ffda7e
+Size (ciso8601-2.1.3.tar.gz) = 15726 bytes