pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/time



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Dec  6 19:25:34 UTC 2018

Modified Files:
        pkgsrc/time: Makefile
Added Files:
        pkgsrc/time/py-aniso8601: DESCR Makefile PLIST distinfo

Log Message:
py-aniso8601: added version 4.0.1

Library for parsing ISO 8601 strings

Features
* Pure Python implementation
* Python 3 support
* Logical behavior
  - Parse a time, get a datetime.time
  - Parse a date, get a datetime.date
  - Parse a datetime, get a datetime.datetime
  - Parse a duration, get a datetime.timedelta
  - Parse an interval, get a tuple of dates or datetimes
  - Parse a repeating interval, get a date or datetime generator
* UTC offset represented as fixed-offset tzinfo
* Parser separate from representation, allowing parsing to different datetime
  formats
* No regular expressions


To generate a diff of this commit:
cvs rdiff -u -r1.179 -r1.180 pkgsrc/time/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/time/py-aniso8601/DESCR \
    pkgsrc/time/py-aniso8601/Makefile pkgsrc/time/py-aniso8601/PLIST \
    pkgsrc/time/py-aniso8601/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/Makefile
diff -u pkgsrc/time/Makefile:1.179 pkgsrc/time/Makefile:1.180
--- pkgsrc/time/Makefile:1.179  Sat Sep 15 15:15:07 2018
+++ pkgsrc/time/Makefile        Thu Dec  6 19:25:33 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.179 2018/09/15 15:15:07 khorben Exp $
+# $NetBSD: Makefile,v 1.180 2018/12/06 19:25:33 adam Exp $
 #
 
 COMMENT=       Clocks, calendars, daily planners and other time related applications
@@ -129,6 +129,7 @@ SUBDIR+=    planner
 SUBDIR+=       polclock
 SUBDIR+=       projclock
 SUBDIR+=       projectlibre
+SUBDIR+=       py-aniso8601
 SUBDIR+=       py-arrow
 SUBDIR+=       py-dateparser
 SUBDIR+=       py-dateutil

Added files:

Index: pkgsrc/time/py-aniso8601/DESCR
diff -u /dev/null pkgsrc/time/py-aniso8601/DESCR:1.1
--- /dev/null   Thu Dec  6 19:25:34 2018
+++ pkgsrc/time/py-aniso8601/DESCR      Thu Dec  6 19:25:34 2018
@@ -0,0 +1,16 @@
+Library for parsing ISO 8601 strings
+
+Features
+* Pure Python implementation
+* Python 3 support
+* Logical behavior
+  - Parse a time, get a datetime.time
+  - Parse a date, get a datetime.date
+  - Parse a datetime, get a datetime.datetime
+  - Parse a duration, get a datetime.timedelta
+  - Parse an interval, get a tuple of dates or datetimes
+  - Parse a repeating interval, get a date or datetime generator
+* UTC offset represented as fixed-offset tzinfo
+* Parser separate from representation, allowing parsing to different datetime
+  formats
+* No regular expressions
Index: pkgsrc/time/py-aniso8601/Makefile
diff -u /dev/null pkgsrc/time/py-aniso8601/Makefile:1.1
--- /dev/null   Thu Dec  6 19:25:34 2018
+++ pkgsrc/time/py-aniso8601/Makefile   Thu Dec  6 19:25:34 2018
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2018/12/06 19:25:34 adam Exp $
+
+DISTNAME=      aniso8601-4.0.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    time python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aniso8601/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://bitbucet.org/nielsenb/aniso8601
+COMMENT=       Library for parsing ISO 8601 strings
+LICENSE=       modified-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-dateutil>=2.6.1:../../time/py-dateutil
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
+
+USE_LANGUAGES= # none
+
+do-test:
+       cd ${WRKSRC}/aniso8601/tests && ${PYTHONBIN} -m unittest discover -v
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/time/py-aniso8601/PLIST
diff -u /dev/null pkgsrc/time/py-aniso8601/PLIST:1.1
--- /dev/null   Thu Dec  6 19:25:34 2018
+++ pkgsrc/time/py-aniso8601/PLIST      Thu Dec  6 19:25:34 2018
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1 2018/12/06 19:25:34 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/aniso8601/__init__.py
+${PYSITELIB}/aniso8601/__init__.pyc
+${PYSITELIB}/aniso8601/__init__.pyo
+${PYSITELIB}/aniso8601/builder.py
+${PYSITELIB}/aniso8601/builder.pyc
+${PYSITELIB}/aniso8601/builder.pyo
+${PYSITELIB}/aniso8601/compat.py
+${PYSITELIB}/aniso8601/compat.pyc
+${PYSITELIB}/aniso8601/compat.pyo
+${PYSITELIB}/aniso8601/date.py
+${PYSITELIB}/aniso8601/date.pyc
+${PYSITELIB}/aniso8601/date.pyo
+${PYSITELIB}/aniso8601/duration.py
+${PYSITELIB}/aniso8601/duration.pyc
+${PYSITELIB}/aniso8601/duration.pyo
+${PYSITELIB}/aniso8601/exceptions.py
+${PYSITELIB}/aniso8601/exceptions.pyc
+${PYSITELIB}/aniso8601/exceptions.pyo
+${PYSITELIB}/aniso8601/interval.py
+${PYSITELIB}/aniso8601/interval.pyc
+${PYSITELIB}/aniso8601/interval.pyo
+${PYSITELIB}/aniso8601/resolution.py
+${PYSITELIB}/aniso8601/resolution.pyc
+${PYSITELIB}/aniso8601/resolution.pyo
+${PYSITELIB}/aniso8601/time.py
+${PYSITELIB}/aniso8601/time.pyc
+${PYSITELIB}/aniso8601/time.pyo
+${PYSITELIB}/aniso8601/timezone.py
+${PYSITELIB}/aniso8601/timezone.pyc
+${PYSITELIB}/aniso8601/timezone.pyo
Index: pkgsrc/time/py-aniso8601/distinfo
diff -u /dev/null pkgsrc/time/py-aniso8601/distinfo:1.1
--- /dev/null   Thu Dec  6 19:25:34 2018
+++ pkgsrc/time/py-aniso8601/distinfo   Thu Dec  6 19:25:34 2018
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/12/06 19:25:34 adam Exp $
+
+SHA1 (aniso8601-4.0.1.tar.gz) = 7a15052f386aa1c74f415570c694645282fc5ad0
+RMD160 (aniso8601-4.0.1.tar.gz) = b5dc34f4c3f2342a6a1b035cdcc6eb4582cfc87e
+SHA512 (aniso8601-4.0.1.tar.gz) = 5638ebf82a1a1aceee866eb17e8e4b5c8023961a9e31ce3e12123b89dba0ea0924e10a6aa458c838fcfdb72b94af4e81b3e9e8805cb534a1eccaf5a51f2026c9
+Size (aniso8601-4.0.1.tar.gz) = 109849 bytes



Home | Main Index | Thread Index | Old Index