Thu Dec 6 19:25:34 2018 UTC ()
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
(adam)
diff -r1.179 -r1.180 pkgsrc/time/Makefile
diff -r0 -r1.1 pkgsrc/time/py-aniso8601/DESCR
diff -r0 -r1.1 pkgsrc/time/py-aniso8601/Makefile
diff -r0 -r1.1 pkgsrc/time/py-aniso8601/PLIST
diff -r0 -r1.1 pkgsrc/time/py-aniso8601/distinfo
--- pkgsrc/time/Makefile 2018/09/15 15:15:07 1.179
+++ pkgsrc/time/Makefile 2018/12/06 19:25:33 1.180
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.179 2018/09/15 15:15:07 khorben Exp $ | | 1 | # $NetBSD: Makefile,v 1.180 2018/12/06 19:25:33 adam Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= Clocks, calendars, daily planners and other time related applications | | 4 | COMMENT= Clocks, calendars, daily planners and other time related applications |
5 | | | 5 | |
6 | SUBDIR+= R-timeDate | | 6 | SUBDIR+= R-timeDate |
7 | SUBDIR+= abclock | | 7 | SUBDIR+= abclock |
8 | SUBDIR+= anacron | | 8 | SUBDIR+= anacron |
9 | SUBDIR+= asclock | | 9 | SUBDIR+= asclock |
10 | SUBDIR+= asclock-gtk | | 10 | SUBDIR+= asclock-gtk |
11 | SUBDIR+= asclock-xlib | | 11 | SUBDIR+= asclock-xlib |
12 | SUBDIR+= bbdate | | 12 | SUBDIR+= bbdate |
13 | SUBDIR+= cairo-clock | | 13 | SUBDIR+= cairo-clock |
14 | SUBDIR+= cal | | 14 | SUBDIR+= cal |
| @@ -119,26 +119,27 @@ SUBDIR+= p5-Time-Warp | | | @@ -119,26 +119,27 @@ SUBDIR+= p5-Time-Warp |
119 | SUBDIR+= p5-Time-modules | | 119 | SUBDIR+= p5-Time-modules |
120 | SUBDIR+= p5-TimeDate | | 120 | SUBDIR+= p5-TimeDate |
121 | SUBDIR+= pcal | | 121 | SUBDIR+= pcal |
122 | SUBDIR+= pclock | | 122 | SUBDIR+= pclock |
123 | SUBDIR+= pear-Date | | 123 | SUBDIR+= pear-Date |
124 | SUBDIR+= phoon | | 124 | SUBDIR+= phoon |
125 | SUBDIR+= php-calendar | | 125 | SUBDIR+= php-calendar |
126 | SUBDIR+= php-mrbs | | 126 | SUBDIR+= php-mrbs |
127 | SUBDIR+= plan | | 127 | SUBDIR+= plan |
128 | SUBDIR+= planner | | 128 | SUBDIR+= planner |
129 | SUBDIR+= polclock | | 129 | SUBDIR+= polclock |
130 | SUBDIR+= projclock | | 130 | SUBDIR+= projclock |
131 | SUBDIR+= projectlibre | | 131 | SUBDIR+= projectlibre |
| | | 132 | SUBDIR+= py-aniso8601 |
132 | SUBDIR+= py-arrow | | 133 | SUBDIR+= py-arrow |
133 | SUBDIR+= py-dateparser | | 134 | SUBDIR+= py-dateparser |
134 | SUBDIR+= py-dateutil | | 135 | SUBDIR+= py-dateutil |
135 | SUBDIR+= py-goocalendar | | 136 | SUBDIR+= py-goocalendar |
136 | SUBDIR+= py-icalendar | | 137 | SUBDIR+= py-icalendar |
137 | SUBDIR+= py-iso8601 | | 138 | SUBDIR+= py-iso8601 |
138 | SUBDIR+= py-isodate | | 139 | SUBDIR+= py-isodate |
139 | SUBDIR+= py-jdcal | | 140 | SUBDIR+= py-jdcal |
140 | SUBDIR+= py-jinja2-time | | 141 | SUBDIR+= py-jinja2-time |
141 | SUBDIR+= py-jrnl | | 142 | SUBDIR+= py-jrnl |
142 | SUBDIR+= py-ligotimegps | | 143 | SUBDIR+= py-ligotimegps |
143 | SUBDIR+= py-maya | | 144 | SUBDIR+= py-maya |
144 | SUBDIR+= py-monotonic | | 145 | SUBDIR+= py-monotonic |
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
# $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
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"
@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
$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